comparison Doc/texinputs/python.sty @ 20113:12a787fb71df legacy-trunk

Move the styling for the HTML version of \mailheader into the CSS file. In both the HTML and typeset versions of the documentation, add a colon after the name of a mail header so that it is more easily distinguished from other text.
author Fred Drake <fdrake@acm.org>
date Wed, 26 Sep 2001 18:46:36 +0000
parents d4ba6e2aaae3
children 1b3ffdf12150
comparison
equal deleted inserted replaced
20112:e8a29d23c70a 20113:12a787fb71df
831 831
832 \newcommand{\cfunction}[1]{\texttt{#1}} 832 \newcommand{\cfunction}[1]{\texttt{#1}}
833 \newcommand{\ctype}[1]{\texttt{#1}} % C struct or typedef name 833 \newcommand{\ctype}[1]{\texttt{#1}} % C struct or typedef name
834 \newcommand{\cdata}[1]{\texttt{#1}} % C variable, typically global 834 \newcommand{\cdata}[1]{\texttt{#1}} % C variable, typically global
835 835
836 \newcommand{\mailheader}[1]{\texttt{#1}} 836 \newcommand{\mailheader}[1]{{\small\textsf{#1:}}}
837 \newcommand{\mimetype}[1]{{\small\textsf{#1}}} 837 \newcommand{\mimetype}[1]{{\small\textsf{#1}}}
838 % The \! is a "negative thin space" in math mode. 838 % The \! is a "negative thin space" in math mode.
839 \newcommand{\regexp}[1]{% 839 \newcommand{\regexp}[1]{%
840 {\tiny$^{^\lceil}\!\!$% 840 {\tiny$^{^\lceil}\!\!$%
841 {\normalsize\code{#1}}% 841 {\normalsize\code{#1}}%