[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Floating" markup
From: |
Jim Long |
Subject: |
Re: "Floating" markup |
Date: |
Tue, 15 Oct 2013 13:16:01 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Oct 15, 2013 at 09:04:13AM -0500, James Worlton wrote:
>
> This solution is also kind of hacky, but it looks like it may do more or
> less what you want. It also scales pretty well to other staff sizes. I'm
> not sure how to slide the staff names to the right, however:
This slides the instrument name to the right and slightly up:
...
\new Staff ="staff" \with {
\remove Time_signature_engraver
\override InstrumentName.X-offset = #-4
\override InstrumentName.Y-offset = #1
instrumentName = \markup { \vspace #1.5
\center-column { \italic "Count:"
\vspace #2
\line { \italic "Sticking:" }
}
}
}
...
It may seem odd that an X-offset of -4 means "slide it to the
right," but working in conjecture mode again, I presume that the
original value of this instance of InstrumentName.X-offset was a
negative number less than -4, so by comparison, -4 *is* to the
right of the original, calculated X-offset value. I tried a value
of 0, and that was much too far to the right.