[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: General settings in ext file
From: |
Mark Polesky |
Subject: |
Re: General settings in ext file |
Date: |
Thu, 9 Apr 2009 17:12:04 -0700 (PDT) |
Easiest to save both files in the same folder
(directory). If you have a lot of files in
separate folders, you can put your preferences
in a separate folder, but you need to add a
search path to the default LilyPond arguments.
On Windows, it might be something like this:
--include=C:/Documents and Settings/Mark/My Documents/lilypond/preferences/
As an example - the preferences file here
colors noteheads red. The \layout blocks
"cascade", so even though the \layout block
in the preferences file is outside of the
\score blocks, it still works as if it were
inside of them.
Hope this helps.
- Mark
__________________________________
%% my_preferences.ly
\version "2.13.0"
\layout {
\context {
\Voice
\override NoteHead #'color = #red
}
}
__________________________________
%% my_file.ly
\version "2.13.0"
\include "my_preferences.ly"
\score {
\relative { c' }
}
\score {
\relative { c' }
\layout { indent = #30 }
}
__________________________________
layout.png
Description: PNG image