Re: Re; Margins- example
Hi Jay, On Fri, Jun 29, 2012 at 11:17 PM, wjm mooney...@aim.com wrote: On 30/06/12 15:45, Jay Hamilton wrote: I actually tried a \paper block and to no avail so that's why I'm stumped. I tried it in layout and outside in its' own block nada. I'll reread the section you suggest but there's just something askew... Thanks for responding. Jay On Fri, Jun 29, 2012 at 4:56 PM, wjm mooney...@aim.com wrote: Hi Jay, I think you need to set a \paper section to contain your page margins bits. The NR says The \paper variables that can appear in a \layout block are: line-width, ragged-right and ragged-last (see \paper variables for widths and margins) indent and short-indent (see \paper variables for shifts and indents) system-count (see \paper variables for line breaking) A good read of Section 4.1 of the Notation Reference shows what goes where... Hope this helps Regards Bill Hi Jay, Try placing the following immediately after the line #(ly:set-option 'delete-intermediate-files #t) in your file. %%**%% #(set-default-paper-size letter 'landscape) #(set-global-staff-size 16) %{ This set to 16, rather than 20, since 20 gives a compilation error about being unable to fit music on the page - compressing music to fit. Probably because you have so many instruments :) %} \paper { indent = 30 %these are, by default, mm short-indent = 25 %left-margin = 30 right-margin = 20 top-margine = 10 bottom-margin = 10 } %%**%% Adjust values to suit. Also, move the \layout block outside the \score block and delete 'all' its content Hope this helps/works! Also note that you've misspelled top-margin. -David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Re; Margins- example
Also note that you've misspelled top-margin. -David Yes, thanks for that. But LP didn't flag it as an unknown thingie in the compilation oh well - in this case the fingers were moving faster than the brain. :) Also - why does shifting the \midi block from inside the \score block to outside it make a difference to error messages when compiling the original file? \midi inside \score :- Interpreting music... warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 MIDI output to `document.midi'... success: Compilation successfully completed \midi outside \score Interpreting music... [8][8] Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 or 2 pages... Drawing systems... Layout output to `document.ps'... Converting to `./document.pdf'... success: Compilation successfully completed I presume that it shouldn't be there in the first place, but??? Cheers Bill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Re; Margins- example
Hi Bill, On Sat, Jun 30, 2012 at 6:57 AM, wjm mooney...@aim.com wrote: Also note that you've misspelled top-margin. -David Yes, thanks for that. But LP didn't flag it as an unknown thingie in the compilation oh well - in this case the fingers were moving faster than the brain. :) I figured you just cut-and-pasted it since it was that way in Jay's example! Also - why does shifting the \midi block from inside the \score block to outside it make a difference to error messages when compiling the original file? \midi inside \score :- Interpreting music... warning: MIDI channel wrapped around warning: remapping modulo 16 warning: MIDI channel wrapped around warning: remapping modulo 16 MIDI output to `document.midi'... success: Compilation successfully completed \midi outside \score Interpreting music... [8][8] Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 or 2 pages... Drawing systems... Layout output to `document.ps'... Converting to `./document.pdf'... success: Compilation successfully completed I presume that it shouldn't be there in the first place, but??? I can't give you a good answer why, but the NR is pretty specific about putting it in the \score block if you want any output at all. See http://www.lilypond.org/doc/v2.15/Documentation/notation/midi-block. -David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Re; Margins- example
Thank you this worked with a bit as you suggested of fidgeting. The one 'other' issue I have is that any staff size larger than 16 the 'copyright' is covered by the bass notes. I know that I could change stem direction for those few measures however then I'm going to run into problems with the stems for the cello overlapping. I tried a couple of things to put space above the markup of the copyright but nothing I tried worked. Also, one of you said that you got compiling errors? I never got anything as an error message. So where/how did you see that? (oh I'm using win7) These are small small concerns the major fix you have given me. Much appreciated. Back to composing. Jay On Sat, Jun 30, 2012 at 4:21 AM, David Nalesnik david.nales...@gmail.comwrote: Hi Jay, On Fri, Jun 29, 2012 at 11:17 PM, wjm mooney...@aim.com wrote: On 30/06/12 15:45, Jay Hamilton wrote: I actually tried a \paper block and to no avail so that's why I'm stumped. I tried it in layout and outside in its' own block nada. I'll reread the section you suggest but there's just something askew... Thanks for responding. Jay On Fri, Jun 29, 2012 at 4:56 PM, wjm mooney...@aim.com wrote: Hi Jay, I think you need to set a \paper section to contain your page margins bits. The NR says The \paper variables that can appear in a \layout block are: line-width, ragged-right and ragged-last (see \paper variables for widths and margins) indent and short-indent (see \paper variables for shifts and indents) system-count (see \paper variables for line breaking) A good read of Section 4.1 of the Notation Reference shows what goes where... Hope this helps Regards Bill Hi Jay, Try placing the following immediately after the line #(ly:set-option 'delete-intermediate-files #t) in your file. #(set-default-paper-size letter 'landscape) #(set-global-staff-size 16) %{ This set to 16, rather than 20, since 20 gives a compilation error about being unable to fit music on the page - compressing music to fit. Probably because you have so many instruments :) %} \paper { indent = 30 %these are, by default, mm short-indent = 25 %left-margin = 30 right-margin = 20 top-margine = 10 bottom-margin = 10 } Adjust values to suit. Also, move the \layout block outside the \score block and delete 'all' its content Hope this helps/works! Also note that you've misspelled top-margin. -David -- Jay Hamilton Sound and Silence www.soundand.com 206-328-7694 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Re; Margins- example
Hi Jay, On Sat, Jun 30, 2012 at 8:56 AM, Jay Hamilton j...@soundand.com wrote: Thank you this worked with a bit as you suggested of fidgeting. The one 'other' issue I have is that any staff size larger than 16 the 'copyright' is covered by the bass notes. I know that I could change stem direction for those few measures however then I'm going to run into problems with the stems for the cello overlapping. I tried a couple of things to put space above the markup of the copyright but nothing I tried worked. It's ordinary to use a smaller staff size in a full score of this size. You could also increase the paper size. At the very least, use a smaller staff size and change the orientation from landscape. You certainly won't be able to fit a 14-staff tutti on a letter-size page with your settings. (By the way, after the initial page, you can leave out staves of instruments not playing -- that will buy you some wiggle room.) Also, one of you said that you got compiling errors? I never got anything as an error message. So where/how did you see that? (oh I'm using win7) I get the warnings Bill mentioned, but I can't interpret them. (I'm using 2.15.40, BTW.) HTH, David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re; Margins- example
recap- Eluze wrote and asked for an example. I'm always afraid that my 'code' won't pass muster as I don't care about 'pretty' code only pretty output. But here is an example I apologize for the length. Please note that the indent for the left side works great but the right, top and bottom margins don't do anything. Thanks Jay ++ \version 2.14.1 \header { title = The Map subtitle = Theme 14 I wish to see the future composer = Jay Hamilton copyright = \markup { \tiny \override #'(baseline-skip . 0.5) \center-column { CC lic 2.5 some rights reserved Jay Hamilton 2012 see http://creativecommons.org/licenses/by-nd/2.5/; } } } #(ly:set-option 'delete-intermediate-files #t) duc = \relative c { \clef treble_8 \key c \major \time 4/4 \tempo 4 = 72 #(set-accidental-style 'forget) \set Staff.instrumentName = #D \set Staff.shortInstrumentName = #D \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 c8 a'8 [a] a [c] a a4 r8 r4 c,8 [a'] a [a] c a ~ a8 r c, a' a a c a a g f g4 r c,8 a'8 a c c a4 c,8 a' a8 d4 a8 g f d4 } %Duc \addlyrics { I wish to find a fu- ture, the fu- ture that is mine I wish to know what's com- ing 'round the bend How long can I go on? It seems the road goes for- ev- er } tsolo = \relative c' { \clef treble_8 \key c \major \time 3/8 #(set-accidental-style 'forget) \set Staff.instrumentName = #Tenor Solo \set Staff.shortInstrumentName = #T \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 r2 r8 c a a ~ a8 r8 r2. R1 c8 a a4 r2 R1 r2. r8 c, } \addlyrics { The fu- ture What's com- ing It } bsolo = \relative c { \clef bass \key c \major \time 3/8 #(set-accidental-style 'forget) \set Staff.instrumentName = #Bass/Baritone \set Staff.shortInstrumentName = #B \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 R1 c'8 a a4 r2 R1 r8 a g e4 r4. R1 R } \addlyrics { The fu- ture What's com- ing } enghrn = \relative c' { \clef treble \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Eng Hrn \set Staff.shortInstrumentName = #EH \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s s s s s } clarinet = \relative c' { \clef treble \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Clarinet \set Staff.shortInstrumentName = #Clr \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s s s s s} bassoon= \relative c { \clef bass \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Bassoon \set Staff.shortInstrumentName = #Bsn \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s s s s s } trumpet = \relative c' { \clef treble \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Trumpets \set Staff.shortInstrumentName = #Tpts \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s s s s s } frenchrn = \relative c { \clef bass \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Horns \set Staff.shortInstrumentName = #Hrn \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s s s s s } trombone = \relative c { \clef bass \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Trombone \set Staff.shortInstrumentName = #Tb \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s s s s s } tuba = \relative c { \clef bass \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Tuba \set Staff.shortInstrumentName = #Tu \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s s s s s } violin= \relative c' { \clef treble \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Violin \set Staff.shortInstrumentName = #Vln \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s s s s s } viola = \relative c' { \clef treble \key c \major \time 4/4 #(set-accidental-style 'forget) \set Staff.instrumentName = #Viola \set Staff.shortInstrumentName = #Vla \override Staff.TimeSignature #' style = #' () \override Score.BarNumber #'break-visibility = #end-of-line-invisible \partial 8 r8 s1 s
Re; Margins- example
Hi Jay, I think you need to set a \paper section to contain your page margins bits. The NR says The \paper variables that can appear in a \layout block are: line-width, ragged-right and ragged-last (see \paper variables for widths and margins) indent and short-indent (see \paper variables for shifts and indents) system-count (see \paper variables for line breaking) A good read of Section 4.1 of the Notation Reference shows what goes where... Hope this helps Regards Bill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Re; Margins- example
On 30/06/12 15:45, Jay Hamilton wrote: I actually tried a \paper block and to no avail so that's why I'm stumped. I tried it in layout and outside in its' own block nada. I'll reread the section you suggest but there's just something askew... Thanks for responding. Jay On Fri, Jun 29, 2012 at 4:56 PM, wjm mooney...@aim.com wrote: Hi Jay, I think you need to set a \paper section to contain your page margins bits. The NR says The \paper variables that can appear in a \layout block are: line-width, ragged-right and ragged-last (see \paper variables for widths and margins) indent and short-indent (see \paper variables for shifts and indents) system-count (see \paper variables for line breaking) A good read of Section 4.1 of the Notation Reference shows what goes where... Hope this helps Regards Bill Hi Jay, Try placing the following immediately after the line #(ly:set-option 'delete-intermediate-files #t) in your file. #(set-default-paper-size letter 'landscape) #(set-global-staff-size 16) %{ This set to 16, rather than 20, since 20 gives a compilation error about being unable to fit music on the page - compressing music to fit. Probably because you have so many instruments :) %} \paper { indent = 30 %these are, by default, mm short-indent = 25 %left-margin = 30 right-margin = 20 top-margine = 10 bottom-margin = 10 } Adjust values to suit. Also, move the \layout block outside the \score block and delete 'all' its content Hope this helps/works! Regards Bill ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user