Skip to content

Commit dea060d

Browse files
authored
👌 IMPROVE: Some more macros in class file #85
1 parent b6fad7e commit dea060d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎sphinx_jupyterbook_latex/theme/jupyterBook.cls‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
\RequirePackage{xcolor}
55
\RequirePackage[utf8]{inputenc}
66
\RequirePackage{graphicx}
7-
\RequirePackage{amsmath, amssymb}
7+
\RequirePackage{amsmath, amssymb, amscd}
88
\RequirePackage{mathrsfs}
99
\RequirePackage{tikz}
1010
\usetikzlibrary{arrows}
@@ -14,10 +14,10 @@
1414
\RequirePackage{pgf}
1515
\RequirePackage{pgfplots}
1616
\RequirePackage{bbm}
17-
1817
\def\sphinxdocclass{report}
1918
\LoadClass{sphinxmanual}
2019

20+
2121
\setlength{\textwidth}{17.5cm}
2222
\setlength{\textheight}{22cm}
2323

@@ -35,6 +35,12 @@
3535
\newcommand{\hH}{\mathcal H}
3636
\newcommand{\nN}{\mathcal N}
3737
\newcommand{\pP}{\mathcal P}
38+
\newcommand{\BB}{\mathbb B}
39+
\newcommand{\Exp}{\operatorname{Exp}}
40+
\newcommand{\Binomial}{\operatorname{Binomial}}
41+
\newcommand{\Poisson}{\operatorname{Poisson}}
42+
\newcommand{\linop}{\mathcal{L}(\mathbb{B})}
43+
\newcommand{\linopell}{\mathcal{L}(\ell_1)}
3844
\DeclareMathOperator{\trace}{trace}
3945
\DeclareMathOperator{\Var}{Var}
4046
\DeclareMathOperator{\Span}{span}

0 commit comments

Comments
 (0)