-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcommon.tex
37 lines (30 loc) · 1.77 KB
/
common.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
\pagenumbering{gobble}
\setlength{\parindent}{0pt}
\setlength{\parsep}{0pt}
\setlength{\multicolsep}{1mm}
\setlength{\fboxsep}{0pt}
\setlength{\fboxrule}{0pt}
\fontfamily{phv}\selectfont
\newenvironment{clitemize}{\begin{itemize}[topsep=0pt,noitemsep,leftmargin=0pt,label={}]}{\end{itemize}}
\newcommand{\clitem}[2]{\item#1 \dotfill \textbf{#2}}
\newcommand{\clitemsub}[3]{\item \texorpdfstring{#1\textsubscript{#2} \dotfill \textbf{#3}}{}}
\newlist{packlist}{itemize}{1}
\setlist[packlist]{noitemsep,topsep=0pt,leftmargin=1.55em,label=$\square$}
\newlist{notelist}{itemize}{1}
\setlist[notelist]{noitemsep,topsep=0pt,leftmargin=1.55em,label=\scriptsize$\blacksquare$}
\newcommand{\columnnote}[2]{\color{white}\colorbox{#1}{\strut\makebox[\columnwidth]{\raisebox{-1pt}{#2}}}\color{black}}
\newcommand{\emergencynote}[1]{\columnnote{red!80!black}{#1}}
\newcommand{\flightnote}[1]{\columnnote{green!60!black}{#1}}
\newcommand{\columnheading}[2]{\color{white}\colorbox{#1}{\strut\makebox[\columnwidth]{\raisebox{-1pt}{\textbf{#2}}}}\color{black}}
\newcommand{\flightheading}[1]{\columnheading{green!80!red}{#1}}
\newcommand{\switchheading}[1]{\color{white}\columnheading{black}{#1}\color{black}}
\newcommand{\configheading}[1]{\columnheading{gray}{#1}}
\newcommand{\configsubheading}[1]{\columnheading{gray!60}{#1}}
\newcommand{\emergencyheading}[1]{\columnheading{red!80}{#1}}
\newcommand{\electricalheading}[1]{\columnheading{yellow!80!orange}{#1}}
\newcommand{\infoheading}[1]{\columnheading{cyan!80!red}{#1}}
\newcommand{\infosubheading}[1]{\columnheading{cyan!70}{#1}}
\newcommand{\infosubsubheading}[1]{\columnheading{cyan!40}{#1}}
\newcommand{\noteheading}{\columnheading{orange!80}{NOTES}}
\newcommand{\titleheading}[1]{\switchheading{#1}}
\newcommand{\typeheading}[1]{\columnheading{magenta}{#1}}