... and of course, you can experiment with the \general-align markup
command:
title = \markup { \concat { \general-align #Y #UP { E \hspace #0.2
\smaller \smaller \smaller \smaller \flat } } }
Cheers,
Jan-Peter
Am 18.10.2011 11:39, schrieb Jan-Peter Voigt:
Hello Nick,
my markup code to place the flat sign is slightly different - I
would say, its a matter of taste. But you might define a markup
command, so that you don't need to write all that
bold-lower-translate-wahtelse-stuff:
--snip--
#(define-markup-command (flatglyph layout props)()
(interpret-markup layout props (markup #:smaller #:smaller
#:smaller #:smaller #:translate '(0.2 . 0.5) #:flat)))
\header {
title = \markup { \concat { "Original key: E" \flatglyph "
minor" } }
subtitle = \markup { \concat { "Original key: E" \flatglyph "
minor" } }
subsubtitle = \markup { \concat { "Original key: E" \flatglyph
" minor" } }
}
\relative c'' {
c4 c c c
}
--snip--
I use four times smaller, to get the sign scaled in all
font-sizes. With tiny, it will be tiny all the time. The
translation is not adjusted by font-size, so it will still be a
little bit to high or low for bigger and smaller sizes.
Cheers,
Jan-Peter
Am 18.10.2011 10:06, schrieb Nick Payne:
I occasionally want to use the flat symbol in a
header, usually to indicate the original key when a piece has
been transposed from the original key. Neither way I have found
of doing this is satisfactory, as shown below. The first leads
to an oversized flat symbol that is too close to the preceding
character, and the second to a flat symbol that does not have
the same weight as the surrounding characters.
%==============================
\version "2.15.14"
\header {
title = "Piece"
subtitle = \markup { \concat { "Original key: E" \flat "
minor" } }
subsubtitle = \markup { \concat { "Original key: E" \char
##x266D " minor" } }
}
\relative c'' {
c4 c c c
}
%==============================
The best I've managed to get so far is to use
\markup { \concat { "Original key: E" \bold\large { \lower #0.2
\char ##x266D } " minor" } }
but even that I don't find visually correct - the flat symbol
still doesn't have the same weight as the other characters. Any
better suggestions?
Nick
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
|