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
|
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zb-basics}[2021/2/23 zb-basics]
\RequirePackage[UKenglish]{babel}
\RequirePackage{scrlayer-scrpage}
\RequirePackage{graphicx}
\RequirePackage{enumitem}
% Font selection
\RequirePackage[no-math]{fontspec}
\setmainfont{cmun}[
Extension = .otf,
UprightFont = *rm,
BoldFont = *bx,
ItalicFont = *ti,
BoldItalicFont = *ti,
SlantedFont = *sl,
SmallCapsFont = *rm,
SmallCapsFeatures = {Letters=SmallCaps},
]
% standard LaTeX packages supported by zbMATH
\RequirePackage{amsmath,amsfonts,amssymb}
\RequirePackage{mathtools}
\RequirePackage{stmaryrd}
\RequirePackage{mathrsfs}
\RequirePackage{tikz-cd}
\RequirePackage{textcomp,gensymb}
% Special Math Operators used by zbMATH
% \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{Ш}}
% write text in zbMath Blue
\definecolor{zbMATHBlue}{rgb}{0, 0.289, 0.6}
\newcommand{\blue}[1]{\textcolor{zbMATHBlue}{#1}}
|