]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-staff-size.ly
b05e50b30506e39a4d3d2af481f8844fd37c1018
[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 = "paper-and-layout, staff-notation, tweaks-and-overrides"
11
12   texidoc = "
13 Though the simplest way to resize staves is to use
14 @code{#(set-global-staff-size xx)}, an individual staff's size can be
15 changed by scaling the properties @code{'staff-space} and
16 @code{fontSize}.
17
18 "
19   doctitle = "Changing the staff size"
20 } % begin verbatim
21
22
23 <<
24   \new Staff {
25     \relative c'' {
26       \dynamicDown
27       c8\ff c c c c c c c
28     }
29   }
30   \new Staff \with {
31     fontSize = #-3
32     \override StaffSymbol #'staff-space = #(magstep -3)
33   } {
34     \clef bass
35     c8 c c c c\f c c c
36   }
37 >>