bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 1293 in lilypond: lilypond-book should use "quote" environment of


From: lilypond
Subject: Issue 1293 in lilypond: lilypond-book should use "quote" environment of LaTeX (instead of "quotation")
Date: Mon, 04 Oct 2010 14:38:12 +0000

Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 1293 by brownian.box: lilypond-book should use "quote" environment of LaTeX (instead of "quotation")
http://code.google.com/p/lilypond/issues/detail?id=1293

Reported by ncdallmann,
http://lists.gnu.org/archive/html/bug-lilypond/2010-09/msg00471.html

%-----------------8<------------------------
I always get a bad layout using the quote option, because it uses the 'quotation' environment in LaTex, which implies an indention of the first line in LaTex. This causes in all my documents and in a 'clean' example, the first line of my lilypond-examples to be indented without adjusting the line-length. But Lilypond should set the indentation, not LaTex. So I think using \begin{quotation} ... \end{quotation} is a bad choice. In my opinion the quote environment should use \begin{quote} ... \end{quote}.
%-----------------8<------------------------


Original example:

%-----------------8<------------------------
\documentclass[a4paper]{article}
\begin{document}
\begin[quote]{lilypond}
{
c'4 d' e' f'
g' a' b' c''
d'' e'' f'' g''
a'' b'' c'''2
c'''4 b'' a'' g''
f'' e'' d'' c''
b' a' g' f'
e' d' c'2
}
\end{lilypond}
\end{document}
%-----------------8<------------------------

I've attached proposed change (as a diff) and two images.

Attachments:
        book_latex.py.diff  369 bytes
        test-quotation.png  11.3 KB
        test-quote.png  11.3 KB




reply via email to

[Prev in Thread] Current Thread [Next in Thread]