[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Weird custom MultiMeasureRest stencil behaviour
From: |
Risto Vääräniemi |
Subject: |
Weird custom MultiMeasureRest stencil behaviour |
Date: |
Thu, 31 Jan 2008 22:10:56 +0200 |
Hi,
On 6/01/2008, Valentin Villenave wrote:
>>On 6/01/2008, Risto Vääräniemi wrote:
>> Is there a way to change the R1 glyph from "rests.0o" to e.g. "rests.0" for
>> that staff?
>
> Why don't you try:
>
> \override MultiMeasureRest #'stencil =
> #ly:text-interface::print
> \override MultiMeasureRest #'text =
> \markup \musicglyph #"rests.0"
Thanks for the tip. I didn't use it that time because I found another
way to what I wanted. However, this time I need to create a
MultiMeasureRest that's wrapped in parentheses. I've used your example
and I get the parentheses alright but the whole schmeer is thrown to
the left (to the bar line).
Is there a way to center the rest again? The custom rest is
deliberately raised above the staff lines.
-Risto
%%%%%
\version "2.11.37"
\paper { ragged-right = ##t }
{
R1
\override MultiMeasureRest #'stencil =
#ly:text-interface::print
\override MultiMeasureRest #'text =
\markup { \raise #-1 "(" \musicglyph #"rests.0o" \raise #-1 ")"}
\override MultiMeasureRest #'staff-position = #6
R1
}
%%%%%
- Weird custom MultiMeasureRest stencil behaviour,
Risto Vääräniemi <=