[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:19:53 +0200 (CEST) |
> 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.
Oops. I missed that some fingering notation only works in chords
(which you have to use for the syntax even for a single note). Here
an updated version.
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 { <e>8[ <fis\3> <g\2>] } e4 e e e |
\times 2/3 { <e-\RH#3 >8[ <fis\3-\RH#1 > <g\2-\RH#2 >] } e4 e e e |
}
}