aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/DT/basic.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-27 17:11:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-27 17:11:24 +0000
commit25152678ffdb7653b13569fefe86cb617d1e0532 (patch)
tree1f9326ddff3c4d06bed8e2611e7641684809c322 /regress/man/DT/basic.in
parent3d43838424a8548b9c4ffe76ae65e482bfa44346 (diff)
downloadmandoc-25152678ffdb7653b13569fefe86cb617d1e0532.tar.gz
mandoc-25152678ffdb7653b13569fefe86cb617d1e0532.tar.zst
mandoc-25152678ffdb7653b13569fefe86cb617d1e0532.zip
The .AT, .DT, and .UC macros are allowed inside next-line scope
and never produce output at the place of their invocation. Minibugs found while investigating unrelated afl(1) reports from tb@.
Diffstat (limited to 'regress/man/DT/basic.in')
-rw-r--r--regress/man/DT/basic.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/regress/man/DT/basic.in b/regress/man/DT/basic.in
new file mode 100644
index 00000000..8902e594
--- /dev/null
+++ b/regress/man/DT/basic.in
@@ -0,0 +1,22 @@
+.\" $OpenBSD: basic.in,v 1.1 2022/04/27 17:04:15 schwarze Exp $
+.TH DT-BASIC 1 "April 27, 2022"
+.SH NAME
+DT-basic \- restore the default tabulator positions
+.SH DESCRIPTION
+.nf
+Default tabs are every five columns:
+1234 1234 1234 1234 1234
+one two three four
+.PP
+Custom tabs: column 6, then every 8 columns:
+12345 1234567 1234567 1234567
+.ta 6n T 8n
+one two three four
+.PP
+.B
+.DT
+bold text
+.PP
+Back to the default:
+1234 1234 1234 1234 1234
+one two three four