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 }
}
__________________________________



      

<<attachment: layout.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to