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"
  }
}


2014/1/8 Alex Loomis <[email protected]>

> This should do the trick.
>
> a4.^\markup{\vcenter "To Coda"\musicglyph #"scripts.coda"}
>
>
>
> On Tue, Jan 7, 2014 at 8:59 PM, muggle <[email protected]> wrote:
>
>> This works, but is there a way to vertically align the coda symbol so
>> that it
>> looks nicer?
>>
>>
>>
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/Position-of-text-and-symbol-above-note-tp157390p157394.html
>> Sent from the User mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> lilypond-user mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>

<<attachment: vcenter-align.png>>

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to