[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: voltaOnThisStaff = false, not hiding staff volta bracket
From: |
Rick Hansen (aka RickH) |
Subject: |
Re: voltaOnThisStaff = false, not hiding staff volta bracket |
Date: |
Wed, 5 Apr 2006 20:53:15 -0700 (PDT) |
I got it working properly by using \with instead of \set. I use 2 chord
names staffs below, one for the melody chords and another for the rhythm
player. The chords are now snuggled under the volta bracket nicely. Here
is my code:
%{
Master Template For Guitar Melody/Chord Arrangements
To use this template set the variables that begin with "var" then
include
this file at the bottom of your song.
%}
#(set-default-paper-size "letter" 'portrait)
\paper {
paper-width = 8.5\in
paper-height = 11.0\in
left-margin = 0.5\in
top-margin = 0.0\mm
bottom-margin = 0.0\mm
}
#(set-global-staff-size 18)
#(ly:set-option 'point-and-click #f)
\layout {
ragged-right = ##f
indent = 0.25\in
line-width = 7.5\in
\context { \Score
\override RemoveEmptyVerticalGroup #'remove-first = ##t
\override RehearsalMark #'break-align-symbol = #'clef
}
\context { \ChordNames
\override ChordName #'font-size = #-0
}
\context { \Lyrics
\override LyricSpace #'minimum-distance = #0.6
\override LyricText #'font-shape = #'italic
\override LyricText #'font-size = #-1
}
}
\header {
dedication = \varDedication
title = \varTitle
subtitle = \varSubTitle
subsubtitle = \varSubSubTitle
composer = \varComposer
opus = \varOpus
piece = \varPiece
meter = \varMeter
instrument = \varInstrument
arranger = \varArranger
poet = \varPoet
texttranslator = \varTextTranslator
copyright = \varCopyright
}
\score {
<<
\new ChordNames \with {
voltaOnThisStaff = ##t
chordChanges = ##t
chordNameSeparator = \markup { \typewriter "" }
}
{
\varChordsMelody
}
\new Staff \with {
voltaOnThisStaff = ##f
}
{
\clef "G_8"
\mark \markup{ \hspace #0 \raise #1.5 \varStyle }
\varKey
\varTime
<<
\new Voice="voiceMelody" { \voiceOne \varVoiceMelody \oneVoice
} \\
\new Voice="voiceInner"
{\voiceThree \stemNeutral \varVoiceInner \oneVoice } \\
\new Voice="voiceBass"
{ \voiceTwo \varVoiceBass \oneVoice }
>>
\oneVoice
}
\new ChordNames \with {
voltaOnThisStaff = ##f
chordChanges = ##t
chordNameSeparator = \markup { \typewriter "" }
}
{
\varChordsRhythm
}
\new Lyrics \with {
minimumVerticalExtent = #'(-4.0 . 2.4)
} \lyricsto "voiceMelody" \varLyricsOne
\new Lyrics \with {
minimumVerticalExtent = #'(-4.0 . 2.4)
} \lyricsto "voiceMelody" \varLyricsTwo
>>
}
--
View this message in context:
http://www.nabble.com/voltaOnThisStaff-%3D-false%2C-not-hiding-staff-volta-bracket-t1390945.html#a3777868
Sent from the Gnu - Lilypond - User forum at Nabble.com.