[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: RE:Right brace problem
From: Stephen MacNeil <classicaljam01 () gmail ! com>
Date: 2015-02-24 0:46:41
Message-ID: CALVCDHykCUTofAUd0_-wF5tHQXwGf2B6o-L-ZAk9XJVpiJ5HBg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
like this?
\version "2.18.2"
\header {
title = "Whiskey in the Jar"
subtitle = ""
composer = ""
instrument = ""
% arranger = ""
opus = ""
style = "Folk"
copyright = " ©Stephen MacNeil 2014"
source = ""
piece = ""
tagline = ""
}
global = {
\key c \major
\time 4/4
}
\paper {
% page-count = 1
top-margin = #5
bottom-margin = #8
system-system-spacing #'basic-distance = #25
%{ score-system-spacing =
#'((basic-distance . 12)
(minimum-distance . 6)
(padding . 1)
(stretchability . 12))
%}
}
chordNames = \chordmode {
\global
s4 c1 s a:m s f s c s c s a:m s f s c s |
g s c s a f c2 g c2.
}
% Replace brace150 by whatever between brace0 and brace575 that is of a
% suitable size.
leftbrace = \markup {
\override #'(font-encoding . fetaBraces)
\lookup #"brace150"
}
% In some versions earlier than 20.10.20, the argument to \rotate was
% erroneously treated as radians instead of degrees, i.e. #3.14 was
% needed instead of #180
rightbrace = \markup {
\rotate #180
\leftbrace
}
firstverse = \lyricmode {
\set stanza = "1."
As I was go -- ing ov -- er the Kil -- ma -- gen -- ny moun -- tain.
I met with cap -- tain Far -- rell and his mo -- ney he was coun -- ting.
I first pro -- duced my pis -- tol, and then pro -- duced my ra -- pier.
Say -- ing stand and de -- li -- ver, for you are a bold de -- cei -- ver,
with your
}
secondverse = \lyricmode {
\set stanza = "2."
I coun -- ted out his mon -- ey, it made a pret -- ty pen -- ny.
I put it in my poc -- ket and I took it home to Jen -- ny.
She swo -- re that she loved me, that ne -- ver would she leave me,
but the devil take that wo -- man, for you kn -- ow she tric -- ked me ea
-- sy
}
thirdverse = \lyricmode {
\set stanza = "3."
It was early in the morn -- ing, be -- fore I rose to tra -- vel,
up ca -- me a band of foot -- men and like -- wise cap -- tain Far -- rel.
I first prod -- uced my pis -- tol, for she stole away my rap -- ier,
a -- nd I could -- n't shoot the cap -- tain so a pris -- oner I was ta --
ken.
}
fourthverse = \lyricmode {
\set stanza = "4."
Now some men they like drink -- ing and some men they like fight -- ing.
And some men like to he -- ar, the sound of the cannon ball roar -- ing
Me, -- e I like slee -- p -- ing spe -- cial -- ly in Jenny's cham -- --
bers
But here I am in pri -- son, here I am with a ball and chain ye -- ah
}
fifthverse = \lyricmode {
\set stanza = "5."
As I was go -- ing ov -- er the Kil -- mag -- en -- ny moun -- tain
I met with cap -- tain Far -- rell and his mon -- ey he was count -- ing.
I first pro -- duced my pis -- tol, and then pro -- duced my rap -- ier.
Sa -- id stand and de -- li -- ver, for you are a bold de -- cei -- ver,
with your
}
lyricsfrombrace = \lyricmode { \markup { \rightbrace ring }
dum -- ma do dam -- ma da
whack for the dad -- dy 'ol
whack for the dad -- dy 'ol
there's whis -- key in the jar
}
\markup { \vspace #1.5
}
melody = \relative c''{
\partial 4
\tempo 4 = 180
%Verse
g4^ \markup \bold \box "Verse:" |
e g g a |
g e2 d4 |
e a a b |\break
a e2 g4 |
a a a a |
c8 c4. b4 a |
g g c b |\break
a e2 g4 |
e g g a |
g e2 d4 |
e a a b |\break
a e2 g8 g |
a2 a4. b8 |
c4 c b a |
g g c4. b8 |\break
a g4. e4 c |
%Chorus
\bar "||"
d ^ \markup \bold \box "Chorus:" d8 d d d c4 |
d1 |
a'4\rest e e4.d8 |\break
e4 g g2 |
a4\rest a a4. g8 |
a4 b c4. a8 |
g4 e d e |
c2. |
\bar "|."
}
\score{
<<
\new ChordNames \chordNames
\new Voice = m \melody
\new Lyrics \lyricsto m \firstverse
\new Lyrics \lyricsto m {\secondverse \lyricsfrombrace }
\new Lyrics \lyricsto m \thirdverse
\new Lyrics \lyricsto m \fourthverse
% \new Lyrics \lyricsto m \fifthverse
>>
\layout { }
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 180 4)
}
}
}
[Attachment #5 (text/html)]
<div dir="ltr">
<p style="margin:0px;text-indent:0px">like this?<br></p><p \
style="margin:0px;text-indent:0px"><br></p><p \
style="margin:0px;text-indent:0px"><br></p><p \
style="margin:0px;text-indent:0px">\version "2.18.2"</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">\header {</p> <p \
style="margin:0px;text-indent:0px"> title = "Whiskey in the Jar"</p> <p \
style="margin:0px;text-indent:0px"> subtitle = ""</p> <p \
style="margin:0px;text-indent:0px"> composer = ""</p> <p \
style="margin:0px;text-indent:0px"> instrument = ""</p> <p \
style="margin:0px;text-indent:0px"> % arranger = ""</p> <p \
style="margin:0px;text-indent:0px"> opus = ""</p> <p \
style="margin:0px;text-indent:0px"> style = "Folk"</p> <p \
style="margin:0px;text-indent:0px"> copyright = " ©Stephen MacNeil \
2014"</p> <p style="margin:0px;text-indent:0px"> source = ""</p>
<p style="margin:0px;text-indent:0px"> piece = ""</p>
<p style="margin:0px;text-indent:0px"> tagline = ""</p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px">global = {</p>
<p style="margin:0px;text-indent:0px"> \key c \major</p>
<p style="margin:0px;text-indent:0px"> \time 4/4</p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px">\paper {</p>
<p style="margin:0px;text-indent:0px"> % page-count = 1</p>
<p style="margin:0px;text-indent:0px"> top-margin = #5</p>
<p style="margin:0px;text-indent:0px"> bottom-margin = #8</p>
<p style="margin:0px;text-indent:0px"> system-system-spacing #'basic-distance = \
#25</p> <p style="margin:0px;text-indent:0px"> %{ score-system-spacing =</p>
<p style="margin:0px;text-indent:0px"> #'((basic-distance . 12)</p>
<p style="margin:0px;text-indent:0px"> (minimum-distance . 6)</p>
<p style="margin:0px;text-indent:0px"> (padding . 1)</p>
<p style="margin:0px;text-indent:0px"> (stretchability . 12))</p>
<p style="margin:0px;text-indent:0px"> %}</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px">chordNames = \chordmode {</p>
<p style="margin:0px;text-indent:0px"> \global</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px"> s4 c1 s a:m s f s c s c s a:m s f s c s |</p>
<p style="margin:0px;text-indent:0px"> g s c s a f c2 g c2.</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">% Replace brace150 by whatever between brace0 \
and brace575 that is of a</p> <p style="margin:0px;text-indent:0px">% suitable \
size.</p> <p style="margin:0px;text-indent:0px">leftbrace = \markup {</p>
<p style="margin:0px;text-indent:0px"> \override #'(font-encoding . fetaBraces) \
</p> <p style="margin:0px;text-indent:0px"> \lookup #"brace150" </p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">% In some versions earlier than 20.10.20, the \
argument to \rotate was</p> <p style="margin:0px;text-indent:0px">% erroneously \
treated as radians instead of degrees, i.e. #3.14 was</p> <p \
style="margin:0px;text-indent:0px">% needed instead of #180</p> <p \
style="margin:0px;text-indent:0px">rightbrace = \markup { </p> <p \
style="margin:0px;text-indent:0px"> \rotate #180 </p> <p \
style="margin:0px;text-indent:0px"> \leftbrace </p> <p \
style="margin:0px;text-indent:0px">}</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">firstverse = \lyricmode { </p> <p \
style="margin:0px;text-indent:0px">\set stanza = "1."</p> <p \
style="margin:0px;text-indent:0px">As I was go -- ing ov -- er the Kil -- ma -- gen \
-- ny moun -- tain.</p> <p style="margin:0px;text-indent:0px">I met with cap -- tain \
Far -- rell and his mo -- ney he was coun -- ting.</p> <p \
style="margin:0px;text-indent:0px">I first pro -- duced my pis -- tol, and then pro \
-- duced my ra -- pier.</p> <p style="margin:0px;text-indent:0px">Say -- ing stand \
and de -- li -- ver, for you are a bold de -- cei -- ver, with your</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">}</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">secondverse = \lyricmode {</p> <p \
style="margin:0px;text-indent:0px">\set stanza = "2."</p> <p \
style="margin:0px;text-indent:0px">I coun -- ted out his mon -- ey, it made a pret -- \
ty pen -- ny.</p> <p style="margin:0px;text-indent:0px">I put it in my poc -- ket and \
I took it home to Jen -- ny.</p> <p style="margin:0px;text-indent:0px">She swo -- re \
that she loved me, that ne -- ver would she leave me,</p> <p \
style="margin:0px;text-indent:0px">but the devil take that wo -- man, for you kn -- \
ow she tric -- ked me ea -- sy</p> <p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">thirdverse = \lyricmode {</p>
<p style="margin:0px;text-indent:0px">\set stanza = "3."</p>
<p style="margin:0px;text-indent:0px">It was early in the morn -- ing, be -- fore I \
rose to tra -- vel,</p> <p style="margin:0px;text-indent:0px">up ca -- me a band of \
foot -- men and like -- wise cap -- tain Far -- rel.</p> <p \
style="margin:0px;text-indent:0px">I first prod -- uced my pis -- tol, for she stole \
away my rap -- ier,</p> <p style="margin:0px;text-indent:0px">a -- nd I could -- \
n't shoot the cap -- tain so a pris -- oner I was ta -- ken.</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">}</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">fourthverse = \lyricmode {</p> <p \
style="margin:0px;text-indent:0px">\set stanza = "4."</p> <p \
style="margin:0px;text-indent:0px">Now some men they like drink -- ing and some men \
they like fight -- ing.</p> <p style="margin:0px;text-indent:0px">And some men like \
to he -- ar, the sound of the cannon ball roar -- ing</p> <p \
style="margin:0px;text-indent:0px">Me, -- e I like slee -- p -- ing spe -- cial -- ly \
in Jenny's cham -- -- bers</p> <p style="margin:0px;text-indent:0px">But here I \
am in pri -- son, here I am with a ball and chain ye -- ah</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">}</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">fifthverse = \lyricmode {</p> <p \
style="margin:0px;text-indent:0px">\set stanza = "5."</p> <p \
style="margin:0px;text-indent:0px">As I was go -- ing ov -- er the Kil -- mag -- en \
-- ny moun -- tain</p> <p style="margin:0px;text-indent:0px">I met with cap -- tain \
Far -- rell and his mon -- ey he was count -- ing.</p> <p \
style="margin:0px;text-indent:0px">I first pro -- duced my pis -- tol, and then pro \
-- duced my rap -- ier.</p> <p style="margin:0px;text-indent:0px">Sa -- id stand and \
de -- li -- ver, for you are a bold de -- cei -- ver, with your</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">}</p> <p \
style="margin:0px;text-indent:0px"><br></p> <p \
style="margin:0px;text-indent:0px">lyricsfrombrace = \lyricmode { \markup { \
\rightbrace ring }</p> <p style="margin:0px;text-indent:0px">dum -- ma do dam -- ma \
da</p> <p style="margin:0px;text-indent:0px">whack for the dad -- dy 'ol</p>
<p style="margin:0px;text-indent:0px">whack for the dad -- dy 'ol</p>
<p style="margin:0px;text-indent:0px">there's whis -- key in the jar</p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px"> \markup { \vspace #1.5 </p>
<p style="margin:0px;text-indent:0px"> }</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">melody = \relative c''{ </p>
<p style="margin:0px;text-indent:0px"> \partial 4</p>
<p style="margin:0px;text-indent:0px"> \tempo 4 = 180</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"> %Verse</p>
<p style="margin:0px;text-indent:0px"> g4^ \markup \bold \box "Verse:" \
|</p> <p style="margin:0px;text-indent:0px"> e g g a |</p>
<p style="margin:0px;text-indent:0px"> g e2 d4 |</p>
<p style="margin:0px;text-indent:0px"> e a a b |\break</p>
<p style="margin:0px;text-indent:0px"> a e2 g4 |</p>
<p style="margin:0px;text-indent:0px"> a a a a |</p>
<p style="margin:0px;text-indent:0px"> c8 c4. b4 a |</p>
<p style="margin:0px;text-indent:0px"> g g c b |\break</p>
<p style="margin:0px;text-indent:0px"> a e2 g4 |</p>
<p style="margin:0px;text-indent:0px"> e g g a |</p>
<p style="margin:0px;text-indent:0px"> g e2 d4 |</p>
<p style="margin:0px;text-indent:0px"> e a a b |\break</p>
<p style="margin:0px;text-indent:0px"> a e2 g8 g |</p>
<p style="margin:0px;text-indent:0px"> a2 a4. b8 |</p>
<p style="margin:0px;text-indent:0px"> c4 c b a |</p>
<p style="margin:0px;text-indent:0px"> g g c4. b8 |\break</p>
<p style="margin:0px;text-indent:0px"> a g4. e4 c |</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px"> %Chorus</p>
<p style="margin:0px;text-indent:0px"> \bar "||"</p>
<p style="margin:0px;text-indent:0px"> d ^ \markup \bold \box "Chorus:" d8 \
d d d c4 |</p> <p style="margin:0px;text-indent:0px"> d1 |</p>
<p style="margin:0px;text-indent:0px"> a'4\rest e e4.d8 |\break</p>
<p style="margin:0px;text-indent:0px"> e4 g g2 |</p>
<p style="margin:0px;text-indent:0px"> a4\rest a a4. g8 |</p>
<p style="margin:0px;text-indent:0px"> a4 b c4. a8 |</p>
<p style="margin:0px;text-indent:0px"> g4 e d e |</p>
<p style="margin:0px;text-indent:0px"> c2. |</p>
<p style="margin:0px;text-indent:0px"> \bar "|."</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">\score{</p>
<p style="margin:0px;text-indent:0px"> <<</p>
<p style="margin:0px;text-indent:0px"> \new ChordNames \chordNames</p>
<p style="margin:0px;text-indent:0px"> \new Voice = m \melody</p>
<p style="margin:0px;text-indent:0px"> \new Lyrics \lyricsto m \firstverse</p>
<p style="margin:0px;text-indent:0px"> \new Lyrics \lyricsto m {\secondverse \
\lyricsfrombrace }</p> <p style="margin:0px;text-indent:0px"> \new Lyrics \
\lyricsto m \thirdverse</p> <p style="margin:0px;text-indent:0px"> \new Lyrics \
\lyricsto m \fourthverse</p> <p style="margin:0px;text-indent:0px"> % \new Lyrics \
\lyricsto m \fifthverse</p> <p style="margin:0px;text-indent:0px"> >></p>
<p style="margin:0px;text-indent:0px"> \layout { }</p>
<p style="margin:0px;text-indent:0px"> \midi {</p>
<p style="margin:0px;text-indent:0px"> \context {</p>
<p style="margin:0px;text-indent:0px"> \Score</p>
<p style="margin:0px;text-indent:0px"> tempoWholesPerMinute = #(ly:make-moment \
180 4)</p> <p style="margin:0px;text-indent:0px"> }</p>
<p style="margin:0px;text-indent:0px"> }</p>
<p style="margin:0px;text-indent:0px">}</p>
<p style="margin:0px;text-indent:0px"><br></p></div>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic