Typesetting music in #

The current best bet for music typesetting is to use musixtex. Musixtex is a three-pass system that has a -based pass, a processing pass and then a further pass. The middle pass, a program called musixflx, optimises the spacing and sorts out slurs and ties. Musixtex is demanding of resources, and any significant score requires that typesetting is done using whose expanded variable- and box-register ranges allow for more of the « parallel » activities that abound in a music score. Of course, musixtex also requires music fonts; those are available in a separate package on the archive.

Musixtex requires pretty arcane input; most people using it actually prepare (less obscure) input for pmx, whose output is input suitable for musixtex.

A further preprocessor, M-Tx, allows preparation of music with lyrics; M-Txs output is fed into pmx, and thence to musixtex.

An alternative path to music examples within a document is Lilypond. Lilypond is (at heart) a batch music typesetting system with plain text input that does most of its work without Lilyponds input syntax is less cryptic than is MusiX’s, though similar quality is achieved. The Lilypond FAQ mentions programs with graphical user interfaces, that export lilypond output.

For occasional music references (sharp and flat signs, notes, clefs and so on, there is a () package (with associated font) called lilyglyphs. This uses lilyponds fonts (which are included in the package), and also provides the means to add stuff from other sources.

Another alternative in the production of music is the ABC notation, which was developed to notate the traditional music of Western Europe (which can be written on a single stave), though it can be used much more widely. A front end to musictex (see below), abc2mtex, makes ABC typesetting possible.

The program midi2tex can also generate musictex output, from MIDI files.

The history of music in goes back some time; the earliest « working macros were Mu by Angelika Schofer and Andrea Steinbach. Muwas very limited, but it was some time before Daniel Taupin took up the baton, and developed Music which allows the typesetting of polyphonic and other multiple-stave music; Musicremains available, but is no longer recommended.

Once Andreas Egler had withdrawn (his last version of musixtex is preserved on the archive), Daniel Taupin took up the development, leading to the musixtex used today.

For Gregorion chant there is gregoriotex is a software application for engraving Gregorian chant scores.