summaryrefslogtreecommitdiffstats
path: root/mdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-29 13:58:18 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-29 13:58:18 +0000
commit497337adb4cbff663bffd46a9081e56a5ae7874e (patch)
treedf13807a3827ad67bfd2f574b5e880b584d0691e /mdoc.h
parent1146ced33c4a59a115f352a3cd7c07344c04e746 (diff)
downloadmandoc-497337adb4cbff663bffd46a9081e56a5ae7874e.tar.gz
Partial implementation of .Bd -centered.
In groff, .Bd -centered operates in fill mode, which is relatively hard to implement, while this implementation operates in non-fill mode so far. As long as you pay attention that your lines do not overflow, it works. To make sure that rendering is the same for mandoc and groff, it is recommended to insert .br between lines for now. This implementation will need improvement later.
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc.h b/mdoc.h
index 43ab3b5c..f2341a47 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -280,7 +280,7 @@ enum mdoc_list {
enum mdoc_disp {
DISP__NONE = 0,
- DISP_centred, /* -centered */
+ DISP_centered, /* -centered */
DISP_ragged, /* -ragged */
DISP_unfilled, /* -unfilled */
DISP_filled, /* -filled */