Score

Here you find features that help you manipulating your whole score's properties.

Document Setup Wizard

You can use the Document Wizard to quickly set up your score. The Document Wizard is based on Velocity templates and BeanShell macros, so you can easily include it in your own templates.

Creating your own templates using the Document Wizard

You can use the document wizard for your own templates. You just have to make a Velocity template according to the documentation of the Templates plugin, and include the line

#parse
          ( "lilytool/templates/documentWizard.bsh" )

Then you can start your template (including the document wizard) by clicking you template's name in the Templates Tree.

Here is a very simple custom template as an example:

#parse ( "lilytool/templates/documentWizard.bsh" )
            \header { title = "$titlingMap.title" } \score
            { \notes { \key $signMap.key \time
            $signMap.timeFraction } }

This simple template just puts the title, the key signature and the time signature together. For your own templates you can use the variables that are set in the document wizard. Most variables are grouped into maps, according to the screens of the wizard, where the user can set them. In the following table you can see variables you can use in your templates.

Table 4.1. Variables that are set running the Document Wizard

Variable nameDescription
$finishedtrue if the wizard has been finished, false otherwise
$selectedInstrumentsList of instruments. The instruments have their own properties: staffName (e.g. SopranoI), staffType (e.g. single), name, midiName, hasLyrics, clef, voiceName (eg. melodySop), transposingNote
$titlingMap.title, $titlingMap.poet, etc.Title, Poet, etc.
$finalMap.generate-commentsTrue if comments should be generated
$finalMap.includeSelected note name language include file name (e.g. deutsch.ly)
$finalMap.languageSelected note name language (e.g. Deutsch)
$finalMap.lily-versionLilyPond version
$finalMap.pickup-durationPickup measure selected duration
$finalMap.pickup-timeHow many durations in pickup
$finalMap.set-tempoTrue if tempo should be set in midi
$finalMap.set-tempo-markTrue if tempo should be set on score
$finalMap.tempo-mark-durationTempo mark duration
$finalMap.tempo-mark-beatTempo mark beat
$lyricsMap.include-lyricsTrue if lyrics should be included in score
$lyricsMap.stanzasNumber of stanzas
$lyricsMap.include-chordstrue if chord names should be included in score
$lyricsMap.chord-modifiernone, germanChords or semiGermanchords
$signMap.timeFractionFraction for selected time
$signMap.keySelected key (according to the selected language)
$signMap.flavourSelected key flavour (major or minor)

LilyPondTool as a framework

Users are encouraged to use LilyPondTool as a framework for their own templates and macros. One example of this is creating your own templates using the Document Wizard. But you can find many useful things in the LilyTool>Development menu and in the lilytool package. Browse the LilyPondTool javadoc for some ideas. If you have some macros or templates or some other feature you would like to see in the next release of LilyPondTool, send it to using our project page.

Insert tempo marking

This command will insert a tempo marking as a markup string at the cursor position. For example you would like to make a tempo indication like this:

Choose LilyPond>Insert tempo marking, and fill the dialog box with the following values, then press OK.

Page layout

You can set the various parameters of page layout here.

No bar numbers

Turn off measure numbering.

Set score size

Sets the global staff size. See the LilyPond manual for common values.