Let us review these commands:
description(
-dit(mymycode(\clef) var(clefname)) This command sets the current clef for notation,
+dit(mycode(\clef) var(clefname)) This command sets the current clef for notation,
i.e., a clef symbol is printed and the notes following this command
are shifted vertically. The argument is a string, the name of the
new clef. The default clef is the treble clef.
\clef "treble"; c'4
\clef "alto"; c'4
)
-dit(mymycode(\key) var(pitch)) This command changes the current key signature. The
+dit(mycode(\key) var(pitch)) This command changes the current key signature. The
key signature is printed at the start of every line. The argument
is the name of the corresponding major key. The key of C-minor can
thus be specified as `mycode(\key es)'.
-dit(mymycode(\keysignature) var(pitchlist))
+dit(mycode(\keysignature) var(pitchlist))
This command changes the current key signature. Unlike the
`mycode(\key)' command, this command can produce arbitrary key
example.
-dit(mymycode(\time) var(numerator)mycode(/)var(denominator))
+dit(mycode(\time) var(numerator)mycode(/)var(denominator))
This command changes the current time signature. LilyPond uses the
time signature to
calculate where to place the bars that start a measure. These bars
)
-dit(mymycode(\cadenza) var(togglevalue)) When typesetting music without a
+dit(mycode(\cadenza) var(togglevalue)) When typesetting music without a
regular meter (such as an ad libitum cadenza), no bar lines should be
printed. In LilyPond you can achieve this by issuing the command
`mycode(\cadenza 1)': it turns off the automatically
is printed. LilyPond will act as if you are again at the start of a
measure.
-dit(mymycode(\bar) var(bartype))
+dit(mycode(\bar) var(bartype))
This command lets you print special bar
lines and repeat symbols. You can also use it to allow line breaks
when entering cadenzas. The argument var(bartype) is a string that
-dit(mymycode(\partial) var(duration)) some music starts with a measure that
+dit(mycode(\partial) var(duration)) some music starts with a measure that
isn't fully filled, a so-called upstep. The mycode(\partial) command
allows you to make
upsteps. The argument is a duration similar to the duration of a note.
[d'8 dis'] e' c''4 e'8 c''4
)
- dit(mymycode(\grouping) var(durationslist)) sets the metric structure of the measure.
+ dit(mycode(\grouping) var(durationslist)) sets the metric structure of the measure.
Its effect can best be shown by an example:
mudela(fragment,verbatim)(
\time 5/16;
mudela(verbatim)(
polymetricpaper = \paper {
- Score = \translator {
+ \translator {
\ScoreContext
\remove "Timing_engraver";
}
- Staff = \translator {
+ \translator {
\StaffContext
\consists "Timing_engraver";
}