% \iffalse meta-comment % % Copyright (C) 2018 - 2021 by ChairX % % This file may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3 of this license or (at your option) any later % version. The latest version of this license is in: % % http://www.latex-project.org/lppl.txt % % and version 1.3 or later is part of all distributions of % LaTeX version 2005/12/01 or later. % % This file contains the implementation of all category theory related macros . % % Macros have to be described by (delete the first %) % %\begin{macro}{\macro} % % Description of the implementation. % % \begin{macrocode} %\newcommand{\macro}[] {} % % \end{macrocode} % %\end{macro} % % The implementation and description will appear in the implementation % part of the documentation. Use \subsubsection{} etc. for structuring. % % The documentation of the macros defined here has to be written in % chairxmathGeneralDoc.dtx % \fi % % First we check of macros should be included: % \begin{macrocode} \if@loadmath % \end{macrocode} % % \subsubsection{Decoration} % % \begin{macro}{\decorate} % We use the tensor package of Philip G. Ratcliffe 2004/12/20 v2.1 % tensor indices package (PGR) but overwrite the |\tensor| command % as this collides with our own version. Instead we provide the % |\decorate| macro which is identical to |\tensor| of the tensor % package. % % \begin{macrocode} \let\originaltensor\tensor \DeclareRobustCommand\decorate{\originaltensor} % \end{macrocode} % \end{macro} % % \begin{macro}{\deco} % This is a simplified version of |\decorate| allowing only five positions to be filled. % \begin{macrocode} \newcommand{\deco}[5]{\decorate*[^{#1}_{#2}]{#3}{^{#4}_{#5}}} % \end{macrocode} % \end{macro} % % \begin{macro}{\script} % Macro to access the |scriptfont|. % \begin{macrocode} \newcommand{\script}[1]{\ch@irxscriptfont{#1}} % \end{macrocode} % \end{macro} % % \begin{macrocode} \fi % \end{macrocode}