summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/nchairx/source/chairxmath.dtx
blob: f0a7660d52242f71105029fa0d73135f72c579b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
% \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.
%
% \fi
%
%\iffalse
%<*chairxmath>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{chairxmath}
	[2021/07/29 v1.0.0 First major release]

%</chairxmath>
%
%<*driver>
\documentclass{ltxdoc}

\usepackage{chairxmath}
\usepackage{xcolor}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ifdraft}
\usepackage{gitinfo2}
\usepackage[linktoc=all]{hyperref}

\EnableCrossrefs

\CodelineIndex

\RecordChanges

% ˆˆA suppress indentation
\setlength{\parindent}{0pt}

\begin{document}
	\DocInput{chairxmath.dtx}
\end{document}
%</driver>
%\fi
%
% \CheckSum{1540}
%
% \changes{v0.1}{2018/02/27}{Initial test}
% \changes{v0.9}{2019/02/21}{First official release}
% \changes{v1.0.0}{2021/07/29}{First major release}
%
% \GetFileInfo{chairxmath.sty}
%
% \title{The \textsf{ChairX Math} package}
% \author{ChairX \\
% \ifdraft{Last changes by \gitAuthorName{} on \gitAuthorDate \\ }
% \ifdraft{Git revision of nchairx:}
% \ifdraft{\texttt{\gitAbbrevHash{}} {\gitReferences{}} \\ }
% \ifdraft{}
% Version \fileversion{} (\filedate) \\
% \texttt{marvin.dippell@mathematik.uni-wuerzburg.com}}
%
% \maketitle
%
% \begin{abstract}
%     This is a part of the new ChairX package providing the famous
%     ChairX macros for mathematics.
% \end{abstract}
%
% \setcounter{tocdepth}{2}
% \tableofcontents
%
% \section{Introduction}
%
% This package defines the new package |chairxmath|. It can be used as
% a standalone version of the math macros from |nchairx| if the other
% settings and defaults of |nchairx| are not needed or wanted.
%
% \section{Usage}
%
% \subsection{Fonts}
% \input{chairxmathFontsDoc.dtx}
%
% \subsection{New Delimiters}
% \input{chairxmathDelimitersDoc.dtx}
%
% \subsection{General Mathematics Macros}
% \input{chairxmathGeneralDoc.dtx}
%
% \subsection{Algebra}
% \input{chairxmathAlgebraDoc.dtx}
%
% \subsection{Analysis}
% \input{chairxmathAnalysisDoc.dtx}
%
% \subsection{Category Theory}
% \input{chairxmathCategoryDoc.dtx}
%
% \subsection{Differential Geometry}
% \input{chairxmathDiffgeoDoc.dtx}
%
% \subsection{Linear Algebra}
% \input{chairxmathLinalgDoc.dtx}
%
% \subsection{Statistics}
% \input{chairxmathStatisticsDoc.dtx}
%
% \subsection{Topology}
% \input{chairxmathTopologyDoc.dtx}
%
% \StopEventually{\PrintIndex \PrintChanges}
%
% \section{Implementation}
% The following packages are required:
%    \begin{macrocode}
\RequirePackage{amsmath}
%    \end{macrocode}
%    \begin{macrocode}
\RequirePackage{amssymb}
%    \end{macrocode}
%    \begin{macrocode}
\RequirePackage{mathtools}
%    \end{macrocode}
% Grab only those fonts from stmry which we actually need
%    \begin{macrocode}
\DeclareSymbolFont{stmry}{U}{stmry}{m}{n}
\SetSymbolFont{stmry}{bold}{U}{stmry}{b}{n}
%    \end{macrocode}
%    \begin{macrocode}
\RequirePackage{xkeyval}
%    \end{macrocode}
% Used for allowing key-value pairs as options.
%   \begin{macrocode}
\RequirePackage{tensor}
%    \end{macrocode}
% The |suffix| package allows to define $*$-versions of macros.
%    \begin{macrocode}
\RequirePackage{suffix}
%    \end{macrocode}
%
%
% In order to get the package options for |nchairx| working, the following needs to be defined.
%    \begin{macrocode}
\newif\if@loadmath \@loadmathtrue
%    \end{macrocode}
%
% \subsection{Fonts}
% \input{chairxmathFonts.dtx}
%
% \subsection{New Delimiters}
% \input{chairxmathDelimiters.dtx}
%
% \subsection{General Mathematics Macros}
% \input{chairxmathGeneral.dtx}
%
%\subsection{Algebra}
%\input{chairxmathAlgebra.dtx}
%
%\subsection{Analysis}
%\input{chairxmathAnalysis.dtx}
%
%\subsection{Category Theory}
%\input{chairxmathCategory.dtx}
%
%\subsection{Differential Geometry}
%\input{chairxmathDiffgeo.dtx}
%
%\subsection{Linear Algebra}
%\input{chairxmathLinalg.dtx}
%
%\subsection{Statistics}
%\input{chairxmathStatistics.dtx}
%
%\subsection{Topology}
%\input{chairxmathTopology.dtx}
%
%
% \Finale
\endinput