]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/controlling-the-vertical-ordering-of-scripts.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / controlling-the-vertical-ordering-of-scripts.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.0"
8
9 \header {
10   lsrtags = "expressive-marks, tweaks-and-overrides"
11
12 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
13   texidoces = "
14 El orden vertical que ocupan las inscripciones gráficas está
15 controlado con la propiedad @code{'script-priority}. Cuanto más
16 bajo es este número, más cerca de la nota se colocará. En este
17 ejemplo, el @code{TextScript} (el sostenido) tiene primero la
18 prioridad más baja, por lo que se sitúa en la posición más baja en
19 el primer ejemplo. En el segundo, el semitrino (el @code{Script})
20 es el que la tiene más baja, por lo que se sitúa en la parte
21 interior. Cuando dos objetos tienen la misma prioridad, el orden
22 en que se introducen determina cuál será el que aparece en primer
23 lugar.
24
25 "
26   doctitlees = "Controlar la ordenación vertical de las inscripciones"
27
28
29 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
30 texidocde = "
31 Die vertikale Anordnung von Beschriftungen wird mit der
32 @code{'script-priority}-Eigenschaft kontrolliert.  Um so kleiner die
33 Zahl, umso näher wird die Beschriftung in Bezug auf die Note gesetzt.  In
34 diesem Beispiel hat das @code{TextScript}-Objekt (das Kreuz) zuerst
35 die niedrigste Priorität, wird also auch am niedrigsten in dem ersten
36 Beispiel gesetzt.  Im zweiten Fall hat der Praller (das @code{Script})
37 die niedrigste Priorität, darum wird er am nächsten zum System gesetzt.
38 Wenn zwei Objekte die gleiche Priorität haben, wird ihre Reihenfolge
39 anhand ihres Auftretens in der Quelldatei entschieden.
40
41 "
42   doctitlede = "Die vertikale Anordnung von Beschriftungen kontrollieren"
43
44 %% Translation of GIT committish: 217cd2b9de6e783f2a5c8a42be9c70a82195ad20
45   texidocfr = "
46 Les symboles s'ordonnent verticalement suivant la propriété
47 @code{script-priority}. Plus sa valeur numérique est faible, plus le
48 symbole sera proche de la note. Dans l'exemple suivant, l'objet
49 @code{TextScript} -- le dièse -- a d'abord la propriété la
50 plus basse, et il est donc placé plus près de la note ; ensuite c'est
51 l'objet @code{Script} -- le mordant -- qui a la propriété la plus basse,
52 et il se place alors sous le dièse.  Lorsque deux objets ont la même
53 priorité, c'est l'ordre dans lequel ils sont indiqués qui détermine
54 lequel sera placé en premier.
55
56 "
57   doctitlefr = "Contrôle de l'ordre vertical des articulations et ornements"
58
59
60   texidoc = "
61 The vertical ordering of scripts is controlled with the
62 @code{'script-priority} property. The lower this number, the closer it
63 will be put to the note. In this example, the @code{TextScript} (the
64 sharp symbol) first has the lowest priority, so it is put lowest in the
65 first example. In the second, the prall trill (the @code{Script}) has
66 the lowest, so it is on the inside. When two objects have the same
67 priority, the order in which they are entered determines which one
68 comes first.
69
70 "
71   doctitle = "Controlling the vertical ordering of scripts"
72 } % begin verbatim
73
74 \relative c''' {
75   \once \override TextScript #'script-priority = #-100
76   a2^\prall^\markup { \sharp }
77
78   \once \override Script #'script-priority = #-100
79   a2^\prall^\markup { \sharp }
80 }
81