X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-the-staff-size.ly;fp=Documentation%2Fsnippets%2Fchanging-the-staff-size.ly;h=4ec923b18bcb8d3908996deb7b3dfb8c6e6fab2c;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/Documentation/snippets/changing-the-staff-size.ly b/Documentation/snippets/changing-the-staff-size.ly new file mode 100644 index 0000000000..4ec923b18b --- /dev/null +++ b/Documentation/snippets/changing-the-staff-size.ly @@ -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 + } +>> +