From 2cb36f20042469f0042f8af1edf798fd53a0afa3 Mon Sep 17 00:00:00 2001 From: gpercival Date: Mon, 8 Aug 2005 22:47:23 +0000 Subject: [PATCH] Fix compile bug, add linewidth info to \justify. --- ChangeLog | 7 +++++++ Documentation/user/programming-interface.itely | 4 ++-- scm/define-markup-commands.scm | 7 +++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d5cc1fc2b2..6139de8300 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-08-08 Graham Percival + + * Documentation/user/programming-interface.itely: fix @{ @}. + + * scm/define-markup-commands.scm: add linewidth info to + \justify and \wordwrap. + 2005-08-08 Mats Bengtsson * Documentation/user/programming-interface.itely (Markup diff --git a/Documentation/user/programming-interface.itely b/Documentation/user/programming-interface.itely index f82716f2dc..5516e55324 100644 --- a/Documentation/user/programming-interface.itely +++ b/Documentation/user/programming-interface.itely @@ -455,8 +455,8 @@ providing a LilyPond-like syntax. For example, @noindent is equivalent to: @example -\markup \column { \line @{ \bold \italic "hello" \raise #0.4 "world" @} - \bigger \line @{ foo bar baz @} } +\markup \column @{ \line @{ \bold \italic "hello" \raise #0.4 "world" @} + \bigger \line @{ foo bar baz @} @} @end example @noindent diff --git a/scm/define-markup-commands.scm b/scm/define-markup-commands.scm index 06bc2ec7f8..b30fb65d0d 100644 --- a/scm/define-markup-commands.scm +++ b/scm/define-markup-commands.scm @@ -466,12 +466,15 @@ determines the space between each markup in @var{args}." (stack-lines DOWN 0.0 baseline-skip lines))) (def-markup-command (justify layout props args) (markup-list?) - "Like wordwrap, but with lines stretched to justify the margins." + "Like wordwrap, but with lines stretched to justify the margins. +Use @code{\override #'(linewidth . X)} to set linewidth, where X +is the number of staff spaces." (wordwrap-markups layout props args #t)) (def-markup-command (wordwrap layout props args) (markup-list?) - "Simple wordwrap" + "Simple wordwrap. Use @code{\override #'(linewidth . X)} to set +linewidth, where X is the number of staff spaces." (wordwrap-markups layout props args #f)) -- 2.39.5