]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix 1293: Use quote env in latex instead of quotation
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 3 Sep 2011 10:52:34 +0000 (12:52 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 3 Sep 2011 10:52:34 +0000 (12:52 +0200)
The quotation environment is meant for larger quotations, and it adds an indent for the first line of each paragraph, which we definitely don't want to have in lilypond-book snippets...

python/book_latex.py

index fbf98e66bf7fd8af28ffa2eccf6df4fec82d94f0..c94240cd54e2b3dc783a7b65b8e93d7ae5718e61 100644 (file)
@@ -134,9 +134,9 @@ Latex_output = {
     PRINTFILENAME: '''\\texttt{%(filename)s}
 ''',
 
-    QUOTE: r'''\begin{quotation}
+    QUOTE: r'''\begin{quote}
 %(str)s
-\end{quotation}''',
+\end{quote}''',
 
     VERBATIM: r'''\noindent
 \begin{verbatim}%(verb)s\end{verbatim}