1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
7 lsrtags = "expressive-marks, text"
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
11 Este ejemplo proporciona una función para tipografiar un regulador
12 con texto por debajo, como \"molto\" o \"poco\". El ejemplo
13 ilustra también cómo modificar la manera en que se imprime
14 normalmente un objeto, utilizando código de Scheme.
17 doctitlees = "Centrar texto debajo de un regulador"
20 This example provides a function to typeset a hairpin (de)crescendo
21 with some additional text below it, such as @qq{molto} or @qq{poco}.
22 The example also illustrates how to modify the way an object is
23 normally printed, using some Scheme code.
26 doctitle = "Center text below hairpin dynamics"
29 hairpinWithCenteredText =
30 #(define-music-function (parser location text) (markup?)
32 \override Voice.Hairpin #'stencil = #(lambda (grob)
33 (ly:stencil-aligned-to
34 (ly:stencil-combine-at-edge
35 (ly:stencil-aligned-to (ly:hairpin::print grob) X CENTER)
37 (ly:stencil-aligned-to (grob-interpret-markup grob $text) X CENTER))
41 hairpinMolto = \hairpinWithCenteredText \markup { \italic molto }
42 hairpinMore = \hairpinWithCenteredText \markup { \larger moltissimo }
44 \layout { ragged-right = ##f }