X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fmanually-controlling-beam-positions.ly;fp=Documentation%2Fsnippets%2Fmanually-controlling-beam-positions.ly;h=6e7df11c02ce9bb6aa26aa7097f9331c67aa97e8;hb=941dff9d2a67080e0dd8474f1e70f0c72ace6424;hp=0000000000000000000000000000000000000000;hpb=5a22d6233a39d3164e1ca043244794c268be4ad0;p=lilypond.git diff --git a/Documentation/snippets/manually-controlling-beam-positions.ly b/Documentation/snippets/manually-controlling-beam-positions.ly new file mode 100644 index 0000000000..6e7df11c02 --- /dev/null +++ b/Documentation/snippets/manually-controlling-beam-positions.ly @@ -0,0 +1,33 @@ +%% 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 = "rhythms, tweaks-and-overrides" + + texidoc = " +Beam positions may be controlled manually, by overriding the +@code{positions} setting of the @code{Beam} grob. + + + + +" + doctitle = "Manually controlling beam positions" +} % begin verbatim + +\relative c' { + \time 2/4 + % from upper staff-line (position 2) to center (position 0) + \override Beam #'positions = #'(2 . 0) + c8 c + % from center to one above center (position 1) + \override Beam #'positions = #'(0 . 1) + c8 c +} + +