latex2man: Accepted LaTeX Macros
Accepted LaTeX Macros
---------------------
The following standard LaTeX commands are accepted:
`\section{..}'
The section macro takes one argument: the name of the Man-page
section. Each Man-page consists of several sections. Usually
there are the following sections in a Man-page: _Name_ (special
handling as environment, c.f. above), _Synopsis_, _Description_,
_Options_, _Files_, _See Also_, _Diagnostics_, _Return Values_,
_Bugs_, _Author_, _version_, etc.
_Synopsis_ must be the first section after the Name environment.
Note: Do not use LaTeX-macrosin section names.
`\subsection{..}'
works as well as
`\subsubsection{..}'
those.
`\emph{..}'
\emph{example} is typeset as _example_.
`\textbf{..}'
\textbf{example} is typeset as *example*.
`\texttt{..}'
\textt{example} is typeset as example.
`\underline{..}'
\underline{example} is typeset as example of underline.
`\date{..}'
uses .. as date.
`\verb+..+'
but only + is allowed as delimiter.
`$<$'
is typeset as <.
`$>$'
is typeset as >.
`$<=$'
is typeset as <=.
`$>=$'
is typeset as >=.
`$=$'
is typeset as =.
`$<>$'
is typeset as <>.
`$\ge$'
is typeset as $>=$.
`$\le$'
is typeset as $<=$.
`$\leftarrow$'
is typeset as $<-$.
`$\Leftarrow$'
is typeset as $<==$.
`$\rightarrow$'
is typeset as $->$.
`$\Rightarrow$'
is typeset as $==>$.
`\{'
is typeset as {.
`\}'
is typeset as }.
`\$'
is typeset as $.
`\$'
is typeset as $,should be used inside macro arguments.
`\_'
is typeset as _.
`\&'
is typeset as &.
`\#'
is typeset as #.
`\%'
is typeset as %.
`\,'
is typeset as smaller blank - - (between the two -)
`\-'
is used to mark hyphenation in a word.
`\\'
is typeset as a linebreak or marks the end of a column in the Table
environment.
`\'
(a \ followed by a blank) is typeset as a blank, although it
cannot be used at the beginning of a line to make indentation (see
the \SP command).
`~'
is typeset as a blank.
`\copyright'
is typeset as (C).
`\noindent'
`\hline'
inside a Table environment.
`\item'
inside a itemize, enumerate, or description environment.
`\today'
13 April 2017(see also the rcsinfo LaTeXpackage).
`\ss,\"a, ...'
\ss = ss, \"a= a", \"o= o", \"u= u", \"A= A", \"O= O", \"U= U". It
is allowed to surround these macros in { and } in all places, even
inside other macros, e.g.
. \textbf{\"a\"o\"u\"A\"O\"U\ss}
. \textbf{\"a}{\"o}{\"u}{\"A}{\"O}{\"U}{\ss}}
. \textbf{äöüÄÖÜß}
*a"o"u"A"O"U"ss a"o"u"A"O"U"ss a"o"u"A"O"U"ss*
If these letters are used in their LATIN-1 8-bit coding, they are
translated into the equivalent letter of the desired output format.
E.g. A" becomes Ä in HTML and @"A in texinfo.
`\input{..}'
Read and process the given filename.