[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Doc modification
From: |
Thomas Morley |
Subject: |
Re: Doc modification |
Date: |
Sun, 23 Feb 2014 22:00:45 +0100 |
2014-02-23 19:21 GMT+01:00 Pierre Perol-Schneider
<address@hidden>:
> 2014-02-23 19:12 GMT+01:00 Phil Holmes <address@hidden>:
>
>>
>> Do you know whether it's possible to make the snippet work in both 2.14
>> and 2.18?
>>
>>
> Hum, I'll check.
> Since the alignment rules have change between those 2 versions I've no idea
> right now.
It's a bit tricky because of the font-metrics of "scripts.caesura.curved"
Note the space to the left here:
\markup \box \musicglyph #"scripts.caesura.curved"
Though, the following coding gives the same output for 2.14., 2.16. and 2.18.
\relative c'' {
c2.
% construct the symbol
\override BreathingSign #'text =
\markup {
\override #'(direction . 1)
\override #'(baseline-skip . 1.6)
\dir-column {
\translate #'(0.155 . 0)
\center-align \musicglyph #"scripts.caesura.curved"
\center-align \musicglyph #"scripts.ufermata"
}
}
\breathe c4
% set the breathe mark back to normal
\revert BreathingSign #'text
c2. \breathe c4
\bar "|."
}
Cheers,
Harm