lilypond-user
[Top][All Lists]
Advanced

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

Rehearsal Mark Shown Above Tempo


From: lesmondo
Subject: Rehearsal Mark Shown Above Tempo
Date: Fri, 6 Apr 2012 17:50:20 +0800

Hi, 

I'm using rehearsal marks for each section of my piece, for example "Introduction' "Section One" etc. For the first bar, the mark appears above the tempo, how can I move to the same vertical position as the rest of the marks?

Here's an example. "Introduction" sits above "Tempo di Valse", I want it aligned with "Section One"

Feel free to suggest a better way to do this :)

Thanks

Les



\version "2.14.2"

\include "english.ly"

\header {

title = "An Example"

}

Key = { \key d \major }

global = {

\override Staff.InstrumentName #'self-alignment-X = #RIGHT

\tempo "Tempo di Valse" 4=140

\time 3/4

}


globalNotes = {

\compressFullBarRests

\textLengthOn

\override MultiMeasureRest #'expand-limit = #1

\once \override Score.RehearsalMark #'self-alignment-X = #LEFT

\mark \markup { \abs-fontsize #8 "Introduction"}

s2.*4

\once \override Score.RehearsalMark #'self-alignment-X = #LEFT

\mark \markup { \abs-fontsize #8 "Section One"}

s2.*4

}


someNotes = { a2. b c d \bar "||" a b c d }


flute = { \relative c''' { \Key \someNotes}}

clarinetOne = { \relative c'' { \Key \someNotes}}

clarinetTwo = { \relative c'' { \Key \someNotes}}

violinI = { \relative c''' { \Key \someNotes}}

violinII = { \relative c''' { \Key \someNotes}}

viola = { \relative c' { \clef alto \Key \someNotes}}

cello = { \relative c { \clef bass \Key \someNotes}}

bass = { \relative c { \clef bass \Key \someNotes}}

\book

{

\bookpart {

\paper {

indent = 3.0\cm % space for instrumentName

short-indent = 1.5\cm % space for shortInstrumentName

leftmargin = 1.5\cm

rightmargin = 1.5\cm

%page-limit-inter-system-space = ##t

%page-limit-inter-system-space-factor = 1.3

ragged-bottom = ##f

ragged-last-bottom = ##f

print-page-number = ##t

}

\score {

<<

\new StaffGroup = "StaffGroup_woodwinds" <<

\new Staff = "Staff_flute" {

#(set-accidental-style 'modern-cautionary 'Staff)

\set Staff.instrumentName = #"Flute" \set Staff.shortInstrumentName = #"Fl." \set Staff.midiInstrument = #"flute"

<< {\global \flute} \globalNotes >>

}

\new GrandStaff = "Staff_clarinets" <<

\new Staff = "Staff_clari1" {

#(set-accidental-style 'modern-cautionary 'Staff)

\set Staff.instrumentName = \markup { \concat { "Clarinet in B" \flat } } \set Staff.shortInstrumentName = #"Cl." \set Staff.midiInstrument = #"clarinet"

\global \clarinetOne

}

\new Staff = "Staff_clari2" {

#(set-accidental-style 'modern-cautionary 'Staff)

\set Staff.instrumentName = \markup { \concat { "Clarinet in B" \flat } } \set Staff.shortInstrumentName = #"Cl." \set Staff.midiInstrument = #"clarinet"

\global \clarinetTwo

}

>>

>>

\new StaffGroup = "StaffGroup_strings" <<

\new GrandStaff = "GrandStaff_violins" <<

\new Staff = "Staff_violinI" {

#(set-accidental-style 'modern-cautionary 'Staff)

\set Staff.instrumentName = #"Violin I" \set Staff.shortInstrumentName = #"VI" \set Staff.midiInstrument = #"violin"

\global \violinI

}

\new Staff = "Staff_violinII" {

#(set-accidental-style 'modern-cautionary 'Staff)

\set Staff.instrumentName = #"Violin II" \set Staff.shortInstrumentName = #"VII" \set Staff.midiInstrument = #"violin"

\global \violinII

}

>>

\new Staff = "Staff_viola" {

#(set-accidental-style 'modern-cautionary 'Staff)

\set Staff.instrumentName = #"Viola" \set Staff.shortInstrumentName = #"Va." \set Staff.midiInstrument = #"viola"

\global \viola

}

\new Staff = "Staff_cello" {

#(set-accidental-style 'modern-cautionary 'Staff)

\set Staff.instrumentName = #"Violoncello" \set Staff.shortInstrumentName = #"Vc." \set Staff.midiInstrument = #"cello"

\global \cello

}

\new Staff = "Staff_bass" {

#(set-accidental-style 'modern-cautionary 'Staff)

\set Staff.instrumentName = #"Bass" \set Staff.shortInstrumentName = #"Cb." \set Staff.midiInstrument = #"contrabass"

\global \bass

}

>>

>>

\layout {}

}

}

\paper {

indent = 0\cm % space for instrumentName

short-indent = 0\cm % space for shortInstrumentName

leftmargin = 1.5\cm

rightmargin = 1.5\cm

ragged-bottom = ##f

ragged-last-bottom = ##t

print-page-number = ##f

evenHeaderMarkup = {

}

oddHeaderMarkup = {}

}

\bookpart { \header{ instrument="Flute"} \score { << \new Staff {<< {\global \flute} \globalNotes >> } >> \layout {#(layout-set-staff-size 20)} } }

\bookpart { \header{ instrument= \markup { \concat { "Clarinet I in B" \flat }}} \score { << \new Staff {<< { \global \clarinetOne} \globalNotes >> } >> \layout {#(layout-set-staff-size 20)} } }

\bookpart { \header{ instrument= \markup { \concat { "Clarinet II in B" \flat }}} \score { << \new Staff {<< { \global \clarinetTwo} \globalNotes >> } >> \layout {#(layout-set-staff-size 20)} } }

\bookpart { \header{ instrument="Violin I"} \score { << \new Staff {<< { \global \violinI } \globalNotes >> } >> \layout {#(layout-set-staff-size 20)} } }

\bookpart { \header{ instrument="Violin II"} \score { << \new Staff {<< { \global \violinII } \globalNotes >> } >> \layout {#(layout-set-staff-size 20)} } }

\bookpart { \header{ instrument="Viola"} \score { << \new Staff {<< {\global \viola } \globalNotes >> } >> \layout {#(layout-set-staff-size 20)} } }

\bookpart { \header{ instrument="Cello"} \score { << \new Staff {<< { \global \cello } \globalNotes >> } >> \layout {#(layout-set-staff-size 20)} } }

\bookpart { \header{ instrument="Bass"} \score { << \new Staff {<< { \global \bass } \globalNotes >> } >> \layout {#(layout-set-staff-size 20)} } }

}

\bookpart { }


reply via email to

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