From: Dietmar Maurer Date: Sat, 5 Nov 2016 10:55:25 +0000 (+0100) Subject: use parbox for description labels to allow line breaks X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=12c4696e3f72ef163ee77f6ab06001fc1f3eeda8 use parbox for description labels to allow line breaks --- diff --git a/asciidoc/dblatex-custom.sty b/asciidoc/dblatex-custom.sty index 608bf73..1233db5 100644 --- a/asciidoc/dblatex-custom.sty +++ b/asciidoc/dblatex-custom.sty @@ -24,6 +24,10 @@ \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}