aboutsummaryrefslogtreecommitdiffstats
path: root/doc/user/prg_tabs
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:38:23 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:38:23 +0000
commit78c2bcf9e96ab00615ee6f96905bca78fcd52a00 (patch)
tree9c7e31f2a59e174433e55b589771005b48a34158 /doc/user/prg_tabs
parent9daa98ce90ceeeaba9e942d28575d8fcfe36db4b (diff)
downloadlout-78c2bcf9e96ab00615ee6f96905bca78fcd52a00.tar.gz
Lout 3.27.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@23 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'doc/user/prg_tabs')
-rw-r--r--doc/user/prg_tabs10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/user/prg_tabs b/doc/user/prg_tabs
index 9fe101d..f3ffa67 100644
--- a/doc/user/prg_tabs
+++ b/doc/user/prg_tabs
@@ -4,12 +4,17 @@
@Begin
@PP
Tab characters provide a convenient way to indent and align parts of
-tab.c @Index { tab characters in programs }
+programs. @RawIndex { programs }
+programs.tab.characters @SubIndex { tab characters }
+tab.characters.programs @Index { tab characters in programs }
computer programs. With care, this alignment can be preserved in the final
print even with varying-width fonts.
@PP
The distance between two tab stops in the program text is by default taken
to be 8 characters, which is standard for Unix. This can be changed with
+programs. @RawIndex { programs }
+programs.tabin @SubIndex { @Code "tabin" option }
+tabin.programs @Index { @Code "tabin" option (programs) }
the @Code "tabin" option. For example,
@ID @Code "@CP tabin { 4 }"
informs Lout that tab stops occur every 4 characters in the program
@@ -19,6 +24,9 @@ we will stick with C for the rest of this section.
@PP
The distance between two tab stops on the printed page is quite a different
thing, and it is determined by the value of the @Code "tabout" option, which
+programs. @RawIndex { programs }
+programs.tabout @SubIndex { @Code "tabout" option }
+tabout.programs @Index { @Code "tabout" option (programs) }
must be a Lout length. For example,
@ID @Code "@CP tabout { 0.5i }"
requests that tab stops be placed at half-inch intervals. In other