[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: markup in one line
From: |
Wilbert Berendsen |
Subject: |
Re: markup in one line |
Date: |
Mon, 10 Mar 2008 21:37:51 +0100 |
User-agent: |
KMail/1.9.7 |
Op maandag 10 maart 2008, schreef Wolfgang Mechsner:
> \new Score \with {
> \override TimeSignature #'transparent = ##t
> defaultBarType = #""
> \remove Bar_number_engraver
> } <<
> \context Staff
> {\override TextScript #'padding #2
> \time 4/4
> <c' e' g'>1_"I" <c' es' g'>_"Im" \bar"||"
> <des' f' as'>1_\markup{ \flat"II"}
> <cis' e' gis'>1_\markup{\flat"IIm"} \bar "||"
> <d' fis' a'>1_\markup{"II"}
> <d' f' a'>1_\markup{"IIm"} \bar "||"
I fixed your example a bit (without changing):
\new Score \with {
\override TimeSignature #'transparent = ##t
defaultBarType = #""
\remove Bar_number_engraver
} <<
\context Staff {
\override TextScript #'padding = #2
\time 4/4
<c' e' g'>1_"I" <c' es' g'>_"Im" \bar"||"
<des' f' as'>1_\markup{ \flat"II"}
<cis' e' gis'>1_\markup{\flat"IIm"} \bar "||"
<d' fis' a'>1_\markup{"II"}
<d' f' a'>1_\markup{"IIm"} \bar "||"
}
>>
I would use:
\override TextScript #'staff-padding = #5
but the texts are still not perfectly aligned (because of their up-extents
differing).
there should be a way to have them aligned on the text baseline. But I don't
know it (yet).
another solution would be (ab)using lyrics:
\new Score \with {
\override TimeSignature #'transparent = ##t
defaultBarType = #""
\remove Bar_number_engraver
} <<
\context Staff {
\time 4/4
<c' e' g'>1 <c' es' g'> \bar"||"
<des' f' as'> <cis' e' gis'> \bar "||"
<d' fis' a'> <d' f' a'> \bar "||"
} \addlyrics {
\markup I \markup Im
\markup{\flat II} \markup{\flat IIm}
\markup II \markup IIm
}
>>
best regards,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
LilyKDE: http://lilykde.googlecode.com/
- markup in one line, Wolfgang Mechsner, 2008/03/10
- Re: markup in one line,
Wilbert Berendsen <=