summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Rs
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-10 07:40:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-10 07:40:10 +0000
commita322e942d511bf3b7f2db0bbbdd322d6f749a7e3 (patch)
tree77a5f25df461de3df657bae45a96aaa86aefca21 /regress/mdoc/Rs
parent4bfa887201da03d46daafa5d4426ba288eb6e8e7 (diff)
downloadmandoc-a322e942d511bf3b7f2db0bbbdd322d6f749a7e3.tar.gz
After years of gnashing of teeth, i finally found a way to avoid
having to write empty list elements for non-compact .Bl -tag lists: 1. Add margin-bottom to the <dd>. Note that margin-top on the <dt> doesn't work because it would put a short <dt> lower than the <dd>; margin-bottom on the <dt> doesn't work because it would put vertical space before the <dd> for a long <dt>; and margin-top on the <dd> doesn't work because it would put a short <dt> higher than the <dd>. Only margin-bottom on the <dd> has none of these adverse effects. 2. Of course, margin-bottom on the <dd> fails to take care of the vertical spacing before the first list element, so implement that separately by margin-top on the <dl>. 3. For .Bl -tag -compact, reset both to zero.
Diffstat (limited to 'regress/mdoc/Rs')
0 files changed, 0 insertions, 0 deletions