Previous: Rotating layout objects, Up: Rotating objects


Rotating markup

All markup text can be rotated to lie at any angle by prefixing it with the \rotate command. The command takes two arguments: the angle of rotation in degrees counter-clockwise and the text to be rotated. The extents of the text are not rotated: they take their values from the extremes of the x and y coordinates of the rotated text. In the following example the outside-staff-priority property for text is set to #f to disable the automatic collision avoidance, which would push some of the text too high.

     
     \override TextScript #'outside-staff-priority = ##f
     g4^\markup { \rotate #30 "a G" }
     b^\markup { \rotate #30 "a B" }
     des^\markup { \rotate #30 "a D-Flat" }
     fis^\markup { \rotate #30 "an F-Sharp" }

[image of music]

Esta página corresponde a LilyPond-2.11.58 (rama de desarrollo).

Informe de los fallos a través de la lista en español lilypond-es, o en inglés a través de http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Se agradecen las sugerencias para la documentación.