-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackagesAndDefinitions.tex
More file actions
94 lines (85 loc) · 3.72 KB
/
packagesAndDefinitions.tex
File metadata and controls
94 lines (85 loc) · 3.72 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
\usepackage{amsfonts}
\usepackage{amsmath} %allows the use of align
\usepackage{amssymb}
\usepackage{amstext}
\usepackage[affil-it]{authblk}
\usepackage[UKenglish]{babel}
%\usepackage[backref=false,backend=bibtex,style=numeric-comp,sorting=none,maxcitenames=1,block=none,giveninits,url=false]{biblatex}
%\addbibresource{hptpc-instrumentation-paper.bib}
\usepackage{bm} %bold in math mode
\usepackage{booktabs}
\usepackage{color}
\usepackage{enumerate}
\usepackage{fancyhdr}
\usepackage{float}
\usepackage{graphicx}
\usepackage[space]{grffile} %allows spaces in picture names
%\usepackage[top=2.5cm, right=2.5cm, left=2.5cm, bottom=2.5cm]{geometry}
%\usepackage[colorlinks=false, pdfborder={0 0 0}, breaklinks]{hyperref}
%\usepackage[latin1]{inputenc}
\usepackage[utf8]{inputenc}
%\usepackage[switch]{lineno} %line numbers, switch: left right line numbers %,columnwise
\usepackage{longtable}
\usepackage{marvosym}
\usepackage{multicol}
\usepackage{setspace}
\usepackage[separate-uncertainty,multi-part-units = single, allow-number-unit-breaks]{siunitx}
\usepackage{subfig}
\usepackage{tikz-timing}
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes} % Add TODO notes to the text
%\usepackage{ucs}
\usepackage{setspace}
\doublespacing
\usepackage{url}
\def\UrlBreaks{\do\/\do-}
\usepackage{csquotes}
%footnotes indicated with letters
\renewcommand*{\thefootnote}{\alph{footnote}}
%fix a line numbering problem
\newcommand*\patchAmsMathEnvironmentForLineno[1]{%
\expandafter\let\csname old#1\expandafter\endcsname\csname #1\endcsname
\expandafter\let\csname oldend#1\expandafter\endcsname\csname end#1\endcsname
\renewenvironment{#1}%
{\linenomath\csname old#1\endcsname}%
{\csname oldend#1\endcsname\endlinenomath}}%
\newcommand*\patchBothAmsMathEnvironmentsForLineno[1]{%
\patchAmsMathEnvironmentForLineno{#1}%
\patchAmsMathEnvironmentForLineno{#1*}}%
\AtBeginDocument{%
\patchBothAmsMathEnvironmentsForLineno{equation}%
\patchBothAmsMathEnvironmentsForLineno{align}%
\patchBothAmsMathEnvironmentsForLineno{flalign}%
\patchBothAmsMathEnvironmentsForLineno{alignat}%
\patchBothAmsMathEnvironmentsForLineno{gather}%
\patchBothAmsMathEnvironmentsForLineno{multline}%
}
% other definitions - gas mixtures
\newcommand{\ar}{$\textrm{Ar}$}
\newcommand{\cf}{$\textrm{CF}_{4}$}
\newcommand{\co}{$\textrm{CO}_{2}$}
\newcommand{\n}{$\textrm{N}_{2}$}
\newcommand{\arco}{$\textrm{Ar}\textnormal{-}\textrm{CO}_2$}
\newcommand{\arcois}[1]{$\textrm{Ar}\textnormal{-}\textrm{CO}_2$ (#1)}
\newcommand{\arcf}{$\textrm{Ar}\textnormal{-}\textrm{CF}_4$}
\newcommand{\arcfis}[1]{$\textrm{Ar}\textnormal{-}\textrm{CF}_4$ (#1)}
\newcommand{\arn}{$\textrm{Ar}\textnormal{-}\textrm{N}_2$}
\newcommand{\nen}{$\textrm{Ne}\textnormal{-}\textrm{N}_2$}
\newcommand{\arnis}[1]{$\textrm{Ar}\textnormal{-}\textrm{N}_2$ (#1)}
\newcommand{\arcon}{$\textrm{Ar}\textnormal{-}\textrm{CO}_2\textnormal{-}\textrm{N}_2$}
\newcommand{\arconis}[1]{$\textrm{Ar}\textnormal{-}\textrm{CO}_2\textnormal{-}\textrm{N}_2$ (#1)}
\newcommand{\arch}{$\textrm{Ar}\textnormal{-}\textrm{CH}_4$}
\newcommand{\archis}[1]{$\textrm{Ar}\textnormal{-}\textrm{CH}_4$ (#1)}
% other definitions - Figures, Tables, Sections
\newcommand{\figref}[1]{Figure~\ref{#1}} % Standard
\newcommand{\figrefbra}[1]{Fig.~\ref{#1}} % In brackets
\newcommand{\Figref}[1]{Figure~\ref{#1}} % Beginning of a section
%
\newcommand{\tabref}[1]{Tab.~\ref{#1}} % Standard
\newcommand{\tabrefbra}[1]{Fig.~\ref{#1}} % In brackets
\newcommand{\Tabref}[1]{Table~\ref{#1}} % Beginning of a section
%
\newcommand{\secref}[1]{Section~\ref{#1}} % Standard
\newcommand{\secrefbra}[1]{Sec.~\ref{#1}} % In brackets
\newcommand{\Secref}[1]{Section~\ref{#1}} % Beginning of a section
%
\usepackage{adjustbox}