aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_html.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-12 17:58:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-12 17:58:21 +0000
commit3fec44d9300e7b532fd53472f9ad052381c17bc7 (patch)
tree5c059e3e395f9380ab660604ac93320f5f9fbd38 /mandoc_html.3
parent39734eb01d30f4fff1da35538dbe086698bf9d43 (diff)
downloadmandoc-3fec44d9300e7b532fd53472f9ad052381c17bc7.tar.gz
mandoc-3fec44d9300e7b532fd53472f9ad052381c17bc7.tar.zst
mandoc-3fec44d9300e7b532fd53472f9ad052381c17bc7.zip
Make the tag column in .Bl -tag lists wider:
1. I forgot about the 2n padding between tag and body. 2. The factor 1.1 was too small for bold fold, make it *1.15 + 1n. Ugliness spotted by tb@.
Diffstat (limited to 'mandoc_html.3')
-rw-r--r--mandoc_html.322
1 files changed, 15 insertions, 7 deletions
diff --git a/mandoc_html.3 b/mandoc_html.3
index 1382a2f8..bd3f1b58 100644
--- a/mandoc_html.3
+++ b/mandoc_html.3
@@ -1,4 +1,4 @@
-.\" $Id: mandoc_html.3,v 1.7 2017/03/15 11:29:53 schwarze Exp $
+.\" $Id: mandoc_html.3,v 1.8 2017/05/12 17:58:21 schwarze Exp $
.\"
.\" Copyright (c) 2014, 2017 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 15 2017 $
+.Dd $Mdocdate: May 12 2017 $
.Dt MANDOC_HTML 3
.Os
.Sh NAME
@@ -204,7 +204,7 @@ Instead, the rest of the format string consists of pairs of
argument type letters and style name letters.
.El
.Pp
-Argument type letters each require on argument as follows:
+Argument type letters each require one argument as follows:
.Bl -tag -width 1n -offset indent
.It Cm h
Requires one
@@ -233,10 +233,18 @@ width specifier.
If the argument is
.Dv NULL ,
nothing is printed for this pair.
-.It Cm W
-Similar to
-.Cm w ,
-but makes the width negative by multiplying it with \(mi1.
+.Pp
+The
+.Cm w
+argument type letter can optionally be followed by one or two
+modifier letters.
+The modifier
+.Cm +
+increases the width by 10% to make even bold text fit
+and adds two units for padding between columns.
+The modifier
+.Cm \-
+makes the width negative by multiplying it with \-1.
.El
.Pp
Style name letters decide what to do with the preceding argument: