aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-19 06:01:40 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-19 06:01:40 +0000
commit28f6564486b816a1d31c10fcd1899bf97c366725 (patch)
tree564ce55d06ae0daf090cc3317a4bfbd66df56dd8
parent6f79a70bf6559aa8864744bb7783e093148d40f2 (diff)
downloadman-pages-28f6564486b816a1d31c10fcd1899bf97c366725.tar.gz
Note that code segments, structure definitions, shell session
logs, should be indented by 4 spaces.
-rw-r--r--man7/man-pages.76
1 files changed, 6 insertions, 0 deletions
diff --git a/man7/man-pages.7 b/man7/man-pages.7
index fc216bf81b..5bb2511f58 100644
--- a/man7/man-pages.7
+++ b/man7/man-pages.7
@@ -473,6 +473,12 @@ For some examples of what example programs should look like, see
.BR wait (2)
and
.BR pipe (2).
+.SS Indentation of structure definitions, shell session logs, etc.
+When structure definitions, shell session logs, etc. are included
+in running text, indent them by 4 spaces (i.e., a block enclosed by
+.I ".in\ +4n"
+and
+.IR ".in" ).
.SH EXAMPLE
For canonical examples of how man pages in the
.I man-pages