[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guitar music notation issues
From: |
Werner LEMBERG |
Subject: |
Re: guitar music notation issues |
Date: |
Thu, 21 Aug 2008 10:13:35 +0200 (CEST) |
> 2. The last two lines in the code are identical, except that the
> last one has right hand fingering notated. Uncomment that last line
> and the same sort of right hand fingering notation that works in
> measure one suddenly makes the compliler nuts.
It's a simple syntax clash -- you have to add a few more spaces to
tell lilypond where your scheme expression (this is the stuff starting
with `#' ends). I've prettified your code a bit, and it compiles
fine. You can fine-tune the positions of graphical objects (`grobs'
in lilypond speak) with extra-offset (search this keyword in the manual).
BTW, don't intermix slurs with ties. The latter uses `~' between
notes, the former uses the `(' and `)' suffixes.
Werner
======================================================================
\version "2.11.56"
#(set-global-staff-size 20) % 20 this is said to be standard for most scores
\paper {
#(set-default-paper-size "letter" 'portrait)
ragged-last-bottom = ##t % turns off vertical justify
left-margin = 0.6\in
line-width = 7\in % works better than specifying R-margin
bottom-margin = .7\in
top-margin = 0.7\in
}
\layout {
indent = 0.0\cm % remove indent on first staff
}
\header {
title = "Prelude #1 for classical guitar"
subtitle = "An etude for walking with angels (2007.06.04)"
composer = "Tom Cloyd"
tagline = \markup { \small "score set by Tom Cloyd - with Lilipond -
address@hidden" } % this is the copyright line
}
#(define RH rightHandFinger)
\new Staff {
\key g \major
\override Staff.TimeSignature #'style = #'()
% this prints numerical time signatures
\time 5/4
\partial 2
<< { r4^"Lento" < e''\1-\RH#2 fis''-1\3-\RH#3 g''-4\2-\RH#4 >4\fermata } \\
{ e4 ~ e\fermata } >> |
\relative c''{
\times 2/3 { e8[ fis\3 g]\2 } e4 e e e |
\times 2/3 { e8[-\RH#3 fis\3-\RH#1 g]\2-\RH#2 } e4 e e e |
}
}