+2003-06-18 Graham Percival <gperlist@shaw.ca>
+
+ * input/test/[h-k]*.ly: added texidoc index.
+
2003-06-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* scm/music-functions.scm (make-ottava-set):
-
-\header {
-texidoc = "some instruments (notably: cello and double bass) are alternatively written on one and two staves. This is the way to do it:"
-}
\version "1.7.19"
-
+% TODO: check if we really need both hara-kiri-switch.ly and
+% hara-kiri.ly. -gp
+\header { texidoc = "@cindex Hara Kiri Switch
+Some instruments (notably cello and double bass) are alternatively
+written on one and two staves. This is the way to do it: " }
voiceOne = \notes \relative c'' {
a1 a a
\grandstaff
\paper{
linewidth=80.0\mm
+ raggedright=##t
\translator { \VoiceContext autoBeaming = ##f }
\translator { \RemoveEmptyStaffContext }
\version "1.7.19"
-
-\header {
-texidoc = "Hara kiri staves disappear when empty "
-}
-
+% TODO: check if we really need both hara-kiri-switch.ly and
+% hara-kiri.ly. -gp
+\header { texidoc = "@cindex Hara Kiri
+Hara kiri staves disappear when empty. " }
% todo: use partcombine?, junk?
\version "1.7.18"
\header {
- texidoc =" Harmonic notes: a different style on the same stem. "
-}
+ texidoc ="@cindex Artificial Harmonics
+For stringed instruments, artificial harmonics are notated with
+two different notehead styles on the same stem. " }
\score {
\notes { c'4
< c'4 \context Thread = tb {
\property Thread.NoteHead \set #'style = #'mensural
- g''4
+ g'4
} >
}
+ \paper {raggedright=##t}
}
%% new-chords-done %%
% #(define pieceTagLine "Copyright 2002 (C) Mutopia")
+\version "1.7.20"
+% FIXME: since tagline isn't used in creating the webpage, this example
+% doesn't output anything unusual.
#(define (my-ly-version)
(let ((version (ly:version)))
pieceTagLine = #pieceTagLine
\header{
tagline = \pieceTagLine
-texidoc = "High level functionality can be accomplished with GUILE. Semantics aren't nice though."
+texidoc = "@cindex Header If Else
+High level functionality can be accomplished with GUILE. Semantics aren't nice though."
}
-\score{ \notes{ c4 } }
+\score{ \notes{ c4 }
+\paper {raggedright=##t}
+}
%% new-chords-done %%
\version "1.7.18"
-
-
-
+\header { texidoc = "@cindex Horizontal Shift
+You can manually shift notes horizontally. " }
shiftI = \property Voice.NoteColumn \override #'horizontal-shift = #0
shiftII = \property Voice.NoteColumn \override #'horizontal-shift = #1
\context Voice =VE {\stemUp \shiftV f }
>
}
- \paper { }
- \midi { }
+ \paper { raggedright = ##t }
}
%% new-chords-done %%
\version "1.7.18"
+% I think we have other examples of partcombine. Candidate for delete. -gp
+\header { texidoc = "" }
\score{
\context Staff <
-
-\header {
-texidoc = "note heads for improvisation have a different shape. "
-}
+\version "1.7.18"
+\header { texidoc = "@cindex Improv
+Noteheads for improvisation have a different shape. " }
%{ TODO: the construct with separet SquashVoice context is a little
gory. FIXME. %}
-\version "1.7.18"
improOn = \notes {\translator Voice = impro }
improOff = \notes {\translator SquashVoice = melo }
\version "1.7.18"
-%{
- Test of how to make an ``incipit'' to indicate scordatora
- tuning of a violin part, using the clefStyle property.
- The two first bars of Biber's Rosary sonata III.
-
- /Mats B
-%}
-
-
+\header { texidoc = "@cindex Incipit
+This shows how to make an ``incipit'' to indicate scordatora
+tuning of a violin part, using the clefStyle property.
+The two first bars of Biber's Rosary sonata III. " }
violinincipit = \notes\relative c''{
\clef "french"
\BC
}}
>
+ \paper { raggedright = ##t }
}
%% new-chords-done %%
\version "1.7.18"
-
+\header { texidoc = "@cindex Instrument Name Grandstaff
+You can name the whole grandstaff in addition to individual staffs. " }
\score {
\notes
\version "1.7.18"
-
+% candidate for regression. -gp
+\header { texidoc = "" }
%{
this combines instrument names and multimeasure rests (there was an
}
}
+ \paper { raggedright = ##t }
}
%% new-chords-done %%
\version "1.7.18"
+% candidate for regression -gp
+\header { texidoc = "" }
\score { \notes
\relative cis' {
\version "1.7.18"
+% possible rename to piano-foo
+\header { texidoc = "@cindex Knee Piano
+You can spread a ``knee beam'' over a pianostaff. " }
+
\score{
\context PianoStaff <
\context Staff=one \notes\relative c'{
\version "1.7.18"
+% candidate for regression. -gp
+\header { texidoc = "" }
\score{
\notes\relative c'{
a8-[ b'' a,, b'']
\version "1.7.18"
-
+% candidate for regression? -gp
+\header { texidoc = ""}
\score{
\notes\relative c'{
\property Voice.Beam \override #'auto-knee-gap = ##f