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