summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/zbmath-review-template
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/zbmath-review-template')
-rw-r--r--Master/texmf-dist/tex/xelatex/zbmath-review-template/zb-basics.sty58
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/zbmath-review-template/zb-basics.sty b/Master/texmf-dist/tex/xelatex/zbmath-review-template/zb-basics.sty
new file mode 100644
index 00000000000..726d0d8dbe9
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/zbmath-review-template/zb-basics.sty
@@ -0,0 +1,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}}