document mathfixes package
This commit is contained in:
parent
5a90610c9d
commit
105314726a
3 changed files with 105 additions and 0 deletions
4
doc/math/mathfixes/.latexmkrc
Normal file
4
doc/math/mathfixes/.latexmkrc
Normal file
|
@ -0,0 +1,4 @@
|
|||
$makeindex = "makeindex -s gind.ist %O -o %D %S";
|
||||
$clean_ext .= ' glo';
|
||||
$clean_ext .= ' hd';
|
||||
$clean_ext .= ' ins';
|
8
doc/math/mathfixes/Makefile
Normal file
8
doc/math/mathfixes/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
doc:
|
||||
latexmk
|
||||
|
||||
full:
|
||||
latexmk -gg
|
||||
|
||||
clean:
|
||||
latexmk -C
|
93
doc/math/mathfixes/mathfixes.tex
Normal file
93
doc/math/mathfixes/mathfixes.tex
Normal file
|
@ -0,0 +1,93 @@
|
|||
\documentclass[full]{l3doc}
|
||||
|
||||
\usepackage{mkessler-mathfixes}
|
||||
|
||||
\title{The \pkg{mkessler-mathfixes} package}
|
||||
\author{Maximilian Ke\ss ler}
|
||||
|
||||
|
||||
\NewDocumentCommand{\ShowMacro}{m}
|
||||
{
|
||||
\cs{#1} & $ \csname #1\endcsname $
|
||||
\\
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\begin{documentation}
|
||||
|
||||
\begin{abstract}
|
||||
This package includes some hacky \LaTeX (re)-definitions to fix common
|
||||
misbehavior of built-in macros.
|
||||
|
||||
For sure, this is personal view-dependent.
|
||||
If you don't like these definitions, don't use this package.
|
||||
\end{abstract}
|
||||
|
||||
\section{Provided macros}
|
||||
\autoref{tab:label} shows the behavior of macros with the
|
||||
\pkg{mkessler-mathfixes} behavior.
|
||||
|
||||
\begin{function}{\degree}
|
||||
Prints a visual degree symbol, as in $37\degree$.
|
||||
\end{function}
|
||||
|
||||
\begin{function}{\oldlim}
|
||||
Behaves like the built-in \cs{lim} from \LaTeX.
|
||||
\end{function}
|
||||
|
||||
\begin{function}{\lim}
|
||||
Defined as \cs{oldlim}\cs{limits}, always puts the limits below the symbol,
|
||||
also in inline math mode.
|
||||
\end{function}
|
||||
|
||||
\begin{function}{\subset, \supset}
|
||||
Redefined to \cs{subseteq} and \cs{supseteq} to avoid ambiguities.
|
||||
\end{function}
|
||||
|
||||
\begin{function}{\oldphi, \uglyphi, \goldenratio}
|
||||
Synonyms for the built-in \cs{phi} symbol.
|
||||
\end{function}
|
||||
|
||||
\begin{function}{\phi, \varphi}
|
||||
Synonyms for the built-in \cs{varphi} symbol.
|
||||
\end{function}
|
||||
|
||||
\begin{function}{\oldespilon, \uglyepsilon}
|
||||
Synonyms for the built-in \cs{epsilon} symbol.
|
||||
\end{function}
|
||||
|
||||
\begin{function}{\epsilon, \varepsilon}
|
||||
Synonyms for the built-in \cs{varepsilon} symbol.
|
||||
\end{function}
|
||||
|
||||
\begin{table}[htpb]
|
||||
\centering
|
||||
\begin{tabular}{c | c}
|
||||
Command & Shown by \LaTeX \\
|
||||
\ShowMacro{degree}
|
||||
\ShowMacro{subset}
|
||||
\ShowMacro{supset}
|
||||
\ShowMacro{oldphi}
|
||||
\ShowMacro{uglyphi}
|
||||
\ShowMacro{goldenratio}
|
||||
\ShowMacro{phi}
|
||||
\ShowMacro{varphi}
|
||||
\ShowMacro{oldepsilon}
|
||||
\ShowMacro{uglyepsilon}
|
||||
\ShowMacro{epsilon}
|
||||
\ShowMacro{varepsilon}
|
||||
\texttt{\$\cs{oldlim}\_\{n \cs{to} \cs{infty}\}\$} & $\oldlim_{n \to \infty}$ \\
|
||||
\texttt{\$\cs{lim}\_\{n \cs{to} \cs{infty}\}\$} & $\lim_{n \to \infty}$ \\
|
||||
\end{tabular}
|
||||
\caption{Symbols when loaded with the \pkg{mkessler-mathfixes} package.}
|
||||
\label{tab:label}
|
||||
\end{table}
|
||||
|
||||
\end{documentation}
|
||||
|
||||
\PrintIndex
|
||||
|
||||
\end{document}
|
Loading…
Reference in a new issue