]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/controlling-the-vertical-ordering-of-scripts.ly
Doc: Update LSR.
[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.16"
5
6 \header {
7   lsrtags = "expressive-marks, tweaks-and-overrides"
8
9 %% Translation of GIT committish: d2119a9e5e951c6ae850322f41444ac98d1ed492
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 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
26 texidocde = "
27 Die vertikale Anordnung von Beschriftungen wird mit der
28 @code{'script-priority}-Eigenschaft kontrolliert.  Um so kleiner die
29 Zahl, umso näher wird die Beschriftung in Bezug auf die Note gesetzt.  In
30 diesem Beispiel hat das @code{TextScript}-Objekt (das Kreuz) zuerst
31 die niedrigste Priorität, wird also auch am niedrigsten in dem ersten
32 Beispiel gesetzt.  Im zweiten Fall hat der Praller (das @code{Script})
33 die niedrigste Priorität, darum wird er am nächsten zum System gesetzt.
34 Wenn zwei Objekte die gleiche Priorität haben, wird ihre Reihenfolge
35 anhand ihres Auftretens in der Quelldatei entschieden.
36
37 "
38   doctitlede = "Die vertikale Anordnung von Beschriftungen kontrollieren"
39 %% Translation of GIT committish: 217cd2b9de6e783f2a5c8a42be9c70a82195ad20
40   texidocfr = "
41 Les symboles s'ordonnent verticalement suivant la propriété
42 @code{script-priority}. Plus sa valeur numérique est faible, plus le
43 symbole sera proche de la note. Dans l'exemple suivant, l'objet
44 @code{TextScript} -- le dièse -- a d'abord la propriété la
45 plus basse, et il est donc placé plus près de la note ; ensuite c'est
46 l'objet @code{Script} -- le mordant -- qui a la propriété la plus basse,
47 et il se place alors sous le dièse.  Lorsque deux objets ont la même
48 priorité, c'est l'ordre dans lequel ils sont indiqués qui détermine
49 lequel sera placé en premier.
50
51 "
52   doctitlefr = "Contrôle de l'ordre vertical des articulations et ornements"
53
54
55   texidoc = "
56 The vertical ordering of scripts is controlled with the
57 @code{'script-priority} property. The lower this number, the closer it
58 will be put to the note. In this example, the @code{TextScript} (the
59 sharp symbol) first has the lowest priority, so it is put lowest in the
60 first example. In the second, the prall trill (the @code{Script}) has
61 the lowest, so it is on the inside. When two objects have the same
62 priority, the order in which they are entered determines which one
63 comes first.
64
65 "
66   doctitle = "Controlling the vertical ordering of scripts"
67 } % begin verbatim
68
69 \relative c''' {
70   \once \override TextScript #'script-priority = #-100
71   a2^\prall^\markup { \sharp }
72
73   \once \override Script #'script-priority = #-100
74   a2^\prall^\markup { \sharp }
75 }
76