Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3bf7865

Browse files
committed
Added {definitions} environment, which has \term to define indivual terms.
Similar to {description}.
1 parent 6c3a2cb commit 3bf7865

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Doc/texinputs/python.sty

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,5 +710,16 @@
710710
}
711711
}
712712

713+
714+
% Definition lists; requested by AMK for HOWTO documents. Probably useful
715+
% elsewhere as well, so keep in in the general style support.
716+
%
717+
\newenvironment{definitions}{%
718+
\begin{description}%
719+
\def\term##1{\item[##1]\itembreak}
720+
}{%
721+
\end{description}%
722+
}
723+
713724
% Tell TeX about pathological hyphenation cases:
714725
\hyphenation{Base-HTTP-Re-quest-Hand-ler}

0 commit comments

Comments
 (0)