%% 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 "move-specific-text.ly" % possible rename to scheme- or something like that. -gp \header { texidoc = "@cindex Scheme Move Text Objects, like text, can be moved around by using some Scheme code. " } #(define (make-text-checker text) (lambda (grob) (equal? text (ly:grob-property grob 'text)))) \score { \relative c''' { \stemUp \applyOutput #(outputproperty-compatibility (make-text-checker (make-simple-markup "m.d.")) 'extra-offset '(-3.5 . -4.5)) a^2^"m.d." } \layout { ragged-right = ##t} } % **************************************************************** % end ly snippet % ****************************************************************