forked from XimeraProject/ximeraFirstSteps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmPreamble.tex
62 lines (45 loc) · 1.66 KB
/
xmPreamble.tex
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
\typeout{Start loading xmPreamble.tex}%
% Add here extra macro's that are loaded automatically by all documents of claas 'ximera' or 'xourse' in this repo
%%
%% Example:
%%
% \newcommand{\R}{\mathbb{R}
\usepackage{tikz}
\usepackage{amsmath}
\usetikzlibrary{arrows}
\usepackage{graphicx}
\usepackage{graphpap}
\usepackage{amssymb}
%\usepackage{nicematrix}
%\usepackage[nodisplayskipstretch]{setspace}
\usepackage{pgfplots}
\pgfplotsset{compat = newest}
%\usepackage{TikZlings}
%\usepackage{tikzducks}
\usepackage{geometry}
\newcommand{\rulecolor}[1]{\def\CT@arc@{\color{#1}}}
\definecolor{darkblue}{rgb}{0.4,0.5,0.85}
\definecolor{blue}{rgb}{0.1,0.3,.95}
%\definecolor{blue}{rgb}{0.1,0.2,0.90}
\definecolor{pink}{rgb}{0.6,0.4,0.7}
\definecolor{green}{rgb}{0.4,0.6,0.5}
\definecolor{yellow}{rgb}{0.1,0.6,0.8}
\definecolor{red}{rgb}{0.8,0.1,0.5}
\definecolor{glaucous}{rgb}{0.38,0.51,0.71}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usetikzlibrary{calc,angles,positioning,intersections,quotes,decorations.markings}
\pgfplotsset{soldot/.style={only marks,mark=*, line width=0.2pt, mark size=1.5pt}}
\pgfplotsset{holdot/.style={fill=white,only marks,mark=*, line width=1.0pt, mark size=1.5pt}}
\usepackage[utf8]{inputenc} %needed to define \begin{axis} in tikz pic
\makeatletter
\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%
\hskip -\arraycolsep
\let\@ifnextchar\new@ifnextchar
\array{#1}}
\makeatother
\setlength{\topmargin}{0cm} \setlength{\topskip}{0cm}
\setlength{\headheight}{0cm} \setlength{\headsep}{0cm}
\setlength{\oddsidemargin}{0cm} \setlength{\evensidemargin}{0cm}
\setlength{\footskip}{0cm} \setlength{\textwidth}{17.2cm}
\setlength{\textheight}{25cm}