2014/1/12 David Kastrup <[email protected]>
> Federico Bruni <[email protected]> writes:
>
> > I tried to use \vcenter to simplify a markup where I used \translate to
> > align vertically text and musicglyphs. But the last string in this
> example
> > is slightly upper, do you know why?
> >
> > \version "2.18.0"
> >
> > {
> > c1*4
> > \mark \markup {
> > \vcenter dal
> > \musicglyph #"scripts.segno"
> > \vcenter al
> > \musicglyph #"scripts.coda"
> > \vcenter "poi segue"
> > }
> > }
>
> Why would you use \vcenter? You don't _want_ the reference point to
> move to the center.
>
Mmmh, I'm always confused about what is the reference point...
I can use \translate or \general-align instead:
\markup {
Dal \translate #'(1 . 1) \musicglyph #"scripts.segno"
al \translate #'(1 . 1) \musicglyph #"scripts.coda"
poi segue
}
\markup {
Dal \general-align #Y #-.5 \musicglyph #"scripts.segno"
al \general-align #Y #-.5 \musicglyph #"scripts.coda"
poi segue
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user