-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstandardsetup.sty
68 lines (47 loc) · 1.57 KB
/
standardsetup.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
\usepackage{ifluatex}
\ifluatex
\usepackage{polyglossia}
\setmainlanguage{english}
\usepackage{fontspec}
\setmainfont{linuxlibertine}
\usepackage[]{unicode-math}
% \setmathfont{linuxlibertine}
\else
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\usepackage[english]{babel}
\fi
\usepackage{color}
\definecolor{darkred}{rgb}{0.5,0,0}
\definecolor{darkorange}{rgb}{1,0.549019607843137,0}
\definecolor{lightblue}{rgb}{0.247059,0.407843,1}
\usepackage{graphicx}
\usepackage{booktabs} % table decorations
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs} % calligraphie
\usepackage{siunitx}
\newcommand\unit[2]{\SI{#1}{#2}}
% powerful graphics package
\usepackage{tikz}
\usetikzlibrary{plotmarks,patterns,calc,decorations.markings,arrows,
decorations.pathmorphing,intersections}
\tikzset{snake it/.style={decorate, decoration=snake}}
% layer on top of tikz to efficiently draw plots
\usepackage{pgfplots}
\usepgflibrary{shapes}
\usepgfplotslibrary{groupplots}
\pgfplotsset{compat=newest}
\newlength\figureheight
\newlength\figurewidth
\setlength\figureheight{8cm}
\setlength\figurewidth{10cm}
% \usepackage{pgffor} % for-loop
% \usepackage{pdfpages}
% \usepackage[percent]{overpic} % draw text atop of pictures
% this `put` can be used anywhere
\def\Put(#1,#2)#3{\leavevmode\makebox(0,0){\put(#1,#2){#3}}}
% ISO conform date format
\def\mydate{\leavevmode\hbox{\the\year-\twodigits\month-\twodigits\day}}
\def\twodigits#1{\ifnum#1<10 0\fi\the#1}