| 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 |
% This file contains the implementation of all algebra related macros. |
| 16 |
% |
| 17 |
% Macros have to be described by (delete the first %) |
| 18 |
% %\begin{macro}{\macro} |
| 19 |
% % Description of the implementation. |
| 20 |
% % \begin{macrocode} |
| 21 |
%\newcommand{\macro}[] {} |
| 22 |
% % \end{macrocode} |
| 23 |
% %\end{macro} |
| 24 |
% |
| 25 |
% The implementation and description will appear in the implementation |
| 26 |
% part of the documentation. Use \subsubsection{} etc. for structuring. |
| 27 |
% |
| 28 |
% The documentation of the macros defined here has to be written in |
| 29 |
% chairxmathAlgebraDoc.dtx |
| 30 |
%\fi |
| 31 |
% |
| 32 |
% First we check of macros should be included: |
| 33 |
% \begin{macrocode} |
| 34 |
\if@loadmath |
| 35 |
% \end{macrocode} |
| 36 |
% |
| 37 |
%\subsubsection{Fonts for Rings and Things} |
| 38 |
% |
| 39 |
%\begin{macro}{\field} |
| 40 |
% \begin{macrocode} |
| 41 |
\newcommand{\field}[1]{\ch@irxfieldfont{#1}} |
| 42 |
% \end{macrocode} |
| 43 |
%\end{macro} |
| 44 |
% |
| 45 |
%\begin{macro}{\ring} |
| 46 |
% \begin{macrocode} |
| 47 |
\newcommand{\ring}[1]{\ch@irxringfont{#1}} |
| 48 |
% \end{macrocode} |
| 49 |
%\end{macro} |
| 50 |
% |
| 51 |
%\begin{macro}{\group} |
| 52 |
% \begin{macrocode} |
| 53 |
\newcommand{\group}[1]{\ch@irxgroupfont{#1}} |
| 54 |
% \end{macrocode} |
| 55 |
%\end{macro} |
| 56 |
% |
| 57 |
%\begin{macro}{\algebra} |
| 58 |
% \begin{macrocode} |
| 59 |
\newcommand{\algebra}[1]{\ch@irxalgebrafont{#1}} |
| 60 |
% \end{macrocode} |
| 61 |
%\end{macro} |
| 62 |
% |
| 63 |
%\begin{macro}{\module} |
| 64 |
% \begin{macrocode} |
| 65 |
\newcommand{\module}[1]{\ch@irxmodulefont{#1}} |
| 66 |
% \end{macrocode} |
| 67 |
%\end{macro} |
| 68 |
% |
| 69 |
%\begin{macro}{\liealg} |
| 70 |
% \begin{macrocode} |
| 71 |
\newcommand{\liealg}[1]{\ch@irxliealgfont{#1}} |
| 72 |
% \end{macrocode} |
| 73 |
%\end{macro} |
| 74 |
% |
| 75 |
%\begin{macro}{\MC} |
| 76 |
% \begin{macrocode} |
| 77 |
\newcommand{\MC}{{\scriptscriptstyle\ch@irxscriptfont{MC}}} |
| 78 |
% \end{macrocode} |
| 79 |
%\end{macro} |
| 80 |
% |
| 81 |
%\begin{macro}{\gerstenhaber} |
| 82 |
% \begin{macrocode} |
| 83 |
\newcommand{\gerstenhaber}[1] {\ch@irxgerstenhaberfont{#1}} |
| 84 |
% \end{macrocode} |
| 85 |
%\end{macro} |
| 86 |
% |
| 87 |
% \subsubsection{Some Symbols needed in Algebra} |
| 88 |
% |
| 89 |
%\begin{macro}{\Pol} |
| 90 |
% \begin{macrocode} |
| 91 |
\newcommand{\Pol}{\ch@irxoperatorfont{Pol}} |
| 92 |
% \end{macrocode} |
| 93 |
%\end{macro} |
| 94 |
% |
| 95 |
%\begin{macro}{\lmult} |
| 96 |
% \begin{macrocode} |
| 97 |
\newcommand{\lmult}{\operatorname{\ch@irxoperatorfont{\ell}}} |
| 98 |
% \end{macrocode} |
| 99 |
%\end{macro} |
| 100 |
% |
| 101 |
%\begin{macro}{\rmult} |
| 102 |
% \begin{macrocode} |
| 103 |
\newcommand{\rmult}{\operatorname{\ch@irxoperatorfont{r}}} |
| 104 |
% \end{macrocode} |
| 105 |
%\end{macro} |
| 106 |
% |
| 107 |
%\begin{macro}{\Lmult} |
| 108 |
% \begin{macrocode} |
| 109 |
\newcommand{\Lmult}{\operatorname{\ch@irxoperatorfont{L}}} |
| 110 |
% \end{macrocode} |
| 111 |
%\end{macro} |
| 112 |
% |
| 113 |
%\begin{macro}{\Rmult} |
| 114 |
% \begin{macrocode} |
| 115 |
\newcommand{\Rmult}{\operatorname{\ch@irxoperatorfont{R}}} |
| 116 |
% \end{macrocode} |
| 117 |
%\end{macro} |
| 118 |
% |
| 119 |
%\begin{macro}{\Center} |
| 120 |
% Needs |mathrsfs| package. |
| 121 |
% \begin{macrocode} |
| 122 |
\newcommand{\Center}{\mathscr{Z}} |
| 123 |
% \end{macrocode} |
| 124 |
%\end{macro} |
| 125 |
% |
| 126 |
%\begin{macro}{\ad} |
| 127 |
% \begin{macrocode} |
| 128 |
\newcommand{\ad}{\operatorname{\ch@irxoperatorfont{ad}}} |
| 129 |
% \end{macrocode} |
| 130 |
%\end{macro} |
| 131 |
% |
| 132 |
%\begin{macro}{\Ad} |
| 133 |
% \begin{macrocode} |
| 134 |
\newcommand{\Ad}{\operatorname{\ch@irxoperatorfont{Ad}}} |
| 135 |
% \end{macrocode} |
| 136 |
%\end{macro} |
| 137 |
% |
| 138 |
%\begin{macro}{\Conj} |
| 139 |
% \begin{macrocode} |
| 140 |
\newcommand{\Conj}{\operatorname{\ch@irxoperatorfont{Conj}}} |
| 141 |
% \end{macrocode} |
| 142 |
%\end{macro} |
| 143 |
% |
| 144 |
%\begin{macro}{\acts} |
| 145 |
% \begin{macrocode} |
| 146 |
\newcommand{\acts}{\mathbin{\triangleright}} |
| 147 |
% \end{macrocode} |
| 148 |
%\end{macro} |
| 149 |
% |
| 150 |
%\begin{macro}{\racts} |
| 151 |
% \begin{macrocode} |
| 152 |
\newcommand{\racts}{\mathbin{\triangleleft}} |
| 153 |
% \end{macrocode} |
| 154 |
%\end{macro} |
| 155 |
% |
| 156 |
%\begin{macro}{\Char} |
| 157 |
% \begin{macrocode} |
| 158 |
\newcommand{\Char}{\ch@irxoperatorfont{char}} |
| 159 |
% \end{macrocode} |
| 160 |
%\end{macro} |
| 161 |
% |
| 162 |
%\begin{macro}{\modulo} |
| 163 |
% \begin{macrocode} |
| 164 |
\newcommand{\modulo}{\operatorname{\ch@irxoperatorfont{mod}}} |
| 165 |
% \end{macrocode} |
| 166 |
%\end{macro} |
| 167 |
% |
| 168 |
%\begin{macro}{\Clifford} |
| 169 |
% \begin{macrocode} |
| 170 |
\newcommand{\Clifford}{\operatorname{\ch@irxoperatorfont{Cl}}} |
| 171 |
% \end{macrocode} |
| 172 |
% |
| 173 |
%\end{macro} |
| 174 |
%\begin{macro}{\cClifford} |
| 175 |
% \begin{macrocode} |
| 176 |
\newcommand{\cClifford}{\operatorname{\mathbb{C}\ch@irxoperatorfont{l}}} |
| 177 |
% \end{macrocode} |
| 178 |
%\end{macro} |
| 179 |
% |
| 180 |
%\begin{macro}{\Der} |
| 181 |
% \begin{macrocode} |
| 182 |
\newcommand{\Der}{\operatorname{\ch@irxoperatorfont{Der}}} |
| 183 |
\WithSuffix\newcommand\Der*{\decorate[^*]{\textrm{-}\Der}{}} |
| 184 |
% \end{macrocode} |
| 185 |
%\end{macro} |
| 186 |
% |
| 187 |
%\begin{macro}{\InnDer} |
| 188 |
% \begin{macrocode} |
| 189 |
\newcommand{\InnDer}{\operatorname{\ch@irxoperatorfont{InnDer}}} |
| 190 |
\WithSuffix\newcommand\InnDer*{\decorate[^*]{\textrm{-}\InnDer}{}} |
| 191 |
% \end{macrocode} |
| 192 |
%\end{macro} |
| 193 |
% |
| 194 |
%\begin{macro}{\OutDer} |
| 195 |
% \begin{macrocode} |
| 196 |
\newcommand{\OutDer}{\operatorname{\ch@irxoperatorfont{OutDer}}} |
| 197 |
\WithSuffix\newcommand\OutDer*{\decorate[^*]{\textrm{-}\OutDer}{}} |
| 198 |
% \end{macrocode} |
| 199 |
%\end{macro} |
| 200 |
% |
| 201 |
%\begin{macro}{\InnAut} |
| 202 |
% \begin{macrocode} |
| 203 |
\newcommand{\InnAut}{\operatorname{\ch@irxoperatorfont{InnAut}}} |
| 204 |
\WithSuffix\newcommand\InnAut*{\decorate[^*]{\textrm{-}\InnAut}{}} |
| 205 |
% \end{macrocode} |
| 206 |
%\end{macro} |
| 207 |
% |
| 208 |
%\begin{macro}{\OutAut} |
| 209 |
% \begin{macrocode} |
| 210 |
\newcommand{\OutAut}{\operatorname{\ch@irxoperatorfont{OutAut}}} |
| 211 |
\WithSuffix\newcommand\OutAut*{\decorate[^*]{\textrm{-}\OutAut}{}} |
| 212 |
% \end{macrocode} |
| 213 |
%\end{macro} |
| 214 |
% |
| 215 |
% \begin{macro}{\formal} |
| 216 |
% \begin{macrocode} |
| 217 |
\newcommand{\formal}[1]{\ch@irxllbbracket #1\ch@irxrrbbracket} |
| 218 |
% \end{macrocode} |
| 219 |
% \end{macro} |
| 220 |
% |
| 221 |
% \begin{macro}{\laurent} |
| 222 |
% \begin{macrocode} |
| 223 |
\newcommand{\laurent}[1]{(\!(#1)\!)} |
| 224 |
% \end{macrocode} |
| 225 |
% \end{macro} |
| 226 |
% |
| 227 |
% \begin{macro}{\sweedler} |
| 228 |
% \begin{macrocode} |
| 229 |
\newcommand{\sweedler}[1]{{\scriptscriptstyle(#1)}} |
| 230 |
% \end{macrocode} |
| 231 |
% \end{macro} |
| 232 |
% |
| 233 |
% \subsubsection{Categories from Algebra} |
| 234 |
% |
| 235 |
%\begin{macro}{\algebras} |
| 236 |
% \begin{macrocode} |
| 237 |
\newcommand{\algebras}{\categoryname{alg}} |
| 238 |
\WithSuffix\newcommand\algebras*{\decorate[^*]{\textrm{-}\algebras}{}} |
| 239 |
% \end{macrocode} |
| 240 |
%\end{macro} |
| 241 |
% |
| 242 |
%\begin{macro}{\Algebras} |
| 243 |
% \begin{macrocode} |
| 244 |
\newcommand{\Algebras}{\categoryname{Alg}} |
| 245 |
\WithSuffix\newcommand\Algebras*{\decorate[^*]{\textrm{-}\Algebras}{}} |
| 246 |
% \end{macrocode} |
| 247 |
%\end{macro} |
| 248 |
% |
| 249 |
%\begin{macro}{\reps} |
| 250 |
% \begin{macrocode} |
| 251 |
\newcommand{\reps}{\categoryname{rep}} |
| 252 |
\WithSuffix\newcommand\reps*{\decorate[^*]{\textrm{-}\reps}{}} |
| 253 |
% \end{macrocode} |
| 254 |
%\end{macro} |
| 255 |
% |
| 256 |
%\begin{macro}{\Reps} |
| 257 |
% \begin{macrocode} |
| 258 |
\newcommand{\Reps}{\categoryname{Rep}} |
| 259 |
\WithSuffix\newcommand\Reps*{\decorate[^*]{\textrm{-}\Reps}{}} |
| 260 |
% \end{macrocode} |
| 261 |
%\end{macro} |
| 262 |
% |
| 263 |
%\begin{macro}{\PoissonAlg} |
| 264 |
% \begin{macrocode} |
| 265 |
\newcommand{\PoissonAlg}{\categoryname{PoissonAlg}} |
| 266 |
\WithSuffix\newcommand\PoissonAlg*{\decorate[^*]{\textrm{-}\PoissonAlg}{}} |
| 267 |
% \end{macrocode} |
| 268 |
%\end{macro} |
| 269 |
% |
| 270 |
%\begin{macro}{\modules} |
| 271 |
% \begin{macrocode} |
| 272 |
\newcommand{\modules}{\categoryname{mod}} |
| 273 |
\WithSuffix\newcommand\modules*{\decorate[^*]{\textrm{-}\modules}{}} |
| 274 |
% \end{macrocode} |
| 275 |
%\end{macro} |
| 276 |
% |
| 277 |
%\begin{macro}{\Leftmodules} |
| 278 |
% \begin{macrocode} |
| 279 |
\newcommand{\Leftmodules}[1]{{#1}\textsf{-}\categoryname{mod}} |
| 280 |
% \end{macrocode} |
| 281 |
%\end{macro} |
| 282 |
% |
| 283 |
%\begin{macro}{\Rightmodules} |
| 284 |
% \begin{macrocode} |
| 285 |
\newcommand{\Rightmodules}[2][]{\categoryname{mod}_{#1}\textsf{-}{#2}} |
| 286 |
% \end{macrocode} |
| 287 |
%\end{macro} |
| 288 |
% |
| 289 |
%\begin{macro}{\Modules} |
| 290 |
% \begin{macrocode} |
| 291 |
\newcommand{\Modules}{\categoryname{Mod}} |
| 292 |
\WithSuffix\newcommand\Modules*{\decorate[^*]{\textrm{-}\Modules}{}} |
| 293 |
% \end{macrocode} |
| 294 |
%\end{macro} |
| 295 |
% |
| 296 |
%\begin{macro}{\LeftModules} |
| 297 |
% \begin{macrocode} |
| 298 |
\newcommand{\LeftModules}[1]{{#1}\textsf{-}\categoryname{Mod}} |
| 299 |
% \end{macrocode} |
| 300 |
%\end{macro} |
| 301 |
% |
| 302 |
%\begin{macro}{\RightModules} |
| 303 |
% \begin{macrocode} |
| 304 |
\newcommand{\RightModules}[2][]{\categoryname{Mod}_{#1}\textsf{-}{#2}} |
| 305 |
% \end{macrocode} |
| 306 |
%\end{macro} |
| 307 |
% |
| 308 |
%\begin{macro}{\Bimodules} |
| 309 |
% \begin{macrocode} |
| 310 |
\newcommand{\Bimodules}{\categoryname{Bimod}} |
| 311 |
\WithSuffix\newcommand\Bimodules*{\decorate[^*]{\textrm{-}\Bimodules}{}} |
| 312 |
% \end{macrocode} |
| 313 |
%\end{macro} |
| 314 |
% |
| 315 |
%\begin{macro}{\Rings} |
| 316 |
% \begin{macrocode} |
| 317 |
\newcommand{\Rings}{\categoryname{Ring}} |
| 318 |
% \end{macrocode} |
| 319 |
%\end{macro} |
| 320 |
% |
| 321 |
%\begin{macro}{\Groups} |
| 322 |
% \begin{macrocode} |
| 323 |
\newcommand{\Groups}{\categoryname{Group}} |
| 324 |
% \end{macrocode} |
| 325 |
%\end{macro} |
| 326 |
% |
| 327 |
%\begin{macro}{\Ab} |
| 328 |
% \begin{macrocode} |
| 329 |
\newcommand{\Ab}{\categoryname{Ab}} |
| 330 |
% \end{macrocode} |
| 331 |
%\end{macro} |
| 332 |
% |
| 333 |
%\begin{macro}{\Lattices} |
| 334 |
% \begin{macrocode} |
| 335 |
\newcommand{\Lattices}{\categoryname{Lattice}} |
| 336 |
% \end{macrocode} |
| 337 |
%\end{macro} |
| 338 |
% |
| 339 |
%\begin{macro}{\Sets} |
| 340 |
% \begin{macrocode} |
| 341 |
\newcommand{\Sets}{\categoryname{Set}} |
| 342 |
% \end{macrocode} |
| 343 |
%\end{macro} |
| 344 |
% |
| 345 |
%\begin{macro}{\Vect} |
| 346 |
% \begin{macrocode} |
| 347 |
\newcommand{\Vect}{\categoryname{Vect}} |
| 348 |
% \end{macrocode} |
| 349 |
%\end{macro} |
| 350 |
% |
| 351 |
%\begin{macro}{\LieAlgs} |
| 352 |
% \begin{macrocode} |
| 353 |
\newcommand{\LieAlgs}{\categoryname{LieAlg}} |
| 354 |
% \end{macrocode} |
| 355 |
%\end{macro} |
| 356 |
% |
| 357 |
%\begin{macro}{\Posets} |
| 358 |
% \begin{macrocode} |
| 359 |
\newcommand{\Posets}{\categoryname{Poset}} |
| 360 |
% \end{macrocode} |
| 361 |
%\end{macro} |
| 362 |
% |
| 363 |
%\begin{macro}{\Directed} |
| 364 |
% \begin{macrocode} |
| 365 |
\newcommand{\Directed}{\categoryname{Directed}} |
| 366 |
% \end{macrocode} |
| 367 |
%\end{macro} |
| 368 |
% |
| 369 |
%\begin{macro}{\GSets} |
| 370 |
% \begin{macrocode} |
| 371 |
\newcommand{\GSets}[1][{G}]{{#1}\textrm{-}\Sets} |
| 372 |
% \end{macrocode} |
| 373 |
%\end{macro} |
| 374 |
% |
| 375 |
%\begin{macro}{\Groupoids} |
| 376 |
% \begin{macrocode} |
| 377 |
\newcommand{\Groupoids}{\categoryname{Groupoid}} |
| 378 |
% \end{macrocode} |
| 379 |
%\end{macro} |
| 380 |
% |
| 381 |
% \begin{macrocode} |
| 382 |
\fi |
| 383 |
% \end{macrocode} |