[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Centering markup between staves
From: |
Robert Clausecker |
Subject: |
Re: Centering markup between staves |
Date: |
Fri, 25 Sep 2015 12:29:52 +0200 |
Thank you! I'm going to try this out!
Yours, Robert Clausecker
2015-09-25 3:11 GMT+02:00, Kieren MacMillan <address@hidden>:
> Hi Robert,
>
>> Here is a "minimal" example where the \regR appears off-center. This
>> does not occur if I cut out the \p, but that \p needs to be there in the
>> score.
>
> Well, Lilypond is solving collisions, which leads to the “off-venter”ness.
> How’s this?
>
> \version "2.19.27"
>
> regR = \markup \normal-text {
> \upright R
> \raise #0.7 {
> \override #'(font-encoding . fetaBraces)
> \lookup #"brace60"
> }
> }
>
> \score {
> \new PianoStaff <<
> \new Staff \relative c' {
> c4 d e f |
> g a b c |
> }
> \new Dynamics {
> s1 -\tweak Y-offset #-3.5 \p -\tweak self-alignment-X
> #2 -\regR
> }
> \new Staff \relative c {
> c4 d e f |
> g a b c |
> }
> >>
> }
>
> Hope that helps!
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: address@hidden
>
>
Re: Centering markup between staves, Robert Clausecker, 2015/09/25