[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: lilypond-user Digest, Vol 67, Issue 107
From:       "Frederick Dennis" <frederickdennis () googlemail ! com>
Date:       2008-06-30 15:26:47
Message-ID: c694a5f0806300826v2e8d4c7dyfcbc492aff0c3733 () mail ! gmail ! com
[Download RAW message or body]

Dear All,
\version "2.10.33"
I've been trying to set the Anglican Preces and Responses.
So far, I've got one line, with two \score lines inside a \markup.
and juggled the numbers so that the score does not go
off the page. I've shrunk the font by 1 , which looks
reasonable.
Is there any way of moving all the music to the left and down a bit, away
from the header?
There will be about ten lines altogether.
Does anyone have any suggestions, as my code is all over
the place.
Thank you for your attention.

% Created on Mon Jun 23 17:27:19 BST 2008
\version "2.10.33"
\paper {
line-width = 17\cm %This figure is crucial in getting both bits of score
            %into the line without going off the page.
    }
right = {
\once \override Voice.NoteColumn #'force-hshift = #0.5  %This moves a note
to
                            %the right to avoid
                            %overlapping
}

global = {
\key g \major
        }
\header {
    title = "Morning and Evening Prayer"

}
%\layout {
%    \context {
%    \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
%        }
%    \context { \Lyrics
%        \override LyricText #'font-size = #-2
%        \override LyricSpace #'minimum-distance =#1.2
%        \consists "Bar_engraver"
%        \consists "Separating_line_group_engraver"
%        }
%        \context { \Score }
%    }

vicar = {
\cadenzaOn    %This line turns off automatic barlines, thereby allowing
        %as many notes per bar as desired.
\clef bass
\key g \major
g\breve \bar "||"
}

vicarlyrics = \lyricmode {
\once \override LyricText #'self-alignment-X = #LEFT %The left means the
                            %vicar's note is at the
                            %left
"O Lord, open Thou our lips."
}

soprano = {
\cadenzaOn
g'\breve
a1 a2 g1 \bar "||"

}

alto = {
d\breve fis1 fis2 \right g1
}

tenor = {
b,\breve d1 d2 b1
}

bass = {
g\breve d1 d2 g1
}

words = { \lyricmode {
\once \override LyricText #'self-alignment-X = #LEFT %the words in quotes
                            %are set to one note
                            %which is at the left
"And our mouth shall shew"

forth
thy praise.
}}

\markup { \fill-line {
    \translate #(cons 0 -7) {    %The 2nd number will move the vicar's
                    %line up or down. -1 is up, -10 is down
        \score {
        \new Staff = vicar <<
        \new Voice ="vicar" { \vicar }
        \new Lyrics \lyricsto vicar \vicarlyrics
        >>
        \layout {
        line-width = #50 %Juggle this number - to find the optimum.
        %ragged-right = ##f %false fills up the line
        \context { \Lyrics
        \override LyricText #'font-size = #-1 % -1 is 12% smaller
        %\override LyricSpace #'minimum-distance =#1
        }
        }
        }
    }

\score {
    \relative c'
    <<
    \new ChoirStaff
            <<
    \new Staff \with { \remove "Time_signature_engraver" }
            <<
            \clef treble
    \new Voice = "Soprano" { \global  \voiceOne \soprano }
    \new Voice = "Alto" { \global \voiceTwo \alto }
                >>
    \new Lyrics \lyricsto Alto \words

    \new Staff \with { \remove "Time_signature_engraver" }
        <<
    \clef bass
    \new Voice = "Tenor" { \global \voiceOne \tenor }
    \new Voice = "Bass" { \global \voiceTwo \bass }
                >>
            >>
    >>

    \midi {    }

    \layout  {
    line-width = #50 %Juggle this number to find optimum.
    %ragged-right = ##t
    \context { \Lyrics
        \override LyricText #'font-size = #-1 }    %-1 is 12% smaller
        }
    }
}
}

[Attachment #3 (text/html)]

<br>Dear All,<br>\version &quot;2.10.33&quot;<br>I&#39;ve been trying to set the \
Anglican Preces and Responses. <br>So far, I&#39;ve got one line, with two \score \
lines inside a \markup.<br>and juggled the numbers so that the score does not go<br> \
off the page. I&#39;ve shrunk the font by 1 , which looks <br>reasonable. <br>Is \
there any way of moving all the music to the left and down a bit, away from the \
header?<br>There will be about ten lines altogether.<br>Does anyone have any \
suggestions, as my code is all over<br> the place.<br>Thank you for your \
attention.<br><br>% Created on Mon Jun 23 17:27:19 BST 2008<br>\version \
&quot;2.10.33&quot;<br>\paper { <br>line-width = 17\cm %This figure is crucial in \
getting both bits of score<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; %into the line without going off the page.<br> &nbsp;&nbsp;&nbsp; \
}<br>right = {<br>\once \override Voice.NoteColumn #&#39;force-hshift = #0.5&nbsp; \
%This moves a note to<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %the \
right to avoid<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
%overlapping<br>}<br><br>global = {<br> \key g \major<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; }<br>\header {<br>&nbsp;&nbsp;&nbsp; title = &quot;Morning and \
Evening Prayer&quot;<br>&nbsp;&nbsp;&nbsp; <br>}<br>%\layout {<br>%&nbsp;&nbsp;&nbsp; \
\context {<br>%&nbsp;&nbsp;&nbsp; \Staff \override VerticalAxisGroup \
#&#39;minimum-Y-extent = #&#39;(-3 . 3) <br> %&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
}<br>%&nbsp;&nbsp;&nbsp; \context { \Lyrics<br>%&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
\override LyricText #&#39;font-size = #-2<br>%&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
\override LyricSpace #&#39;minimum-distance =#1.2<br>%&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; \consists &quot;Bar_engraver&quot;<br>%&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; \consists &quot;Separating_line_group_engraver&quot;<br> \
%&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>%&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
\context { \Score }<br>%&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp; <br><br>vicar = \
{<br>\cadenzaOn&nbsp;&nbsp;&nbsp; %This line turns off automatic barlines, thereby \
allowing<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %as many notes per bar as \
desired.<br>\clef bass<br>\key g \major <br> g\breve \bar \
&quot;||&quot;<br>}<br><br>vicarlyrics = \lyricmode {<br>\once \override LyricText \
#&#39;self-alignment-X = #LEFT %The left means the<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %vicar&#39;s note is at \
the<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %left<br> &quot;O Lord, open \
Thou our lips.&quot;<br>}<br><br>soprano = {<br>\cadenzaOn&nbsp;&nbsp;&nbsp; \
<br>g&#39;\breve <br>a1 a2 g1 \bar &quot;||&quot;<br>&nbsp;<br>}<br><br>alto = \
{<br>d\breve fis1 fis2 \right g1<br>}<br><br>tenor = {<br>b,\breve d1 d2 b1<br> \
}<br><br>bass = {<br>g\breve d1 d2 g1<br>}<br><br>words = { \lyricmode {<br>\once \
\override LyricText #&#39;self-alignment-X = #LEFT %the words in \
quotes<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %are set to one \
note<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %which is at the left<br> \
&quot;And our mouth shall shew&quot; <br><br>forth <br>thy \
praise.<br>}}<br><br>\markup { \fill-line {<br>&nbsp;&nbsp;&nbsp; \translate #(cons 0 \
-7) {&nbsp;&nbsp;&nbsp; %The 2nd number will move the \
vicar&#39;s<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %line up or down. -1 is up, -10 is down<br> \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \score {<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; \new Staff = vicar &lt;&lt; <br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; \new Voice =&quot;vicar&quot; { \vicar }<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; \new Lyrics \lyricsto vicar \vicarlyrics<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &gt;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \layout { \
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; line-width = #50 %Juggle this number - to \
find the optimum.<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %ragged-right = ##f \
%false fills up the line<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \context { \Lyrics \
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \override LyricText #&#39;font-size = #-1 % \
-1 is 12% smaller<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; %\override LyricSpace \
#&#39;minimum-distance =#1<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br> \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
}<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br>\score {<br>&nbsp;&nbsp;&nbsp; \
\relative c&#39;<br>&nbsp;&nbsp;&nbsp; &lt;&lt;<br>&nbsp;&nbsp;&nbsp; \new ChoirStaff \
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&lt;&lt;<br>&nbsp;&nbsp;&nbsp; \new Staff \with { \remove \
&quot;Time_signature_engraver&quot; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &lt;&lt;<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; \clef treble<br>&nbsp;&nbsp;&nbsp; \new Voice = \
&quot;Soprano&quot; { \global&nbsp; \voiceOne \soprano }<br>&nbsp;&nbsp;&nbsp; \new \
Voice = &quot;Alto&quot; { \global \voiceTwo \alto }<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&gt;&gt;<br>&nbsp;&nbsp;&nbsp; \new Lyrics \lyricsto Alto \words&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; \new Staff \with { \
\remove &quot;Time_signature_engraver&quot; }<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &lt;&lt; <br>&nbsp;&nbsp;&nbsp; \clef bass<br>&nbsp;&nbsp;&nbsp; \
\new Voice = &quot;Tenor&quot; { \global \voiceOne \tenor }<br>&nbsp;&nbsp;&nbsp; \
\new Voice = &quot;Bass&quot; { \global \voiceTwo \bass }<br> &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&gt;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&gt;&gt;<br>&nbsp;&nbsp;&nbsp; &gt;&gt;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; \
\midi {&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; \layout&nbsp; { \
<br>&nbsp;&nbsp;&nbsp; line-width = #50 %Juggle this number to find \
optimum.<br>&nbsp;&nbsp;&nbsp; %ragged-right = ##t<br>&nbsp;&nbsp;&nbsp; \context { \
\Lyrics <br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \override LyricText \
#&#39;font-size = #-1 }&nbsp;&nbsp;&nbsp; %-1 is 12% smaller<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>}<br>}<br><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic