Hi,
I try to combine standard notation with gregorian notation like this:
section1 standard
section2 gregorian
section3 standard...
I am using \include " gregorian-init.ly " in second section. How should I
"re-init" before section3 to have back default formating?
Here you can see, how it looks like now:
< http://gregoriana.sk/wordpress/wp-content/uploads/lily-example.png>
Here is the source:
\version "2.10.5"
% standard %%%%%%%%%%%%%%%%%%%
melody = \relative c' {
\clef treble
\key c \major
\time 4/4
a4 b c d
}
text = \lyricmode {
Aaa Bee Cee Dee
}
\Score{
<<
\new Voice = "one" {
\autoBeamOff
\melody
}
\new Lyrics \lyricsto "one" \text
>>
\layout { }
\header{
piece = "A scale in LilyPond"
}
}
% gregorian %%%%%%%%%%%%%%%%%%%%
\include " gregorian-init.ly "
\layout {
\context {
\VaticanaStaff
\revert StaffSymbol #'color
\revert LedgerLineSpanner #'color
}
}
\Score {
<<
\new VaticanaVoice = "cantus"
{
\[ c'\melisma c' \flexa a \]
\[ a \flexa \deminutum g\melismaEnd \]
f \divisioMinima
\[ f\melisma \pes a c' c' \pes d'\melismaEnd \]
c' \divisioMinima
\[ c'\melisma c' \flexa a \]
\[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
}
\new Lyrics \lyricsto "cantus" {
\set fontSize = #-3
San- ctus, San- ctus, San- ctus
}
>>
\header{
piece = "Gregorian example"
}
}
% standard %%%%%%%%%%%%%%%%%%%%
\score{
<<
\new Voice = "one" {
\autoBeamOff
\melody
}
\new Lyrics \lyricsto "one" \text
>>
\layout { }
\header{
piece = "A scale in LilyPond after gregorian-ini"
}
}
Marek Klein,
http://gregoriana.sk
Slovakia
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user