]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-the-staff-size.ly
resolve merge
[lilypond.git] / Documentation / snippets / changing-the-staff-size.ly
diff --git a/Documentation/snippets/changing-the-staff-size.ly b/Documentation/snippets/changing-the-staff-size.ly
new file mode 100644 (file)
index 0000000..4ec923b
--- /dev/null
@@ -0,0 +1,37 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.14.0"
+
+\header {
+  lsrtags = "staff-notation, tweaks-and-overrides, paper-and-layout"
+
+  texidoc = "
+Though the simplest way to resize staves is to use
+@code{#(set-global-staff-size xx)}, an individual staff's size can be
+changed by scaling the properties @code{'staff-space} and
+@code{fontSize}.
+
+"
+  doctitle = "Changing the staff size"
+} % begin verbatim
+
+<<
+  \new Staff {
+    \relative c'' {
+      \dynamicDown
+      c8\ff c c c c c c c
+    }
+  }
+  \new Staff \with {
+    fontSize = #-3
+    \override StaffSymbol #'staff-space = #(magstep -3)
+  } {
+    \clef bass
+    c8 c c c c\f c c c
+  }
+>>
+