-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpreamble.sty
70 lines (63 loc) · 2.38 KB
/
preamble.sty
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
59
60
61
62
63
64
65
66
67
68
69
70
\usepackage[T1]{fontenc}
% \usepackage{microtype}
% \DisableLigatures[<]{encoding = T1}
% \DisableLigatures[>]{encoding = T1}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{multicol,multirow}
\usepackage{newtxmath}
\usepackage{mathtools}
\usepackage{bm}
\usepackage[caption=false,font=footnotesize,subrefformat=parens]{subfig}
\usepackage{lipsum}
\usepackage{tabularx}
\usepackage[dvipsnames,table]{xcolor}
\usepackage{my-tikz}
\usepackage{colortbl}
\usepackage{scalerel}
\usepackage{threeparttable}
\usepackage{algorithm}
\usepackage[italicComments=false,commentColor=darkgray,noEnd=true]{algpseudocodex}
\usepackage{upgreek}
\usepackage{calc}
\usepackage[noadjust]{cite}
\usepackage{circuitikz}
\usepackage{siunitx}
\usepackage{minted}
\usepackage[colorlinks,urlcolor=black,linkcolor=blue,citecolor=blue]{hyperref}
\pgfplotsset{filter discard warning=false}
\usetikzlibrary{svg.path,shapes.symbols,shapes.misc}
\usepgfplotslibrary{fillbetween}
\definecolor{orcidlogocol}{HTML}{A6CE39}
\tikzset{
orcidlogo/.pic={
\fill[orcidlogocol] svg{M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z};
\fill[white] svg{M86.3,186.2H70.9V79.1h15.4v48.4V186.2z}
svg{M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z}
svg{M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1C84.2,46.7,88.7,51.3,88.7,56.8z};
}
}
\newcommand\orcidicon[1]{\href{https://orcid.org/#1}{\mbox{\scalerel*{
\begin{tikzpicture}[yscale=-1,transform shape]
\pic{orcidlogo};
\end{tikzpicture}
}{|}}}}
% \makesavenoteenv{tabular}
\interdisplaylinepenalty=2500
\aboverulesep = 0mm \belowrulesep = 0mm
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}} % centered m
\newcommand{\tabvertspace}{\specialrule{0em}{0.08em}{.08em}}
\renewcommand\tabularxcolumn[1]{m{#1}}% for vertical centering text in X column
\definecolor{doicolor}{RGB}{2, 48, 129}
\DeclareMathOperator*{\argmax}{\arg\max}
\DeclareMathOperator*{\argmin}{\arg\min}
\DeclareMathOperator*{\argmint}{\widetilde{\arg\min}}
\DeclareMathOperator*{\uargmin}{\mathrm{u}\arg\min}
\setlength{\fboxsep}{0pt}
\setminted{
, frame = lines
, fontsize = \scriptsize
, bgcolor = gray!3
, framesep = 2.5pt
}