lilypond-user
[Top][All Lists]
Advanced

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

Re: wordwrap inside markuplines?


From: Reinhold Kainhofer
Subject: Re: wordwrap inside markuplines?
Date: Tue, 24 Jun 2008 21:35:27 +0200
User-agent: KMail/1.9.9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 24. Juni 2008 schrieb Kieren MacMillan:
> Hi Reinhold,
>
> > Are you sure you don't want to use \wordwrap-lines here?
>
> Looks like I should... but
>
>       \markuplines \wordwrap-lines \fontsize #-2
>       {
>               \line { [TANTALUS and PELOPS are whispering loudly.] }
>               \line { \italic { "PELOPS: " } Father, I must speak with you in
> confidence. }
>               \line { \italic { "TANTALUS: " } Yes? }
>       }
>
> doesn't give me what I want. What am I doing wrong?

Here you really need to use \column-lines...

The idea behind the whole markuplines construction is:

- -) \markuplines takes a list of lines and prints them out
- -) \column-lines tells lilypond to interpret its contents as lines.

- -) \wordwrap-lines, on the other hand, simply takes its concatenated 
contents, 
calculates wordwraps and returns a list of word-wrapped lines. Thus any \line 
inside \wordwrap-lines won't have any effect.

So, basically, each \markuplines should typically be followed by 
\column-lines, and the contents of \column-lines should either be individual 
lines or lists of lines generated by \wordwrap-lines, \justified-lines and 
the like.

Cheers,
Reinhold


- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIYUyCTqjEwhXvPN0RAnlPAKCClj5SCW/R63dSQ2lsg6+HicKRUwCgmGS6
ufHPhGXtkxNAzrdwvrZyl5o=
=ihiF
-----END PGP SIGNATURE-----




reply via email to

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