| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Copyright (C) 2018 - 2021 by ChairX |
| 4 |
% |
| 5 |
% This file may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3 of this license or (at your option) any later |
| 8 |
% version. The latest version of this license is in: |
| 9 |
% |
| 10 |
% http://www.latex-project.org/lppl.txt |
| 11 |
% |
| 12 |
% and version 1.3 or later is part of all distributions of |
| 13 |
% LaTeX version 2005/12/01 or later. |
| 14 |
% |
| 15 |
% \fi |
| 16 |
% |
| 17 |
%\iffalse |
| 18 |
%<*chairxmath> |
| 19 |
\NeedsTeXFormat{LaTeX2e} |
| 20 |
\ProvidesPackage{chairxmath} |
| 21 |
[2021/07/29 v1.0.0 First major release] |
| 22 |
|
| 23 |
%</chairxmath> |
| 24 |
% |
| 25 |
%<*driver> |
| 26 |
\documentclass{ltxdoc} |
| 27 |
|
| 28 |
\usepackage{chairxmath} |
| 29 |
\usepackage{xcolor} |
| 30 |
\usepackage[utf8]{inputenc} |
| 31 |
\usepackage[T1]{fontenc} |
| 32 |
\usepackage{ifdraft} |
| 33 |
\usepackage{gitinfo2} |
| 34 |
\usepackage[linktoc=all]{hyperref} |
| 35 |
|
| 36 |
\EnableCrossrefs |
| 37 |
|
| 38 |
\CodelineIndex |
| 39 |
|
| 40 |
\RecordChanges |
| 41 |
|
| 42 |
% ˆˆA suppress indentation |
| 43 |
\setlength{\parindent}{0pt} |
| 44 |
|
| 45 |
\begin{document} |
| 46 |
\DocInput{chairxmath.dtx} |
| 47 |
\end{document} |
| 48 |
%</driver> |
| 49 |
%\fi |
| 50 |
% |
| 51 |
% \CheckSum{1540} |
| 52 |
% |
| 53 |
% \changes{v0.1}{2018/02/27}{Initial test} |
| 54 |
% \changes{v0.9}{2019/02/21}{First official release} |
| 55 |
% \changes{v1.0.0}{2021/07/29}{First major release} |
| 56 |
% |
| 57 |
% \GetFileInfo{chairxmath.sty} |
| 58 |
% |
| 59 |
% \title{The \textsf{ChairX Math} package} |
| 60 |
% \author{ChairX \\ |
| 61 |
% \ifdraft{Last changes by \gitAuthorName{} on \gitAuthorDate \\ } |
| 62 |
% \ifdraft{Git revision of nchairx:} |
| 63 |
% \ifdraft{\texttt{\gitAbbrevHash{}} {\gitReferences{}} \\ } |
| 64 |
% \ifdraft{} |
| 65 |
% Version \fileversion{} (\filedate) \\ |
| 66 |
% \texttt{[email protected]}} |
| 67 |
% |
| 68 |
% \maketitle |
| 69 |
% |
| 70 |
% \begin{abstract} |
| 71 |
% This is a part of the new ChairX package providing the famous |
| 72 |
% ChairX macros for mathematics. |
| 73 |
% \end{abstract} |
| 74 |
% |
| 75 |
% \setcounter{tocdepth}{2} |
| 76 |
% \tableofcontents |
| 77 |
% |
| 78 |
% \section{Introduction} |
| 79 |
% |
| 80 |
% This package defines the new package |chairxmath|. It can be used as |
| 81 |
% a standalone version of the math macros from |nchairx| if the other |
| 82 |
% settings and defaults of |nchairx| are not needed or wanted. |
| 83 |
% |
| 84 |
% \section{Usage} |
| 85 |
% |
| 86 |
% \subsection{Fonts} |
| 87 |
% \input{chairxmathFontsDoc.dtx} |
| 88 |
% |
| 89 |
% \subsection{New Delimiters} |
| 90 |
% \input{chairxmathDelimitersDoc.dtx} |
| 91 |
% |
| 92 |
% \subsection{General Mathematics Macros} |
| 93 |
% \input{chairxmathGeneralDoc.dtx} |
| 94 |
% |
| 95 |
% \subsection{Algebra} |
| 96 |
% \input{chairxmathAlgebraDoc.dtx} |
| 97 |
% |
| 98 |
% \subsection{Analysis} |
| 99 |
% \input{chairxmathAnalysisDoc.dtx} |
| 100 |
% |
| 101 |
% \subsection{Category Theory} |
| 102 |
% \input{chairxmathCategoryDoc.dtx} |
| 103 |
% |
| 104 |
% \subsection{Differential Geometry} |
| 105 |
% \input{chairxmathDiffgeoDoc.dtx} |
| 106 |
% |
| 107 |
% \subsection{Linear Algebra} |
| 108 |
% \input{chairxmathLinalgDoc.dtx} |
| 109 |
% |
| 110 |
% \subsection{Statistics} |
| 111 |
% \input{chairxmathStatisticsDoc.dtx} |
| 112 |
% |
| 113 |
% \subsection{Topology} |
| 114 |
% \input{chairxmathTopologyDoc.dtx} |
| 115 |
% |
| 116 |
% \StopEventually{\PrintIndex \PrintChanges} |
| 117 |
% |
| 118 |
% \section{Implementation} |
| 119 |
% The following packages are required: |
| 120 |
% \begin{macrocode} |
| 121 |
\RequirePackage{amsmath} |
| 122 |
% \end{macrocode} |
| 123 |
% \begin{macrocode} |
| 124 |
\RequirePackage{amssymb} |
| 125 |
% \end{macrocode} |
| 126 |
% \begin{macrocode} |
| 127 |
\RequirePackage{mathtools} |
| 128 |
% \end{macrocode} |
| 129 |
% Grab only those fonts from stmry which we actually need |
| 130 |
% \begin{macrocode} |
| 131 |
\DeclareSymbolFont{stmry}{U}{stmry}{m}{n} |
| 132 |
\SetSymbolFont{stmry}{bold}{U}{stmry}{b}{n} |
| 133 |
% \end{macrocode} |
| 134 |
% \begin{macrocode} |
| 135 |
\RequirePackage{xkeyval} |
| 136 |
% \end{macrocode} |
| 137 |
% Used for allowing key-value pairs as options. |
| 138 |
% \begin{macrocode} |
| 139 |
\RequirePackage{tensor} |
| 140 |
% \end{macrocode} |
| 141 |
% The |suffix| package allows to define $*$-versions of macros. |
| 142 |
% \begin{macrocode} |
| 143 |
\RequirePackage{suffix} |
| 144 |
% \end{macrocode} |
| 145 |
% |
| 146 |
% |
| 147 |
% In order to get the package options for |nchairx| working, the following needs to be defined. |
| 148 |
% \begin{macrocode} |
| 149 |
\newif\if@loadmath \@loadmathtrue |
| 150 |
% \end{macrocode} |
| 151 |
% |
| 152 |
% \subsection{Fonts} |
| 153 |
% \input{chairxmathFonts.dtx} |
| 154 |
% |
| 155 |
% \subsection{New Delimiters} |
| 156 |
% \input{chairxmathDelimiters.dtx} |
| 157 |
% |
| 158 |
% \subsection{General Mathematics Macros} |
| 159 |
% \input{chairxmathGeneral.dtx} |
| 160 |
% |
| 161 |
%\subsection{Algebra} |
| 162 |
%\input{chairxmathAlgebra.dtx} |
| 163 |
% |
| 164 |
%\subsection{Analysis} |
| 165 |
%\input{chairxmathAnalysis.dtx} |
| 166 |
% |
| 167 |
%\subsection{Category Theory} |
| 168 |
%\input{chairxmathCategory.dtx} |
| 169 |
% |
| 170 |
%\subsection{Differential Geometry} |
| 171 |
%\input{chairxmathDiffgeo.dtx} |
| 172 |
% |
| 173 |
%\subsection{Linear Algebra} |
| 174 |
%\input{chairxmathLinalg.dtx} |
| 175 |
% |
| 176 |
%\subsection{Statistics} |
| 177 |
%\input{chairxmathStatistics.dtx} |
| 178 |
% |
| 179 |
%\subsection{Topology} |
| 180 |
%\input{chairxmathTopology.dtx} |
| 181 |
% |
| 182 |
% |
| 183 |
% \Finale |
| 184 |
\endinput |