lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re; Margins- example


From: Jay Hamilton
Subject: Re; Margins- example
Date: Fri, 29 Jun 2012 15:19:54 -0700

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 s s s s
        }
cello = \relative c
{
\clef bass
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #"Cello "
\set Staff.shortInstrumentName = #"Cel "
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible               
\partial 8
r8 
s1 s s s s s
        }
cbass = \relative c,
{
\clef "bass_8"
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #"C'bass "
\set Staff.shortInstrumentName = #"CB "
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible               
\partial 8
r8
c^\markup {\italic pizz.} a' c, a' c, a' c, a' 
c, a' c, a' c, a' c, a'
c, a' c, a' c, a' c, a' 
c, a' c, g' c, g' c, g'
c, a' c, a' c, a' c, a'
c, g' c, a' c, g' d a'

        }                
%============
\score {
<<
\new ChoirStaff
<<
\new Staff \duc
\new Staff \tsolo
\new Staff \bsolo
>>
\new StaffGroup
 <<
\new Staff \enghrn
\new Staff \clarinet
\new Staff \bassoon
>>
\new StaffGroup
<<
\new Staff \trumpet
\new Staff \frenchrn
\new Staff \trombone
\new Staff \tuba
>>
\new StaffGroup
<<
\new Staff \violin
\new Staff \viola
\new Staff \cello
\new Staff \cbass
>>
>>
\layout {
#(set-default-paper-size "letter" 'landscape)
indent = 3.0\cm
short-indent = 2.5\cm
right-margin = 2.0\cm
top-margine = 3.0\cm
bottom-margin = 3.0\cm
   #(layout-set-staff-size 20)
 }
\midi { }
}       



--
Jay Hamilton Sound and Silence www.soundand.com 206-328-7694


reply via email to

[Prev in Thread] Current Thread [Next in Thread]