What I use for songs for beamer projection is a combination of enlarging the fonts and music staffs and customizing paper-size and resolution to the effect of generating 1024x768 pixel PNGs with lilypond with large systems and lyrics so that they are suitable for projection. I also use a custom font for the lyrics and a transparant background. Attached is the lilypond source that I use for customizing font and pagesizing.
The parts I used (with trial and error incrementally until I got to the desired
result of PNGs of size 1024x768 px with lilypond command-line switch fpng) are:
#(ly:set-option 'resolution 102.4)
and within the \paper section:
paper-width = 10\in
paper-height = 7.5\in
resolution = 300
The songs I create using a “ \repeat unfold” for the music part that ends in a
\pageBreak to force page-break in between verses and a lyrics that is a
concatenation of all verses.
BeamerFontAndPage.ly
Description: Binary data
regards, Hans > On 28 Aug 2016, at 06:32, David Wright <[email protected]> wrote: > > On Sat 27 Aug 2016 at 14:18:06 (-0600), David F. wrote: >> >> I have a song transcribed in lilypond notation. It prints very nicely on >> one page, like you might see in a hymnal. How do I print that same song so >> that it could be projected on a screen? E.g. printed in landscape, broken >> up over multiple pages and song verses printed separately and in sequence >> instead of all together. >> >> I’m pretty sure I could manually reconstruct the lilypond song file to >> achieve this, but I wondering if there are any built in capabilities that >> could achieve most or all of what I want. > > Not to my knowledge, but that only shows its limits. I can only > recommend careful use of stereotyped \include files. So for landscape, > $ cat LilyLib/Letter-landscape.ily > \version "2.18.2" > \paper { > #(set-paper-size "letter" 'landscape) > top-margin = ... > left-margin = ... > right-margin = ... > bottom-margin = ... > } > where the margins are slightly complicated by the fact that the > printer is symmetrical wrt portrait but not wrt landscape. > My "typical" hymn (most are not, which is why I typeset them) > file ends with something like > > \include "Midi-satb.ily" > \score { > \transpose f f > \new GrandStaff << > \new Staff << > \clef treble \global > \new NullVoice = valign { \voiceOne \align } > \new Lyrics \lyricsto valign { \texti } > \new Lyrics \lyricsto valign { \textii } > \new Lyrics \lyricsto valign { \textiii } > \new Lyrics \lyricsto valign { \textiv } > \new Lyrics \lyricsto valign { \textv } > \new Voice { \voiceOne \soprano } > \new Voice { \voiceTwo \alto } >>> > \new Staff << > \clef bass \global > \new Voice { \voiceOne \tenor } > \new Voice { \voiceTwo \bass } >>> >>> > \layout { } > } > > so the obvious way would be to put that in a hymn-verse.ily > file with the lyrics lines replaced by just > \new Lyrics \lyricsto valign { \text } > and a \pagebreak at the end, then finish the hymn source with > text = \texti > \include "hymn-verse.ily" > text = \textii > \include "hymn-verse.ily" > text = \textiii > \include "hymn-verse.ily" > text = \textiv > \include "hymn-verse.ily" > text = \textv > \include "hymn-verse.ily" > > Sorry not to be more sophisticated. > > Cheers, > David. > > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
