lilypond-user
[Top][All Lists]
Advanced

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

Re: Unbreakable space in markup


From: Wilbert Berendsen
Subject: Re: Unbreakable space in markup
Date: Tue, 8 Feb 2011 14:29:20 +0100
User-agent: KMail/1.13.5 (Linux/2.6.32-28-generic; KDE/4.5.0; i686; ; )

Op dinsdag 08 februari 2011 schreef Jakub:

> is it possible to make an unbreakable space in multi-line top-level markup?
> Some languages (including Czech) prohibit e.g. prepositions at the end of
> line - and I haven't been able to adjust line-breaking in these and
> similar cases.

In the UTF-8 encoding Lilypond uses it is possible to just type the 
unbreakable space in your editor, if your editor permits (some editors use 
e.g. Ctrl+Shift+Space).

Otherwise you can use \markup \char :

\markup {
  \override #'(line-width . 30)
  \wordwrap {
    a c  ffg dfg dfg gdf d f
    \concat { Hi \char #160 there! }
    bla bla
  }
}



best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/



reply via email to

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