automatic line-breaking in markup

2016-02-03 Thread Jonathan Scholbach
Hi list, I want to create a template for a cover page. I do that by redefining bookTitleMarkup. The title of the piece is stored as string in a variable and I want to print it relatively tall on the cover page. It works. But sadly when the title is too long it runs off the page, because LilyPond d

Re: automatic line-breaking in markup

2016-02-03 Thread tisimst
-user mailing list > [hidden email] <http:///user/SendEmail.jtp?type=node&node=186810&i=0> > https://lists.gnu.org/mailman/listinfo/lilypond-user > > > ---------- > If you reply to this email, your message will be added to the discussion > below: > > http://lilypond.10

Re: automatic line-breaking in markup

2016-02-03 Thread Simon Albrecht
On 03.02.2016 19:24, Jonathan Scholbach wrote: I want to create a template for a cover page. I do that by redefining bookTitleMarkup. The title of the piece is stored as string in a variable If there’s no particular need for that, I’d use a normal header block and \fromproperty. and I want

Re: automatic line-breaking in markup

2016-02-03 Thread Thomas Morley
2016-02-03 19:40 GMT+01:00 Simon Albrecht : > On 03.02.2016 19:24, Jonathan Scholbach wrote: >> >> I want to create a template for a cover page. I do that by redefining >> bookTitleMarkup. The title of the piece is stored as string in a variable > > > If there’s no particular need for that, I’d use

Re: automatic line-breaking in markup

2016-02-03 Thread tisimst
tle > } > } > > \header { > title = "Many many words may result in a title that is too long for one > line" > } > \relative c' { c d e f } > > > HTH, > Harm > > ___ > lilypond-user mailing

Fwd: Re: automatic line-breaking in markup

2016-02-03 Thread Jonathan Scholbach
Ursprüngliche Nachricht Von: Jonathan Scholbach Gesendet: 4. Februar 2016 07:47:52 MEZ An: tisimst Betreff: Re: automatic line-breaking in markup Nice! Thank you, Harm! Actually I have (unarguable) reasons to put the title in a string variable. But since I do not

Re: Re: automatic line-breaking in markup

2016-02-04 Thread Thomas Morley
2016-02-04 8:01 GMT+01:00 Jonathan Scholbach : > Nice! Thank you, Harm! Actually I have (unarguable) reasons to put the title > in a string variable. Am I missing something? In my example title _is_ a string > But since I do not understand anything of the code in > your snippet I cannot manage t

Re: Fwd: Re: automatic line-breaking in markup

2016-02-04 Thread Noeck
Hi Jonathan, > It would be very kind of you if you did even that for me. Like this? #(define variablename "Your Title") \header { title = #variablename } { a } HTH, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/

Re: Fwd: Re: automatic line-breaking in markup

2016-02-04 Thread David Kastrup
Noeck writes: > Hi Jonathan, > >> It would be very kind of you if you did even that for me. > > Like this? > > #(define variablename "Your Title") > > \header { > title = #variablename > } > > { a } More LilyPondish: variablename = "Your Title" \header { title = \variablename } [...] --