]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-staff-size.ly
LSR updates from tarball
[lilypond.git] / Documentation / snippets / changing-the-staff-size.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.2"
8
9 \header {
10   lsrtags = "tweaks-and-overrides, paper-and-layout, staff-notation"
11
12 %% Translation of GIT committish: 1cda7b7b8219cb97399b8e7b56c1115aaf82c002
13   texidocfr = "
14 Bien que le meilleur moyen de définir la taille des portées consiste à
15 utiliser @code{#(set-global-staff-size xx)}, une portée en particulier
16 peut se redimensionner en affectant d'un coefficient ses propriétés
17 @code{'staff-space} et @code{fontSize}.
18
19 "
20   doctitlefr = "Modification de la taille d'une portée"
21
22   texidoc = "
23 Though the simplest way to resize staves is to use
24 @code{#(set-global-staff-size xx)}, an individual staff's size can be
25 changed by scaling the properties @code{'staff-space} and
26 @code{fontSize}.
27
28 "
29   doctitle = "Changing the staff size"
30 } % begin verbatim
31
32
33 <<
34   \new Staff {
35     \relative c'' {
36       \dynamicDown
37       c8\ff c c c c c c c
38     }
39   }
40   \new Staff \with {
41     fontSize = #-3
42     \override StaffSymbol #'staff-space = #(magstep -3)
43   } {
44     \clef bass
45     c8 c c c c\f c c c
46   }
47 >>
48