Documentation/user/preface.itely: Use `--', not `---'.
Minor improvements.
* Documentation/user/introduction.itely: Minor improvements.
(Automated engraving): Make example using \applyOutput work
actually.
* input/regression/apply-output.ly: Improve.
+2006-11-05 Werner Lemberg <wl@gnu.org>
+
+ * Documentation/user/changing-defaults.itely,
+ Documentation/user/preface.itely: Use `--', not `---'.
+ Minor improvements.
+
+ * Documentation/user/introduction.itely: Minor improvements.
+ (Automated engraving): Make example using \applyOutput work
+ actually.
+
+ * input/regression/apply-output.ly: Improve.
+
2006-11-05 Han-Wen Nienhuys <hanwen@lilypond.org>
* lily/dynamic-engraver.cc:
@item forget
This is sort of the opposite of @code{no-reset}: Accidentals
-are not remembered at all---and hence all accidentals are
+are not remembered at all -- and hence all accidentals are
typeset relative to the key signature, regardless of what was
before in the music
@cindex regular rhythms
@cindex regular spacing
-The fragment only uses quarter notes: notes that are played in a
+Each bar in the fragment only uses notes that are played in a
constant rhythm. The spacing should reflect that. Unfortunately, the
eye deceives us a little; not only does it notice the distance between
note heads, it also takes into account the distance between
combination should be put farther apart, and the notes of a
down-stem/@/up-stem
combination should be put closer together, all depending on the
-combined vertical positions of the notes. The first two measures are
-printed with this correction, the last two measures without. The notes
-in the last two measures form down-stem/@/up-stem clumps of notes.
+combined vertical positions of the notes. The upper two measures are
+printed with this correction, the lower two measures without, forming
+down-stem/@/up-stem clumps of notes.
@cindex typography
fragment.
@lilypond[quote,ragged-right]
+#(set-global-staff-size 30)
+
#(define (mc-squared grob orig current)
- (let ((interfaces (ly:grob-property grob 'interfaces))
- (pos (ly:grob-property grob 'staff-position)))
- (if (and (memq 'note-head-interface interfaces)
- (memq pos '(-2 -3 -5)))
+ (let* ((interfaces (ly:grob-interfaces grob))
+ (pos (ly:grob-property grob 'staff-position)))
+ (if (memq 'note-head-interface interfaces)
(begin
(ly:grob-set-property! grob 'stencil ly:text-interface::print)
(ly:grob-set-property! grob 'font-family 'roman)
- (ly:grob-set-property!
- grob 'text
- (make-raise-markup
- -0.5
- (case pos
- ((-5) (make-simple-markup "m"))
- ((-3) (make-simple-markup "c "))
- ((-2) (make-smaller-markup (make-bold-markup "2")))
- (else (make-simple-markup "bla")))))))))
+ (ly:grob-set-property! grob 'text
+ (make-raise-markup -0.5
+ (case pos
+ ((-5) (make-simple-markup "m"))
+ ((-3) (make-simple-markup "c "))
+ ((-2) (make-smaller-markup (make-bold-markup "2")))
+ (else (make-simple-markup "bla")))))))))
\new Voice \relative c' {
\stemUp
\time 2/4
<d f g>4
\once \override NoteHead #'stencil = #ly:note-head::brew-ez-stencil
+ \once \override NoteHead #'font-size = #-7
+ \once \override NoteHead #'font-family = #'sans
+ \once \override NoteHead #'font-series = #'bold
<d f g>
\once \override NoteHead #'style = #'cross
<d f g>
It must have been during a rehearsal of the EJE (Eindhoven Youth
-Orchestra), somewhere in 1995 that Jan, one of the cranked violists
+Orchestra), somewhere in 1995 that Jan, one of the cranked violists,
told Han-Wen, one of the distorted French horn players, about the
grand new project he was working on. It was an automated system for
printing music (to be precise, it was MPP, a preprocessor for
an instrument. In the beginning, discovering how it works is fun, and
the things you cannot do are challenging. After the initial excitement,
you have to practice and practice. Scales and studies can be dull, and
-if you are not motivated by others---teachers, conductors or
-audience---it is very tempting to give up. You continue, and gradually
+if you are not motivated by others -- teachers, conductors or
+audience -- it is very tempting to give up. You continue, and gradually
playing becomes a part of your life. Some days it comes naturally, and
it is wonderful, and on some days it just does not work, but you keep
playing, day after day.
+\version "2.9.28"
-\version "2.9.6"
\header {
-
texidoc = "The @code{\applyOutput} expression is the most flexible way to
tune properties for individual grobs.
Here, the layout of a note head is changed depending on its vertical
position.
"
+}
+\layout {
+ ragged-right = ##t
}
-\layout { ragged-right = ##t }
-#(define (mc-squared gr org cur)
+#(define (mc-squared gr org cur)
(let*
(
(ifs (ly:grob-interfaces gr))
(sp (ly:grob-property gr 'staff-position))
)
- (if (and (memq 'note-head-interface ifs)
- (memq sp '(-2 -3 -5)))
+ (if (memq 'note-head-interface ifs)
(begin
(ly:grob-set-property! gr 'stencil ly:text-interface::print)
(ly:grob-set-property! gr 'font-family 'roman)
- (ly:grob-set-property!
- gr 'text
+ (ly:grob-set-property! gr 'text
(make-raise-markup -0.5
(case sp
((-5) (make-simple-markup "m"))
))))
)))
-\context Voice \relative c' {
+\context Voice \relative c' {
\stemUp
- \set autoBeaming = ##f
+ \set autoBeaming = ##f
+
{ <d f g b>8
- \applyOutput #'Voice #mc-squared
+ \applyOutput #'Voice #mc-squared
<d f g b>
}
-
}
+# EOF