summaryrefslogtreecommitdiff
path: root/sphinx/texinputs
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2008-04-27 17:35:02 +0000
committergeorg.brandl <devnull@localhost>2008-04-27 17:35:02 +0000
commitdf62fabbb9a4af76588e7fa9c8067b518f44189a (patch)
treeb868344909ebd734ad02b8225069c0cff62ebf27 /sphinx/texinputs
parent7851f04a808e673edff0685cfd57fca1d26f1afa (diff)
downloadsphinx-df62fabbb9a4af76588e7fa9c8067b518f44189a.tar.gz
Make description environment usable in desc environment.
Diffstat (limited to 'sphinx/texinputs')
-rw-r--r--sphinx/texinputs/sphinx.sty7
1 files changed, 7 insertions, 0 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty
index d668376a..a1f9a546 100644
--- a/sphinx/texinputs/sphinx.sty
+++ b/sphinx/texinputs/sphinx.sty
@@ -1012,6 +1012,13 @@
}
}
+% Redefine description environment so that it is usable inside fulllineitems.
+%
+\renewcommand{\description}{%
+ \list{}{\labelwidth\z@%
+ \itemindent-\leftmargin%
+ \labelsep5pt%
+ \let\makelabel=\descriptionlabel}}
% Definition lists; requested by AMK for HOWTO documents. Probably useful
% elsewhere as well, so keep in in the general style support.