Re: Using Variables
Johannes Roeßler writes: > Hi Group, > > I try to define this: > > neo = {\once \override NoteHead.style = #'neomensural} > > but it leads to errors in the following parts (no error message > regarding the variable definition though...) > > What am I doing wrong? You are not posting your actual code and your actual error messages. The above will fail because of a missing space after neomensural alone. Please try to come up with a complete small example exhibiting your problem. -- David Kastrup
Using Variables
Hi Group, I try to define this: neo = {\once \override NoteHead.style = #'neomensural} but it leads to errors in the following parts (no error message regarding the variable definition though...) What am I doing wrong? Best regards Joei
Reducing properties junk using variables
Hi.. I have a lot of properties junk that I use to override some properties in each file of my song book so i was thinking that I could make some include files eg config.ly. In what way could i define this functions from what I have. \new ChordNames { \semiGermanChords \override ChordName #'font-size = #3 \override ChordName #'font-name = #Free Serif \set chordRootNamer = #my-chord-name-pop-markup \set chordChanges = ##t \chords } So i whould only use something like that: \new ChordNames { \mySettings \chords } Thanks. -- *Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. Izreke 12:18* ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Reducing properties junk using variables
2011/10/13 Stjepan Horvat zvanste...@gmail.com: Hi.. I have a lot of properties junk that I use to override some properties in each file of my song book so i was thinking that I could make some include files eg config.ly. In what way could i define this functions from what I have. \new ChordNames { \semiGermanChords \override ChordName #'font-size = #3 \override ChordName #'font-name = #Free Serif \set chordRootNamer = #my-chord-name-pop-markup \set chordChanges = ##t \chords } So i whould only use something like that: \new ChordNames { \mySettings \chords } Did you try simply mySettings = { \semiGermanChords \override ChordName #'font-size = #3 \override ChordName #'font-name = #Free Serif \set chordRootNamer = #my-chord-name-pop-markup \set chordChanges = ##t } \new ChordNames { \mySettings \chords } ? Or alternatively you could define you settings in the layout block : \layout { \context { \ChordNames % semiGermanChords chordRootNamer = #(chord-name-german-markup #f) chordNoteNamer = #note-name-german-markup \override ChordName #'font-size = #3 \override ChordName #'font-name = #Free Serif chordRootNamer = #my-chord-name-pop-markup chordChanges = ##t } } Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user