diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-05-11 19:06:11 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-05-11 19:06:11 +0000 |
| commit | 7e2a4292171b1ce0447b98b1f24758aaddb6d2db (patch) | |
| tree | a479e7c02a06d4a816193c67783588e625b34589 | |
| parent | a5e959d59848d0f5ee0b9df614bee13e17e0da3e (diff) | |
| download | docutils-7e2a4292171b1ce0447b98b1f24758aaddb6d2db.tar.gz | |
some ugly fix for the broken definition list spacing
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3333 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
| -rw-r--r-- | docutils/tools/stylesheets/latex.tex | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docutils/tools/stylesheets/latex.tex b/docutils/tools/stylesheets/latex.tex index fcdc6f3fd..fc5915ee0 100644 --- a/docutils/tools/stylesheets/latex.tex +++ b/docutils/tools/stylesheets/latex.tex @@ -604,7 +604,13 @@ } \providecommand{\DNdefinitionlist}[1]{% - \noindent\begin{description}#1\end{description}% + % XXX Replace with a generic list, so we don't have to hack around + % spacing problems with \vspace and \hspace. + \vspace{-2em}% + \begin{description}% + \parskip0pt% + #1% + \end{description}% } \providecommand{\DNdefinitionlistitem}[1]{% % LaTeX expects the label in square brackets; we provide an empty @@ -612,7 +618,7 @@ \item[]#1% } \providecommand{\Dformatterm}[1]{#1} -\providecommand{\DNterm}[1]{\Dformatterm{#1}} +\providecommand{\DNterm}[1]{\hspace{-5pt}\Dformatterm{#1}} % I'm still not sure what's the best rendering for classifiers. The % colon syntax is used by reStructuredText, so it's at least WYSIWYG. % Use slanted text because italic would cause too much emphasis. |
