lilypond-user
[Top][All Lists]
Advanced

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

Re: tips for formatting an interview


From: Simon Albrecht
Subject: Re: tips for formatting an interview
Date: Sun, 15 Nov 2015 03:17:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 14.11.2015 15:22, Federico Bruni wrote:
Hi all

I'm trying to format directly in LilyPond an interview (the single text only part of a book). I don't want to use lilypond-book and LaTeX just because of this minor part of the book.

I've two questions:

1) There's any way to place the text on two columns AND let LilyPond reflow it depending on the available space on the page? The documentation contains an example where you must decide in advance what goes into column left and what into column right. I'd like to avoid this.

No, Lily can’t currently typeset in multiple columns. I’m surprised to see that there is no feature request in the tracker. This should be available both as a paper variable (say \paper { columns = 2 }) and as a markup command/markup list command(?).



2) I'm trying to create a shortcut for formatting the question and the answer. I wonder if the new \etc can be used for this purpose or should I rather create a markup function.

IIUC, \etc can only be used for music functions (at least until now… :-)). So you need a custom markup or markup list command.

Yours, Simon

I've tried the following but it fails immediately when it evaluates the definitions:

\version "2.19.31"

question = \markuplist \justified-lines \bold \etc
answer = \markuplist \justified-lines \etc

\markuplist {
 \justified-lines \bold {
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
   culpa qui officia deserunt mollit anim id est laborum.
 }
 \justified-lines {
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
   culpa qui officia deserunt mollit anim id est laborum.
 }
}




_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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