use parbox for description labels to allow line breaks
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 5 Nov 2016 10:55:25 +0000 (11:55 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 5 Nov 2016 10:55:25 +0000 (11:55 +0100)
asciidoc/dblatex-custom.sty

index 608bf73..1233db5 100644 (file)
   \end{minipage}\end{Sbox}\doublebox{\TheSbox}%
 }
 
+% use parbox for description labels to allow line breaks
+\renewcommand\descriptionlabel[1]{
+  \parbox[t]{\linewidth}{\hspace\labelsep \raggedright\bfseries #1}}
+
 % For DocBook literallayout elements, see `./dblatex/dblatex-readme.txt`.
 \usepackage{alltt}