\documentclass[full]{l3doc} \title{The \pkg{mkessler-mathfig} package} \author{Maximilian Ke\ss ler} \usepackage{mkessler-mathfig} \begin{document} \maketitle \begin{abstract} This is just some small wrapper package for drawing mathematical figures. \end{abstract} \begin{documentation} \section{Loaded packages} We load \pkg{pgfplots}, \pkg{tikz}, \pkg{tikz-cd} and \pkg{xy}. \section{Additional macros} \begin{function}{\pushoutsymbol} Denotes a pushoutsymbol used in category theory diagrams. \end{function} \begin{function}{\pullbacksymbol} Denotes a pullbacksymbol used in category theory diagrams. \end{function} \begin{function}{\pushout} \begin{syntax} \cs{pushout}\oarg{path to bottom right corner} \end{syntax} Invoked inside a \env{tikzcd} environment. This assumes being called in the top left corner of some commutative square and marks this square as a pushout. The \meta{path} consists of symbols \texttt{d}, \texttt{u}, \texttt{r} and \texttt{l}, as in \pkg{tikz-cd}. By default, it is \texttt{dr}, being usable for default squares. A phantom arrow is drawn in the given direction that gets a \cs{pushoutsymbol}. \end{function} \begin{function}{\pullback} \begin{syntax} \cs{pullback}\oarg{path to bottom right corner} \end{syntax} Invoked inside a \env{tikzcd} environment. This assumes being called in the top left corner of some commutative square and marks this square as a pullback. The \meta{path} consists of symbols \texttt{d}, \texttt{u}, \texttt{r} and \texttt{l}, as in \pkg{tikz-cd}. By default, it is \texttt{dr}, being usable for default squares. A phantom arrow is drawn in the given direction that gets a \cs{pullbacksymbol}. \end{function} \end{documentation} \PrintIndex \end{document}