%% Generated by lilypond-book.py %% Options: [alt=[image of music],printfilename,indent=0\mm,texidoc,line-width=160\mm] \include "lilypond-book-preamble.ly" % **************************************************************** % Start cut-&-pastable-section % **************************************************************** \paper { #(define dump-extents #t) indent = 0\mm line-width = 160\mm } \layout { } % **************************************************************** % ly snippet: % **************************************************************** \sourcefilename "beam-control.ly" \header{ texidoc="@cindex Beam Position Control Beam positions may be controlled manually, by overriding the @code{positions} setting of the @code{Beam} grob. " } \score { \context Voice \relative c { %% from upper staffline (position 4) to centre (position 0) \override Beam #'positions = #'(2 . 0) c'8[ c] %% from center to one above centre (position 2) \override Beam #'positions = #'(0 . 1) c[ c] } \layout{ragged-right = ##t} } % **************************************************************** % end ly snippet % ****************************************************************