summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/zbmath-review-template/zb-basics.sty
blob: e3241a52ed0bd8a0552fe50cca8ae1f19df62924 (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
% Copyright 2021 by FIZ-Karlsruhe
%
% This file is part of the ctan package zbmath-review-template
% and may be distributed and/or modified under the
% conditions of the GNU General Public License, version 3:
%
% https://www.gnu.org/licenses/gpl-3.0.en.html
%
% It defines some macros used in zbMATH.cls.
%

% standard LaTeX packages
\RequirePackage{amsmath,amsfonts,amssymb}
\RequirePackage{mathtools}
\RequirePackage{stmaryrd}
\RequirePackage{mathrsfs}
\RequirePackage{tikz-cd}
\RequirePackage{textcomp,gensymb}

% \Im, \Re (redefinition)
\let\Im\relax\DeclareMathOperator{\Im}{Im}
\let\Re\relax\DeclareMathOperator{\Re}{Re}

% \Aut, \Hom
\DeclareMathOperator{\Aut}{Aut}
\DeclareMathOperator{\Hom}{Hom}

% \ran (analogous to \ker)
\DeclareMathOperator{\ran}{ran}

% \1 (indicator function, from package bbold)
\DeclareSymbolFont{bbold}{U}{bbold}{m}{n}
\DeclareMathSymbol{\1}{\mathord}{bbold}{`1}

% \fint (integral average with slash, from package esint)
\DeclareSymbolFont{esint}{U}{esint}{m}{n}
\DeclareMathSymbol{\fintsymbol}{\mathop}{esint}{'037}
\def\fint{\fintsymbol\nolimits}

% \Sha (Tate-Shafarevich group)
\DeclareMathOperator{\Sha}{\textup{Ш}}