lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Aligning Text Above (and Below) Notes


From: Eric Pancer
Subject: Aligning Text Above (and Below) Notes
Date: Tue, 4 Dec 2012 13:12:46 -0600

I'm trying to layout text above, and below, a transcription to
designate the hand, and tone, required for a transcription of conga
rhythms. How can I align the super-text and sub-text notations to be
on similar horizontal planes with each other?

Sample of the output:

<http://dl.dropbox.com/u/3107300/Transcriptions/abakua-layout-issue-20121204-1905UTC.png>

The excerpt of code I am using follows. Thanks in advance.

- Eric

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.16.0"
\header {
        title = "Abakuá Quinto Licks"
        composer = " "
}
\layout {
        raggedright = ##t
}
\paper {
        top-margin = 2\cm
        bottom-margin = 3\cm
        right-margin = 1\cm
        left-margin = 1\cm
        ragged-last-bottom = ##t
}

% quinto solo - single drum, abakuá licks
quintosoloA = \drummode {
        sn8_"R"^"m" sn_"L"^"m" sn_"R"^"m" r8
        sn_"R"^"m" sn_"L"^"m" sn_"R"^"m" r8
        sn_"R"^"m" sn_"L"^"m" sn_"R"^"m" r8
        sn_"R"^"m" sn_"L"^"m" sn_"R"^"m" r8
        sn_"R"^"m" sn_"L"^"m" sn_"R"^"m" r8
        r8 r4.
}
quintosoloB = \drummode {       
        sn8_"R"^"o" sn_"L"^"o" sn_"R"^"s" sn_"L"^"s" r8
        sn8_"R"^"o" sn_"L"^"o" sn_"R"^"s" sn_"L"^"s" r8
        sn8_"R"^"o" sn_"L"^"o" sn_"R"^"s" sn_"L"^"s" r8
        sn8_"R"^"o" sn_"L"^"o" sn_"R"^"s" sn_"L"^"s" r8
        r8 r4.
}

% accompaniment - fancy yambú, two drums
congasaccompA = \drummode {
        sn8_"R"^"b" sn_"L"^"t" toml_"R"^"m" toml_"L"^"m" toml_"R"^"o" 
toml_"R"^"s"
        sn_"L"^"p" sn_"L"^"f" sn_"R"^"o" sn_"L"^"o" sn_"R"^"t" sn_"L"^"s"
}

% layout the score
\score {
 <<
        \new DrumStaff \with
         { fontSize = #-2 }
                <<
                \repeat volta 2 {
                                \time 6/8
                                \set Staff.instrumentName = #"quinto"
                                \new DrumVoice {
                                                \quintosoloA \quintosoloB
                                        }
                        }
                >>
        \new DrumStaff \with
         { fontSize = #-2 \override StaffSymbol #'staff-space = #(magstep -2) }
                <<
                \repeat volta 2 {
                                \time 6/8
                                \set Staff.instrumentName = #"congas"
                                \new DrumVoice {
                                                \congasaccompA \congasaccompA
                                                \congasaccompA \congasaccompA
                                        }
                        }
                >>
 >>
}
%% end file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]