From: Graham Percival Date: Thu, 25 Aug 2005 02:10:43 +0000 (+0000) Subject: add info about raising text. X-Git-Tag: release/2.7.8~23 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bb34effc0cebaa5b9f32547da66d8c271a91bd75;p=lilypond.git add info about raising text. --- diff --git a/ChangeLog b/ChangeLog index 17fe81e40c..e6ef8b3779 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-24 Graham Percival + + * Documentation/user/advanced-notation.itely: add info about + raising text. + 2005-08-24 Han-Wen Nienhuys * lily/beam.cc (print): fix X start/end points of isolated diff --git a/Documentation/user/advanced-notation.itely b/Documentation/user/advanced-notation.itely index 98ca3ae1ed..8effe24b71 100644 --- a/Documentation/user/advanced-notation.itely +++ b/Documentation/user/advanced-notation.itely @@ -297,6 +297,19 @@ whole. For example, the @internalsref{RehearsalMark} is horizontally centered, so using @code{\mark \markup @{ \left-align .. @}} has no effect. +In addition, vertical placement is performed after creating the +text markup object. If you wish to move an entire piece of markup, +you need to use the #'padding property or create an "anchor" point +inside the markup (generally with @code{\hspace #0}). + +@lilypond[quote,verbatim,fragment,relative=1] +\fatText +c'4^\markup{ \raise #5 "not raised" } +\once \override TextScript #'padding = #3 +c'4^\markup{ raised } +c'4^\markup{ \hspace #0 \raise #1.5 raised } +@end lilypond + @seealso