lilypond-user
[Top][All Lists]
Advanced

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

tips for formatting an interview


From: Federico Bruni
Subject: tips for formatting an interview
Date: Sat, 14 Nov 2015 15:22:51 +0100

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.


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. 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.
 }
}






reply via email to

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