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: Jacques Menu
Subject: Re: tips for formatting an interview
Date: Sun, 15 Nov 2015 08:21:17 +0100

Hello Federico,

How about:

\markup {
  \hspace #8
  \column {
    \override-lines #'(line-width . 30)
    \wordwrap-lines
    {
      Lorem ipsum dolor sit amet, consec tetur adipisi cing elit, sed do eiu 
smod tempor
    }
  }

  \hspace #5

  \column \italic {
    \override-lines #'(line-width . 30)
    \wordwrap-lines
    {
      Duis aute irure dolor in rep rehende rit in volup tate velit esse cillum 
dolore eu
      Duis aute irure dolor in rep rehende rit in volup tate velit esse cillum 
dolore eu
    }
  }
  \hspace #1
}

JM

> Le 14 nov. 2015 à 15:22, Federico Bruni <address@hidden> a écrit :
> 
> 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.
> }
> }
> 
> 
> 
> 
> _______________________________________________
> 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]