4 texidoc = "The @code{\\offset} command may be used to displace various properties
5 from the default settings contained in grob descriptions. Settings which may be
6 offset are limited to those of type @code{number}, @code{number-pair}, or
7 @code{number-pair-list}. Most of the following examples begin with the grob in its
8 default appearance. The command is demonstrated as a tweak and as an override."
21 <c e g b>1-\offset #'positions #'(-1 . 1) \arpeggio
28 \once \offset #'Y-offset #1 BreathingSign
35 \once \offset #'X-offset #-1 DynamicText
38 c1-\offset #'padding #1 \f
44 \once \offset #'positions #'(-1 . -1) Voice.Beam
46 % same effect as an offset of '(-2 . -2)
47 \once \offset #'positions #-2 Beam
49 \override Beam.breakable = ##t
50 c8-\offset #'positions #'((-1 . -3) (-3 . -1)) [ d e f
52 g8 f e d] c-\offset #'beam-thickness #0.48 [ d e f]
56 c4\startTextSpan d e f\stopTextSpan
57 \once \offset #'dash-fraction #'(0.1 0.3) TextSpanner
58 \once \offset #'staff-padding #'(1.0 2.0) TextSpanner
59 c4\startTextSpan d e f
65 % this duplicates the effect of the \shape command
66 \offset #'control-points #'(
67 ((0 . 0) (0 . 1) (0 . 2) (0 . 1))
68 ((1 . 0) (0 . 4) (0 . 4) (0 . 0))
70 c4-\offset #'line-thickness #'(0 10) ( d e f