Klaus, Attached are a simplified LaTeX file and the two Lilypond files it references. Barbershop harmony is for unaccompanied voices, so there's no piano part or chord symbols, but from what you've written, I gather that seeing how the lilypond gets included in the LaTeX is what interests you.
David Bowen On Mon, Jan 14, 2019 at 1:52 PM Klaus Ethgen <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi David, > > Am Mo den 14. Jan 2019 um 20:15 schrieb David Bowen: > > Have you considered the possibility of making each song its own file > and > > then using lylualatex to build the songbook. > > Something like that was in my mind at first. (Using pdflatex instead of > lylualatex) But at the moment I would be more than happy to have a > simple but pretty printed songbook. So I decided to start with a > lilypond file and I might split it up in future. > > > I'm using that workflow to > > create a collection of barbershop tags, where the tags run about two or > > three lines. I have a lilypond template for tags that defines standard > > names for note and lyric variables and having one tag per file eliminates > > conflicts between tags. Using lylualatex makes it easy to generate > indexes > > and also to rearrange tags if I need to move things around to improve the > > spacing on a page. > > If you have some simple example, that would be nice. > > How would it look like? Would it be a full lilypond file with version > and core->cords, frets, grandtsaff->voices and lyrics or would the > lyrics come from inside LaTeX? > > I think, I should use "\lilypondfile{sond1.ly}" in latex for such files > and then use just pdflatex to compile it? > > Regards > Klaus > - -- > Klaus Ethgen http://www.ethgen.ch/ > pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <[email protected]> > Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user >
\version "2.19.82"
\language "english"
\header {
title = "Dear Old Girl"
composer = "Theodore F. Morse"
poet = "Richard Henry Buck"
arranger = "O. T. Neal"
}
global = {
\key c \major
\time 4/4
\accidentalStyle modern-voice-cautionary
\partial 4
}
tenorMusic = \relative c' {
f4 |e g a a | gs gs2 r4 | ds4 e f f | e2. e8 e | ef4 f gf f | e ( g) g2 | c,4 e a c \fermata |d2 c | a a | c1 |
}
leadMusic = \relative c' {
g4 | c c e ds | e b2 b8 b | a4 a a a | c2. g8 g | af4 af af af | g (f) e2 | c'4 c c a | b2 a | c fs, | g1 |
}
leadWords = \lyricmode {
The blind- ing tears are fall- ing as I think of my lost pearl, and my bro- ken heart is call-_ ing, call- ing for you dear old, dear old girl
}
bariMusic = \relative c' {
b4 | g g c b | d d2 r4 | c4 c d ef | g,2. c8 c | c4 c c b | c (d) cs2 | c4 c ef fs | f2 ds | ds ds | e1
}
bassMusic = \relative c {
d4 | c e g fs | b e,2 b'8 b | f4 e d c | c2. c8 c | gf'4 f ef df | c (bf) a2 | c'4 a f d \fermata | g2 f | f b, | c1
}
\score {
\new ChoirStaff <<
\new Staff = "high" <<
\clef "treble_8"
\new Voice = "tenors" {
\voiceOne
<< \global \tenorMusic >>
}
\new Voice = "leads" {
\voiceTwo
<< \global \leadMusic >>
}
>>
\new Lyrics = "leads"
\new Staff = "lo" <<
\clef bass
\new Voice = "baris" {
\voiceOne
<< \global \bariMusic >>
}
\new Voice = "basses" {
\voiceTwo << \global \bassMusic >>
}
>>
\context Lyrics = "leads" \lyricsto "leads" \leadWords
>>
}
Demo.tex
Description: Binary data
\version "2.19.82"
\language english
\header {
title = "Kissing The Blarney Stone"
composer = "Jim Richards"
copyright = ""
}
global = {
\key f \major
\time 3/4
\accidentalStyle modern-voice-cautionary
\partial 4
}
tenorMusic = \relative c' {
r4 |d4 d d |df2 df8 df | c4 f g |fs2 fs4 | g fs f |
}
tenorMusicb = \relative c' { e2 e4 | ef (d) df |c2. |
}
tenorWords = \lyricmode {
Blar- ney Blar- __ ney Stone.
}
leadMusic = \relative c {
d8 e | f4 g a | g2 f8 g | a4 c e |d2 a4 | d4 d d | c (a) g | f2. ~ f
}
leadWords = \lyricmode {
Does it make an- y sense one should gain el- o- quence by kiss- ing the Blar- ney Stone __
}
bariMusic = \relative c {
r4 | f4 f f | f2 g8 f | f4 a cs |c2 c4 |bf c bf |
}
bariMusicb = \relative c' {
bf (c) bf | a (af) g | a2.
}
bariWords = \lyricmode {
Blar- __ ney Blar- __ ney Stone.
}
bassMusic = \relative c {
r4 | bf4 bf bf | bf2 bf8 bf | f4 f' a| a2 d,4 |g a g | g (c,) c| c (cf) bf | f2.
}
bassMusicb = \relative c {
}
bassWords = \lyricmode {
ho ho ho ho
}
\score {
\new ChoirStaff <<
\new Lyrics = "tenors" \with {
% this is needed for lyrics above a staff
\override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "high" <<
\clef "treble_8" {
\new Voice = "tenors" {\voiceOne \global \tenorMusic }
\new Voice = "ta" {\voiceOne \tenorMusicb }
}
{
\new Voice = "leads" {\voiceTwo \global \leadMusic }
}
>>
\new Lyrics = "leads"
\new Lyrics = "baris" \with {
% this is needed for lyrics above a staff
\override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "lo" <<
\clef bass {
\new Voice = "baris" { \voiceOne \global \bariMusic }
\new Voice = "brb" { \voiceOne \bariMusicb }
}
{
\new Voice = "basses" {\voiceTwo \global \bassMusic }
\new Voice = "bsb" {\voiceTwo \bassMusicb }
}
>>
\new Lyrics = "basses"
\context Lyrics = "tenors" \lyricsto "ta" \tenorWords
\context Lyrics = "leads" \lyricsto "leads" \leadWords
\context Lyrics = "baris" \lyricsto "brb" \bariWords
\context Lyrics = "basses" \lyricsto "bsb" \bassWords
>>
}
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
