4 Exact Spacing and Score Formatting

4.1 Page layout and spacing

4.1.1 \units

The \units tag specifies the physical units in which absolute dimensions are specified per default.

\units<s>

Parameters

Range: none

Remarks:

Example:

{ [ \units<"in"> ... ] }

4.1.2 \pageFormat

The \pageFormat is used to specify the physical size of the output pages and to define the printable area.

\pageFormat<type>
\pageFormat<type,lm,tm,rm,bm>
\pageFormat<w,h,lm,tm,rm,bm>

Parameters:

Defaults:  If \pageFormat is not specified, "A4" is assumed. If the margins are not specified, the following values are assumed as default-values: lm=2cm, rm=2cm, tm=5cm, bm=3cm.

Range: none

Remarks:

Examples:

4.1.3 \newPage

The \newPage tag is used to specify exact locations for pagebreaks. In pieces with multiple voices (segments), it should be consistently used in one specific voice (controlling voice).

Parameters: none

Range: none

Examples:

4.1.4 \space

The \space tag is used to specify exact horizontal spacing between notational elements. For multiple voices, voice coordination is preseverved in the following way: if at a given metrical position, the information provided by the \space tags occuring in the different voices is incompatible, extra space is inserted where needed. This can also happen, if in one of more voices no \space information occurs - in which case automatic spacing is used for these voices. However, spaces specified via \space are never compressed or ignored.

\space<dd>

Parameters:

Range: none

Remarks:

Examples:

{ [ c \space<10.2> d ]  }  % forces 10.2 halfspaces between the c and the d.

4.1.5 \staff

As in Basic GUIDO, the \staff tag is used to assign the current voice to a staff. Here, an additional parameter is introduced to explicitly specify the vertical spacing between staves.

\staff<id,dy>

Parameters:

Range: none.

Semantics: If dy is specified, it defines the vertical space between the bottom line of staff id and the top line of the next staff. The next staff is the one which occurred next to the first occurrence of staff id<.

Remarks:

Examples:

4.2 Staff and system layout

The appearance and format of a system and staff can be specified using the following tags.

4.2.1 \staffFormat

The \staffFormat tag can be used to specify the format and size of the current staff.

\staffFormat<style,size>

Parameters:

Range: none

Remarks:

Examples:

4.2.2 \accol

The \accol tag is used to group staves into accolades (staff groups).

\accol<id,range,style>

Parameters:

Range: none.

Remarks:

Examples:

4.2.3 \systemFormat

The \systemFormat tag is used for specifying which staves are displayed within the system. It allows also to specify a horizontal displacement of the beginning of the system w.r.t. the left margin of the printable area. The \systemFormat tag should be used directly after a \newSystem tag.

\systemFormat<staves,dx>

Parameters:

Range: none

Remarks: none

Examples:

4.2.4 \newSystem

The \newSystem tag is used to explicitly specify system breaks. \newSystem needs to be specified only in one voice, multiple occurrences at the same metrical position are interpreted as a single system break.

\newSystem
\newSystem<dy>

Parameters:

Range: none

Remarks:

Examples:

{ [  c d e \newSystem c d e], [ c0 d e f \newSystem g h] }
% this will create three systems with two staves each.

4.2.4 \staffOff, \staffOn

The \staffOff tag makes the current staff invisible starting from the position where it occurs until the next \staffOn is encountered. While the staff is invisible, all notational elements fixed to it (notes, rests, dynamic markings, etc.) also become invisible.

\staffOff
\staffOn

Parameters: none

Range: none

Remarks:

Examples: