lilypond-user
[Top][All Lists]
Advanced

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

Re: markup in one line


From: Wolfgang Mechsner
Subject: Re: markup in one line
Date: Tue, 11 Mar 2008 09:42:11 +0100
User-agent: Mutt/1.5.15+20070412 (2007-04-11)

Hi Wilbert,

thanks a lot, I take the addlyrics solution. It looks fine.

Wolfgang

* Wilbert Berendsen [10.03.08 21:37]:

> 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/
-------------------------
Wolfgang Mechsner
Lieneschweg 14
49076 Osnabrück

0541-2001561
address@hidden
www.wolfgang-mechsner.de




reply via email to

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