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
6 %% This file is in the public domain.
10 lsrtags = "paper-and-layout"
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
14 Este código muestra cómo recortar (extraer) fragmentos a partir de una
17 Este archivo tiene que procesarse de forma separada con la opción
18 @option{-dclip-systems}; la página de fragmentos de código podría no
19 mostrar el resultado adecuadamente.
21 La salida consiste en archivos con los nombres
22 @samp{base-from-inicio-to-final[-número].eps}.
25 Si se incluyen los comienzos y finales de los sistemas, incluyen las
26 dimensiones del grob del sistema, por ejemplo los nombres de
30 Las notas de adorno en el punto final de la región no se incluyen.
33 Las regiones pueden abarcar varios sistemas. En este caso, se generan
37 doctitlees = "Recorte de sistemas"
39 %% Translation of GIT committish: f5cfaf8ef4ac347702f554af0944ef0d8396e73a
41 Le code ci-dessous permet de réaliser des découpes à l'emporte pièce,
42 autrement dit d'extraire des fragments, au sein d'une partition.
44 Dans la mesure où le rendu inclus dans ce manuel pourrait ne pas être
45 des plus évidents, nous vous conseillons de traiter ce fichier
46 individuellement, avec l'option @code{-dclip-systems}.
48 Les fichiers résultants sont de la forme
49 @samp{base-from-début-to-fin[-compteur].eps}.
52 Lorsque sont inclus le début ou la fin d'un système, l'extraction
53 comportera les objets rattachés au système, comme le nom d'instrument.
55 Les notes d'ornement qui se trouveraient en fin de fragment ne sont pas
58 La découpe peut couvrir plusieurs systèmes, auquel cas seront générés
59 plusieurs fichiers EPS.
62 doctitlefr = "Découpe de systèmes"
65 This code shows how to clip (extract) snippets from a full score.
67 This file needs to be run separately with @code{-dclip-systems}; the
68 snippets page may not adequately show the results.
70 The result will be files named
71 @samp{base-from-start-to-end[-count].eps}.
74 If system starts and ends are included, they include extents of the
75 System grob, e.g., instrument names.
78 Grace notes at the end point of the region are not included.
81 Regions can span multiple systems. In this case, multiple EPS files
85 doctitle = "Clip systems"
89 #(ly:set-option 'clip-systems)
90 #(define output-suffix "1")
94 \set Staff.instrumentName = #"bla"
110 % Each clip-region is a (START . END) pair
111 % where both are rhythmic-locations.
113 % (make-rhythmic-locations BAR-NUMBER NUM DEN)
114 % means NUM/DEN whole-notes into bar numbered BAR-NUMBER
116 clip-regions = #(list
118 (make-rhythmic-location 2 0 1)
119 (make-rhythmic-location 4 0 1))
122 (make-rhythmic-location 0 0 1)
123 (make-rhythmic-location 4 0 1))
126 (make-rhythmic-location 0 0 1)
127 (make-rhythmic-location 6 0 1))
133 #(ly:set-option 'clip-systems #f)
134 #(define output-suffix #f)
137 \score { \origScore }
138 \markup { \bold \fontsize #6 clips }
141 \markup { from-2.0.1-to-4.0.1-clip.eps }
143 \epsfile #X #30.0 #(format #f "~a-1-from-2.0.1-to-4.0.1-clip.eps"
144 (ly:parser-output-name parser)) }