[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file structure (hierarchy) - where to put \set
From: |
Kieren MacMillan |
Subject: |
Re: file structure (hierarchy) - where to put \set |
Date: |
Tue, 12 Feb 2008 07:14:34 -0500 |
Hi Andrew,
My view is that it is preferable to put the skipBars (and other \set
commands) into a section away from the music.
I also believe that.
Any hints as to where I am going wrong,
When the skipBars property is being set, you need to use \set only if
it's inline (inside the music); if it's in the \context block or some
other meta-musical position, you simply need the property name.
The attached example shows the setting in three equivalent locations/
versions.
Hope this helps!
Kieren.
__________________________
\version "2.10.25"
\score
{
%% here, the setting is "inline" with the music expression
{
\set Score.skipBars = ##t
R1*10
}
}
\score
{
%% here, we first include the music expression...
{ R1*10 }
%% and then the setting inside a \layout block for this \score
\layout
{
\context
{
\Score
skipBars = ##t
}
}
}
\score
{
%% here, we explicitly use \new Score, so that we can put the
setting inside a \with block
\new Score \with { skipBars = ##t }
{ R1*10 }
}
- file structure (hierarchy), Werner, 2008/02/11
- Re: file structure (hierarchy), Graham Percival, 2008/02/12
- Re: file structure (hierarchy), Andrew Black, 2008/02/13
- Re: file structure (hierarchy), Mats Bengtsson, 2008/02/13
- Re: file structure (hierarchy), Bertalan Fodor (LilyPondTool), 2008/02/13
- Re: file structure (hierarchy), Mats Bengtsson, 2008/02/13
- RE: file structure (hierarchy), Trevor Daniels, 2008/02/13
- Re: file structure (hierarchy), Werner, 2008/02/13