groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 05/08: doc/groff.texi: Add example.


From: G. Branden Robinson
Subject: [groff] 05/08: doc/groff.texi: Add example.
Date: Mon, 6 Nov 2023 13:25:50 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 3af7ebda84cec05ec21e1f4a2a8245483d6e08ab
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Nov 6 10:07:57 2023 -0600

    doc/groff.texi: Add example.
    
    ...illustrating use of dummy character to disambiguate (terminate) a
    numeric expression.
---
 doc/groff.texi | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index 0146c83e1..0ef76de19 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -14239,8 +14239,15 @@ draw the line.  The default is the baseline rule 
special character,
 
 @cindex dummy character (@code{\&}), effect on @code{\l} escape sequence
 @cindex character, dummy (@code{\&}), effect on @code{\l} escape sequence
-If @var{c} is a valid scaling unit, put @code{\&} after @var{l} to
-disambiguate the input.
+If @var{c} is a numerical expression operator or valid scaling unit, put
+@code{\&} after @var{l} to disambiguate the input.
+
+@Example
+\l'4i\&-'
+    @result{} ----------------------------------------
+@endExample
+
+Let us see how to draw a box around a word using a macro.
 
 @Example
 .de textbox



reply via email to

[Prev in Thread] Current Thread [Next in Thread]