a half note is entered using a @code{2} (since it is a 1/2 note). For notes
longer than a whole you must use variables:
-@c FIXME: what is an identifier? I do not think it's been introduced yet.
-@c and if it has, I obviously skipped that part. - Graham
-
@example
c'\breve
c'1 c'2 c'4 c'8 c'16 c'32 c'64 c'64
\translator {
\StaffContext
\remove "Clef_engraver"
- \remove "Staff_symbol_engraver"
- \remove "Time_signature_engraver"
+ StaffSymbol \set #'transparent = ##t
+ TimeSignature \set #'transparent = ##t
\consists "Pitch_squash_engraver"
}
}
In the following examples, notes crossing the barline are split and tied.
-@lilypond[noindent,verbatim]
+@lilypond[noindent,verbatim,relative=1]
\new Voice \with {
\remove "Note_heads_engraver"
\consists "Completion_heads_engraver"
@end example
This results in the following output:
+
@lilypond[raggedright]
upper = \notes \relative c {
\clef "treble"
empty.
The final result is
-@lilypond[verbatim,linewidth=6.0\cm]
+@lilypond[verbatim,fragment]
\score {
\notes <<
\relative c' \new Voice {
@example
\lyrics @{ I want to break free __ @}
@end example
-@lilypond[]
+@lilypond[raggedright]
\score {
\notes <<
\relative c' \new Voice {
code. A script called @code{lilypond-book} will extract the music
fragments, run LilyPond on them, and put back the resulting notation.
This program is fully described in @ref{lilypond-book manual}. Here
-we show a small example; since the example contains also explanatory
-text, we will not comment it further:
+we show a small example. The example contains also explanatory text,
+so we will not comment it further:
@example
\documentclass[a4paper]@{article@}
$ lilypond-book --output=out/ lilybook.tex
lilypond-book (GNU LilyPond) 2.1.19
Reading `input/tutorial/lilybook.tex'
-Reading `input/screech-boink6.ly'
+Reading `input/screech-boink.ly'
@var{lots of stuff deleted}
Writing `out/lilybook.latex'
$ cd out
return tab;
}
-#if 1
+#if 0
/*
Debugging mem leaks:
*/
if (gh_pair_p (prev_alist) || prev_alist == SCM_EOL)
{
bool ok = type_check_assignment (eltprop, val, ly_symbol2scm ("backend-type?"));
-
+
+ /*
+ tack onto alist:
+ */
if (ok)
- {
- gh_set_car_x (prev, scm_acons (eltprop, val, prev_alist));
- }
+ gh_set_car_x (prev, scm_acons (eltprop, val, prev_alist));
}
else
{