[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tip/Solution: formatting and alignming multi-line instrument names
From: |
Kieren MacMillan |
Subject: |
Tip/Solution: formatting and alignming multi-line instrument names |
Date: |
Thu, 1 Jun 2006 12:14:15 -0400 |
Hello, all:
Robert Memering was having difficulty getting his multi-line
instrument names to line up.
I've attached the solution I came up with, which I rather like... In
addition to fixing the alignment <insert insect-related euphemism
here>, there are a couple of tweaks that make this particular output
'just right'.
Best wishes,
Kieren.
_________________________________
%% CODE SNIPPET BEGINS
\version "2.9.6"
\paper
{
indent = 40\mm
}
\layout
{
\context
{
\Score
\override InstrumentName #'X-offset = #-9.5
\override InstrumentName #'baseline-skip = #2.1
}
}
\score
{
<<
\new StaffGroup = "wholestaff"
<<
\new Staff
\with
{
instrument = \markup { \center-align { "Superius" \fontsize #-2
"(Soprano/Alto)" } }
}
<< \relative c'' { \clef treble c } >>
\new Staff
\with
{
instrument = \markup { \override #'(baseline-skip . 2.3 ) \center-
align { "Quinta Pars" \fontsize #-2 "(Soprano/Alto)" } }
}
<< \relative c' { \clef treble g' } >>
\new Staff
\with
{
instrument = \markup { \center-align { "Contratenor" \fontsize
#-2 "(Tenore)" } }
}
<< \relative c' { \clef "treble_8" e } >>
\new Staff
\with
{
instrument = \markup { \center-align { "Tenor" \fontsize #-2
"(Tenore)" } }
}
<< \relative c' { \clef "treble_8" c } >>
\new Staff
\with
{
instrument = \markup { \center-align { "Sexta Pars" \fontsize #-2
"(Basso)" } }
}
<< \relative c' { \clef bass g } >>
\new Staff
\with
{
instrument = \markup { \center-align { "Bassus" \fontsize #-2
"(Basso)" } }
}
<< \relative c { \clef bass c } >>
>>
>>
}
%% CODE SNIPPET ENDS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Tip/Solution: formatting and alignming multi-line instrument names,
Kieren MacMillan <=