]> git.proxmox.com Git - pve-docs.git/blobdiff - asciidoc/dblatex-custom.sty
use parbox for description labels to allow line breaks
[pve-docs.git] / asciidoc / dblatex-custom.sty
index 608bf73f36182b875065d4f341b5d82286fcfde9..1233db553829fce807625ed9f17d3c26f93ff9f3 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}