I am attaching the template of what I work with, because I am not
exactly sure where to insert either of those fixes... Sorry for being such
a newbie!
On Fri, Oct 8, 2021 at 5:00 AM Valentin Petzel <[email protected]> wrote:
> Hello Kira,
>
> Aarons version uses the stencil of the stanza number, which means that it
> only
> works if there is a linenumber present (thus it won’t display after a line
> break. I’ve come up with a way to instead use a context that missuses the
> Clef
> stencil, which will print in every line and can force lines within a
> system by
> setting LineSep.forceClef = ##t
>
> Cheers,
> Valentin
\header {
title = ""
subtitle = ""
fsHymnal = ""
fsHymnNumber = ""
fsTextCredit = \markup { \wordwrap { Text credits go here. } }
note = ""
}
StanzaOne = \lyricmode {
\set stanza = "1"
}
StanzaTwo = \lyricmode {
\set stanza = "2"
}
StanzaThree = \lyricmode {
\set stanza = "3"
}
StanzaFour = \lyricmode {
\set stanza = "4"
}
DescantLyrics = \lyricmode {
\set stanza = ""
}
% delete the following two variables if they will not be used
FinalRefrainLyrics = \lyricmode {
}
FinalRefrainDescantLyrics = \lyricmode {
}
%add variables from the Reponse text template here
\language "english"
hasChords = ##f
hasDescant = ##f
\header{
fsTuneCredit = \markup { \wordwrap { Tune credits go here. } }
}
keyTime = {
\time 4/4
\numericTimeSignature
\key c \major
\partial 4
}
Soprano = \relative c' {
\voiceOne
\keyTime
|
\bar "|."
}
Alto = \relative c' {
\voiceTwo
\keyTime
|
\bar "|."
}
Tenor = \relative c {
\voiceOne
\keyTime
|
\bar "|."
}
Bass = \relative c {
\voiceTwo
\keyTime
|
\bar "|."
}
% delete the following if not being used
Chords = \relative c' {
\chords {
}
}
Descant = \relative c'' {
\keyTime
}
%
% Full score, with vocal markup
%
#(use-modules (guile-user))
\include "definitions.ly"
chordMarkup = {
% \Chords
% \AccompChords
}
%{descantMarkup = {
\new Staff \with
{ \override NoteHead #'font-size = #-2
\override Stem #'font-size = #-2
\override Rest #'font-size = #-2
\override Accidental #'font-size = #-2
\override Clef #'font-size = #-3
\override KeySignature #'font-size = #-3
\override TimeSignature #'font-size = #-3
\override StaffSymbol #'staff-space = #(magstep -3)
}
<<
\clef "treble"
\new Voice = "DescantVoice" \Descant
\lyricsto DescantVoice \new Lyrics = "DescantLyrics" \DescantLyrics
>>
} %}
\score
{
<<
$(if hasDescant descantMarkup)
$(if hasChords chordMarkup)
\new Staff
<<
\clef "treble"
\new Voice = "SopranoVoice" \Soprano
\new Voice = "AltoVoice" \Alto
% \new Lyrics = "SopranoResponse" \with { alignAboveContext = "staff" } { \lyricsto "SopranoVoice" { \SopranoResponse } }
% \lyricsto AltoVoice \new Lyrics = "AltoResponse" \AltoResponse
\lyricsto SopranoVoice \new Lyrics \StanzaOne
\lyricsto SopranoVoice \new Lyrics \StanzaTwo
\lyricsto SopranoVoice \new Lyrics \StanzaThree
\lyricsto SopranoVoice \new Lyrics \StanzaFour
>>
\new Staff
<<
\clef "bass"
\new Voice = "TenorVoice" \Tenor
\new Voice = "BassVoice" \Bass
% \new Lyrics \with { alignAboveContext = "staff" } { \lyricsto TenorVoice \TenorResponse }
% \lyricsto BassVoice \new Lyrics \BassResponse
>>
% \Keyboard
>>
}