]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/property-init.ly
*** empty log message ***
[lilypond.git] / ly / property-init.ly
index b48865dd8cde28d4d6c14e6155401c780e8cfbc9..f8fc46ef4e0135538b9ee8dbfc789642e65e275d 100644 (file)
@@ -1,14 +1,14 @@
 % property-init.ly
 
-\version "2.1.26"
+\version "2.4.0"
 
 stemUp = \override Stem  #'direction = #1
 stemDown = \override Stem  #'direction = #-1 
-stemBoth= \revert Stem #'direction
+stemNeutral= \revert Stem #'direction
 
 slurUp = \override Slur  #'direction = #1
 slurDown = \override Slur  #'direction = #-1
-slurBoth = \revert Slur #'direction 
+slurNeutral = \revert Slur #'direction 
 
 % There's also dash, but setting dash period/length should be fixed.
 slurDotted = \override Slur  #'dashed = #1
@@ -17,7 +17,7 @@ slurSolid = \revert Slur #'dashed
 
 phrasingSlurUp = \override PhrasingSlur  #'direction = #1
 phrasingSlurDown = \override PhrasingSlur  #'direction = #-1
-phrasingSlurBoth = \revert PhrasingSlur #'direction 
+phrasingSlurNeutral = \revert PhrasingSlur #'direction 
 
 shiftOn = \override NoteColumn  #'horizontal-shift = #1
 shiftOnn = \override NoteColumn  #'horizontal-shift = #2
@@ -26,45 +26,45 @@ shiftOff = \revert NoteColumn #'horizontal-shift
 
 tieUp = \override Tie  #'direction = #1
 tieDown = \override Tie  #'direction = #-1
-tieBoth = \revert Tie #'direction 
+tieNeutral = \revert Tie #'direction 
 
 tieDotted = \override Tie  #'dashed = #1
 tieSolid = \revert Tie #'dashed
 
+setEasyHeads = \sequential {
+       \override NoteHead #'print-function = #Note_head::brew_ez_stencil
+       \override NoteHead #'Y-extent-callback = #'()
+       \override NoteHead #'X-extent-callback = #'()
+}
+
+aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti)
+
+sacredHarpHeads =
+  \set shapeNoteStyles = ##(#f #f mi #f fa la #f)
 
 dynamicUp = {
   \override DynamicText  #'direction = #1
   \override DynamicLineSpanner  #'direction = #1
 }
+
 dynamicDown = {
   \override DynamicText  #'direction = #-1
   \override DynamicLineSpanner  #'direction = #-1
 }
-dynamicBoth = {
+
+dynamicNeutral = {
   \revert DynamicText #'direction
   \revert DynamicLineSpanner #'direction
 }
 
-scriptUp = {
-  \override TextScript  #'direction = #1
-  \override Script  #'direction = #1
-}
-scriptDown = {
-  \override TextScript  #'direction = #-1
-  \override Script  #'direction = #-1
-}
-scriptBoth = {
-  \revert TextScript #'direction
-  \revert Script #'direction
-}
 
 dotsUp = \override Dots  #'direction = #1
 dotsDown = \override Dots  #'direction = #-1
-dotsBoth = \revert Dots #'direction 
+dotsNeutral = \revert Dots #'direction 
 
 tupletUp = \override TupletBracket  #'direction = #1
 tupletDown = \override TupletBracket  #'direction = #-1
-tupletBoth = \revert TupletBracket #'direction
+tupletNeutral = \revert TupletBracket #'direction
 
 cadenzaOn = \set Timing.timing = ##f
 cadenzaOff = {
@@ -72,15 +72,6 @@ cadenzaOff = {
   \set Timing.measurePosition = #(ly:make-moment 0 1)
 }
 
-newpage = \notes
-{
-  \break
-  % urg, only works for TeX output
-  \context Score \applyoutput
-  #(outputproperty-compatibility (make-type-checker 'paper-column-interface)
-    'between-system-string "\\newpage")
-}
-
 % dynamic ly:dir?  text script, articulation script ly:dir?    
 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
@@ -101,7 +92,7 @@ normalsize = {
 
 
 % End the incipit and print a ``normal line start''.
-endincipit = \notes \context Staff {
+endincipit =  \context Staff {
     \partial 16 s16  % Hack to handle e.g. \bar ".|" \endincipit
     \once \override Staff.Clef  #'full-size-change = ##t
     \once \override Staff.Clef  #'non-default = ##t
@@ -119,13 +110,6 @@ hideStaffSwitch = \set followVoice = ##f
 
 
 
-% To remove a Volta bracket or some other graphical object,
-% set it to turnOff. Example: \set Staff.VoltaBracket = \turnOff
-
-%%
-%% DO NOT USE THIS. IT CAN LEAD TO CRASHES.
-turnOff = #(cons '() '())
-
 % For drawing vertical chord brackets with \arpeggio
 % This is a shorthand for the value of the print-function property 
 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether 
@@ -141,7 +125,7 @@ arpeggioDown = \sequential {
   \revert Arpeggio  #'print-function
   \override Arpeggio  #'arpeggio-direction = #-1
 }
-arpeggioBoth = \sequential {
+arpeggioNeutral = \sequential {
   \revert Arpeggio  #'print-function
   \revert Arpeggio  #'arpeggio-direction
 }
@@ -153,26 +137,23 @@ glissando = #(make-music 'GlissandoEvent)
 
 fermataMarkup = \markup { \musicglyph #"scripts-ufermata" } 
 
-setMmRestFermata =
-  \once \override MultiMeasureRestNumber  #'text =
-    #fermataMarkup 
-
-
 hideNotes =\sequential {
-                               % hide notes, accidentals, etc.
-    \override Dots  #'transparent = ##t
-    \override NoteHead  #'transparent = ##t
-    \override Stem  #'transparent = ##t
-    \override Beam  #'transparent = ##t
-    \override Staff.Accidental  #'transparent = ##t
+  % hide notes, accidentals, etc.
+  \override Dots  #'transparent = ##t
+  \override NoteHead  #'transparent = ##t
+  \override NoteHead  #'no-ledgers = ##t
+  \override Stem  #'transparent = ##t
+  \override Beam  #'transparent = ##t
+  \override Accidental  #'transparent = ##t
 }
 
 
 unHideNotes = \sequential {
-  \revert Staff.Accidental #'transparent
+  \revert Accidental #'transparent
   \revert Beam #'transparent
   \revert Stem #'transparent
   \revert NoteHead #'transparent
+  \revert NoteHead #'no-ledgers
   \revert Dots #'transparent 
 }
 
@@ -184,3 +165,15 @@ semiGermanChords = {
     \set chordRootNamer = #(chord-name->german-markup #f)
     \set chordNoteNamer = #note-name->german-markup
 }
+
+
+
+improvisationOn =  {
+    \set squashedPosition = #0
+    \override NoteHead  #'style = #'slash
+}
+
+improvisationOff =  {
+    \unset squashedPosition 
+    \revert NoteHead #'style
+}