From 5a90610c9d61ff8389bfbe5bafc8a219fe64d71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 30 Jan 2022 16:18:42 +0100 Subject: [PATCH] docmuent mathfont packgae --- doc/math/mathfont/.latexmkrc | 4 +++ doc/math/mathfont/Makefile | 8 +++++ doc/math/mathfont/mathfont.tex | 60 ++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 doc/math/mathfont/.latexmkrc create mode 100644 doc/math/mathfont/Makefile create mode 100644 doc/math/mathfont/mathfont.tex diff --git a/doc/math/mathfont/.latexmkrc b/doc/math/mathfont/.latexmkrc new file mode 100644 index 0000000..4c81cd6 --- /dev/null +++ b/doc/math/mathfont/.latexmkrc @@ -0,0 +1,4 @@ +$makeindex = "makeindex -s gind.ist %O -o %D %S"; +$clean_ext .= ' glo'; +$clean_ext .= ' hd'; +$clean_ext .= ' ins'; diff --git a/doc/math/mathfont/Makefile b/doc/math/mathfont/Makefile new file mode 100644 index 0000000..e174370 --- /dev/null +++ b/doc/math/mathfont/Makefile @@ -0,0 +1,8 @@ +doc: + latexmk + +full: + latexmk -gg + +clean: + latexmk -C diff --git a/doc/math/mathfont/mathfont.tex b/doc/math/mathfont/mathfont.tex new file mode 100644 index 0000000..e43dc36 --- /dev/null +++ b/doc/math/mathfont/mathfont.tex @@ -0,0 +1,60 @@ +\documentclass[full]{l3doc} + +\usepackage{mkessler-mathfont} + +\title{The \pkg{mkessler-mathfont} package} +\author{Maximilian Ke\ss ler} + +\begin{document} + +\maketitle + +\begin{abstract} + There are various math alphabets available by different packages. + We load several of these and make these available in a consistent way. +\end{abstract} + +\section{Usage} + +Load this package before \pkg{eucal}, \pkg{amsfonts} and \pkg{mathrsfs} +to ensure proper font loading. + +\section{Loaded alphabets} + +\begin{function}{\mathcal,\mathfrak,\mathscr,\mathcat,\mathcalo} + +\autoref{tab:provided-fonts} shows the fonts loaded from different packages. +\autoref{tab:font-samples} shows samples of these fonts when the +\pkg{mkessler-mathfont} packages has been loaded. +\end{function} + +\begin{table}[htpb] + \centering + \caption{Fonts provided} + \label{tab:provided-fonts} + \begin{tabular}{c | c | c } + Command & Font \\ + \hline + \cs{mathcal} & default \cs{mathcal} \\ + \cs{mathfrak} & \cs{mathfrak} from \pkg{amsfonts} \\ + \cs{mathscr} & \cs{mathscr} from \pkg{mathrsfs} \\ + \cs{mathcat} & \cs{mathscr} from \pkg{mathrsfs} \\ + \cs{mathcalo} & \cs{mathscr} from \pkg{eucal} with \texttt{mathscr} option \\ + \end{tabular} +\end{table} + +\begin{table}[htpb] + \centering + \caption{Font samples} + \label{tab:font-samples} + \begin{tabular}{c | c } + Command & sample \\ + \hline + \cs{mathcal} & $\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ \\ + \cs{mathfrak} & $\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ \\ + \cs{mathscr} & $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ \\ + \cs{mathcalo} & $\mathcalo{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ \\ + \end{tabular} +\end{table} + +\end{document}