Next: , Previous: Text and line spanners, Up: Writing text


Text spanners

Certaines indications d'interprétation comme rallentando ou accelerando s'incrivent en toutes lettres et se prolongent sur plusieurs mesures grâce à une ligne pointillée. Les commandes \startTextSpan et \stopTextSpan, respectivement attachées à la première et à la dernière note qu'elles concernent, déterminent l'envergure de ces prolongateurs, ou extenseurs.

La chaîne à imprimer, ainsi que son style, sont définis par des propriétés, comme ici :

c1
\textSpannerDown
\override TextSpanner #'(bound-details left text) =
  \markup { \upright "rall" } 
c2\startTextSpan b c\stopTextSpan a
\break
\textSpannerUp
\override TextSpanner #'(bound-details left text) =
  \markup { \italic "rit" } 
c2\startTextSpan b c\stopTextSpan a

[image of music]

Predefined commands

\textSpannerUp, \textSpannerDown, \textSpannerNeutral.

Commonly tweaked properties

Pour obtenir une ligne pleine, utilisez

\override TextSpanner #'style = #'line

See also

Référence du programme : TextSpanner.

Other languages: English, español, deutsch.