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