lilypond-user
[Top][All Lists]
Advanced

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

Re: how to reuse common header attributes


From: James Worlton
Subject: Re: how to reuse common header attributes
Date: Tue, 11 Dec 2012 09:18:05 -0600

On Mon, Dec 10, 2012 at 3:25 PM, James Worlton <address@hidden> wrote:

On Mon, Dec 10, 2012 at 2:50 PM, Keith OHara <address@hidden> wrote:
Xavier Noria <fxn <at> hashref.com> writes:

> >     subtitle = \markup { "Part for" \concat{"E"\flat} "saxaphone"}
>
> That would be a nice touch. The flat looks weird over here though (see
> attachment), is there an alternate markup I could use?

Bummer.  You can remove the \concat {} to get a space between E and flat.
LilyPond reads unicode, in the utf-8 encoding, so you can use the flat
character ♭, unicode 2ffD to write E♭ directly in your input file.  Your
text editor might not have a glyph for the flat, but you will see the flat
sign from the roman font in the PDF file.

This produces acceptable (to my eyes) results for the subtitle using 2.16.1:
subtitle = \markup { "Part for E" \concat { \translate #'(-0.3 . 0.6) \abs-fontsize #8 \flat } "saxophone" }
 


I should mention that I'm using #(set-global-staff-size 17). For other staff sizes you may need to change the \abs-fontsize appropriately.  I put \abs-fontsize in there because the flat was too big compared to the text without it.

James Worlton

reply via email to

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