...
 
Commits (6)
......@@ -285,17 +285,18 @@ a notion for an inner product.
The second argument denotes the argument.
\par\mathCodeExample{\ceil{a}}
\par\mathCodeExample{\ceil[Big]{\dfrac{1}{2}}}
\item[closure] closure of a set \mathCodeExample{\closure{} M}
\item[clconv] closure of the convex hull of a set \mathCodeExample{\clconv M}
\item[closure] closure of a set \mathCodeExample{\closure M}
\item[cofac] cofactor matrix \mathCodeExample{\cofac(A)}
\item[compactly] compact embedding of topological spaces \mathCodeExample{\compactly}
\item[cone] conic hull \mathCodeExample{\cone}
\item[conv] convolution \mathCodeExample{\conv}
\item[corresponds] binary operator for correspondence \mathCodeExample{A\corresponds{} B}
\item[conv] convex hull of a set \mathCodeExample{\conv M}
\item[corresponds] binary operator for correspondence \mathCodeExample{A\corresponds B}
\item[cov] covariance \mathCodeExample{\cov}
\item[curl] the curl operator \mathCodeExample{\curl}
\item[d] integral symbol with prepended space, as in
\par\mathCodeExample{\int_\R \exp(-x^2) \d x}
\item[dev] deviator of a matrix \mathCodeExample{\dev{} A}
\item[dev] deviator of a matrix \mathCodeExample{\dev A}
\item[diag] diagonal matrix composed of entries in a vector, or diagonal of a matrix
\par\mathCodeExample{\diag(a)}
\par\mathCodeExample{\diag(A)}
......@@ -315,7 +316,7 @@ a notion for an inner product.
\item[dom] domain \mathCodeExample{\dom}
\item[dotcup] distinct union \mathCodeExample{\dotcup}
\item[dprod] double contraction of matrices $A \dprod B = \sum_{i,j} A_{ij} B_{ij} = \trace(A^\transp B)$
\par\mathCodeExample{A \dprod{} B}
\par\mathCodeExample{A \dprod B}
\item[dual] duality pairing.
Its syntax is \codeCommand{\dual[#1]{#2}{#3}}.
The first (optional) argument is used to scale the delimiters enclosing the arguments to the standard amsmath sizes.\cref{footnote:amsmath_sizes}
......
% Generated by numapde-prepare-manuscript.py on 20191230-17:08:24
% numapde-prepare-manuscript.py --infile documentation.yaml --outname documentation --nosuffix --main documentation-main.tex --nocopy
% Generated by numapde-prepare-manuscript.py on 20200129-09:50:19
% numapde-prepare-manuscript.py --infile numapde-latex-documentation.yaml --outname numapde-latex-documentation --nosuffix --main numapde-latex-documentation-main.tex --nocopy
% A LaTeX template for the numapde-preprint class
\documentclass{numapde-preprint}
......@@ -52,7 +52,7 @@ It is best compiled using \XeLaTeX\ (TeX Live 2018 or newer).\end{abstract}
% Insert document body
\input{documentation-main.tex}
\input{numapde-latex-documentation-main.tex}
% Insert bibliography
\printbibliography
......
......@@ -10,7 +10,7 @@
% delimiters
\newcommand{\abs}[2][]{\enclose[#1]{\lvert}{#2}{\rvert}}
\newcommand{\ceil}[2][]{\enclose[#1]{\lceil}{#2}{\rceil}}
\newcommand{\dual}[3][]{\enclose[#1]{\langle}{#2\,,\,#3}{\rangle}}
\newcommand{\dual}[3][]{\enclose[#1]{\langle}{#2\,,#3}{\rangle}}
\newcommand{\floor}[2][]{\enclose[#1]{\lfloor}{#2}{\rfloor}}
\newcommand{\inner}[3][]{\enclose[#1]{(}{#2\,,\,#3}{)}}
\newcommand{\jump}[2][]{\enclose[#1]{\llbracket}{#2}{\rrbracket}}
......
% This package provides some rudimentary replacements for cleveref.sty by the
% variants of the \autoref command
% Limitations:
% * several commands from the cleveref.sty package are not available in autoref.sty
% * \autoref does not accept multiple arguments; see
% https://tex.stackexchange.com/questions/15728/multiple-references-with-autoref
% for a partial workaround
\RequirePackage{letltxmacro}
\LetLtxMacro{\cref}{\autoref}
\LetLtxMacro{\Cref}{\autoref}
\newcommand{\crefrange}{\PackageError{numapde-wrapCleveref}{\crefrange is currently not supported}{}}
\newcommand{\Crefrange}{\PackageError{numapde-wrapCleveref}{\Crefrange is currently not supported}{}}
\LetLtxMacro{\cpageref}{\autopageref}
\LetLtxMacro{\Cpageref}{\autopageref}
\newcommand{\cpagerefrange}{\PackageError{numapde-wrapCleveref}{\cpagerefrange is currently not supported}{}}
\newcommand{\Cpagerefrange}{\PackageError{numapde-wrapCleveref}{\Cpagerefrange is currently not supported}{}}
\newcommand{\namecref}{\PackageError{numapde-wrapCleveref}{\namecref is currently not supported}{}}
\newcommand{\nameCref}{\PackageError{numapde-wrapCleveref}{\nameCref is currently not supported}{}}
\newcommand{\lcnamecref}{\PackageError{numapde-wrapCleveref}{\lcnamecref is currently not supported}{}}
\newcommand{\namecrefs}{\PackageError{numapde-wrapCleveref}{\namecrefs is currently not supported}{}}
\newcommand{\nameCrefs}{\PackageError{numapde-wrapCleveref}{\nameCrefs is currently not supported}{}}
\newcommand{\lcnamecrefs}{\PackageError{numapde-wrapCleveref}{\lcnamecrefs is currently not supported}{}}
\LetLtxMacro{\labelcref}{\ref}
\LetLtxMacro{\labelcpageref}{\pageref}