%% 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 "accidental-piano.ly" \header { texidoc = "In piano accidental style, notes in both staves influence each other. In this example, each note should have an accidental." } \layout { ragged-right = ##t } \new PianoStaff \relative << #(set-accidental-style 'piano) \new Staff { ges'4 ges4 } \new Staff { r8 gis r8 gis } >> % **************************************************************** % end ly snippet % ****************************************************************