Customized Italian-style chords: Difference between revisions

Improve documentation and formatting
mNo edit summary
 
Line 17: Line 17:
* For convenience, <code>s</code> is also recognized as a value of <var>root</var>, indicating a skip.
* For convenience, <code>s</code> is also recognized as a value of <var>root</var>, indicating a skip.
* Correspondences between alteration codes and engraved symbols are: <code>d</code>→sharp, <code>dd</code>→double sharp, <code>b</code>→flat, <code>bb</code>→double flat (you can change them in the snippet).
* Correspondences between alteration codes and engraved symbols are: <code>d</code>→sharp, <code>dd</code>→double sharp, <code>b</code>→flat, <code>bb</code>→double flat (you can change them in the snippet).
* Correspondences between modifier codes and engraved symbols are: <code>-</code> (minor)→en dash, <code>dim</code> (diminished)→"o", <code>semidim</code> (half diminished)→"ø" (you can change them in the snippet).
* Correspondences between modifier codes and engraved symbols are: <code>-</code> (minor)→en dash, <code>dim</code> (diminished)→“o”, <code>semidim</code> (half diminished)→“ø” (you can change them in the snippet).
* <var>root-other</var> is free text.
* <var>root-other</var> is free text.
* <var>duration</var> follows the standard LilyPond format, you can also add dots and a fraction for the ratio multiplier.
* <var>duration</var> follows the standard LilyPond format, you can also add dots and a fraction for the ratio multiplier.
* If <var>bass</var> is present, the chord is written in fractional form with numerator=root and denominator=bass (like Italian style music sheets).
* If <var>bass</var> is present, the chord is written in fractional form with numerator=root and denominator=bass (like Italian-style music sheets).


<lilypond version="2.24">
<lilypond version="2.24">