]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/controlling-the-vertical-ordering-of-scripts.ly
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / Documentation / snippets / controlling-the-vertical-ordering-of-scripts.ly
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.
4 \version "2.13.4"
5
6 \header {
7   lsrtags = "expressive-marks, tweaks-and-overrides"
8
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
10   texidoces = "
11 El orden vertical que ocupan las inscripciones gráficas está
12 controlado con la propiedad @code{'script-priority}. Cuanto más
13 bajo es este número, más cerca de la nota se colocará. En este
14 ejemplo, el @code{TextScript} (el sostenido) tiene primero la
15 prioridad más baja, por lo que se sitúa en la posición más baja en
16 el primer ejemplo. En el segundo, el semitrino (el @code{Script})
17 es el que la tiene más baja, por lo que se sitúa en la parte
18 interior. Cuando dos objetos tienen la misma prioridad, el orden
19 en que se introducen determina cuál será el que aparece en primer
20 lugar.
21
22 "
23   doctitlees = "Controlar la ordenación vertical de las inscripciones"
24
25
26 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
27 texidocde = "
28 Die vertikale Anordnung von Beschriftungen wird mit der
29 @code{'script-priority}-Eigenschaft kontrolliert.  Um so kleiner die
30 Zahl, umso näher wird die Beschriftung in Bezug auf die Note gesetzt.  In
31 diesem Beispiel hat das @code{TextScript}-Objekt (das Kreuz) zuerst
32 die niedrigste Priorität, wird also auch am niedrigsten in dem ersten
33 Beispiel gesetzt.  Im zweiten Fall hat der Praller (das @code{Script})
34 die niedrigste Priorität, darum wird er am nächsten zum System gesetzt.
35 Wenn zwei Objekte die gleiche Priorität haben, wird ihre Reihenfolge
36 anhand ihres Auftretens in der Quelldatei entschieden.
37
38 "
39   doctitlede = "Die vertikale Anordnung von Beschriftungen kontrollieren"
40
41   texidoc = "
42 The vertical ordering of scripts is controlled with the
43 @code{'script-priority} property. The lower this number, the closer it
44 will be put to the note. In this example, the @code{TextScript} (the
45 sharp symbol) first has the lowest priority, so it is put lowest in the
46 first example. In the second, the prall trill (the @code{Script}) has
47 the lowest, so it is on the inside. When two objects have the same
48 priority, the order in which they are entered determines which one
49 comes first.
50
51 "
52   doctitle = "Controlling the vertical ordering of scripts"
53 } % begin verbatim
54
55 \relative c''' {
56   \once \override TextScript #'script-priority = #-100
57   a2^\prall^\markup { \sharp }
58
59   \once \override Script #'script-priority = #-100
60   a2^\prall^\markup { \sharp }
61 }
62