lilypond-user
[Top][All Lists]
Advanced

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

Re: Question about text formatting: hard line breaks?


From: Leo Correia de Verdier
Subject: Re: Question about text formatting: hard line breaks?
Date: Tue, 24 Jan 2023 13:04:00 +0100

If you can use \wordwrap-string you can use \n for hard breaks. This doesn’t 
seem to work with \wordwrap though...

> 24 jan. 2023 kl. 01:14 skrev Alasdair McAndrew <amca01@gmail.com>:
> 
> Hello,
> 
> I have a paragraph of descriptive text that I'd like to display in a box.  
> Currently I have:
> 
> \markup \small \box \wordwrap {
>    .... several lines of text here ...
> }
> 
> This works quite well, except that I'd like to modify some of the line 
> breaks.  I could probably do this by either specifying the text as a list of 
> lines (which I'm not sure how to do: that is, a list of lines all surrounded 
> by a single box).
> 
> But in fact it would be easier to simply insert a "hard break" in the text 
> where I want it.  Is this possible?  I know how to add a break to a score, 
> but I can't find if there's an equivalent for text.
> 
> And where would I go looking for this - where can I find a comprehensive list 
> of all text commands accepted by lilypond?
> 
> Many thanks,
> Alasdair
> 
> -- 
> Alasdair McAndrew (he/him)
> mob: 0432 854 858
> 
> https://numbersandshapes.net




reply via email to

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