-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.tex
More file actions
134 lines (122 loc) · 3.63 KB
/
config.tex
File metadata and controls
134 lines (122 loc) · 3.63 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
% document_version is automatically generated by the Makefile
\input{document_version}
\newcommand{\docnum}{CTRL.00.00.009.REP}
\newcommand{\doctitle}{Tutorial for TestManager \& DLS}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{a4}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{microtype}
\hypersetup{
bookmarks=true, % show bookmarks bar?
unicode=false, % non-Latin characters in Acrobat bookmarks
pdftoolbar=true, % show Acrobat toolbar?
pdfmenubar=true, % show Acrobat menu?
pdffitwindow=false, % window fit to page when opened
pdfstartview={FitH}, % fits the width of the page to the window
pdftitle={\docnum { } \doctitle}, % title
pdfauthor={Author}, % author
pdfsubject={Subject}, % subject of the document
pdfcreator={Creator}, % creator of the document
pdfproducer={Producer}, % producer of the document
pdfkeywords={\docnum} {tutorial} {dls} {testmanager}, % list of keywords
pdfnewwindow=true, % links in new window
colorlinks=true, % false: boxed links; true: colored links
linkcolor=black, % color of internal links
citecolor=black, % color of links to bibliography
filecolor=black, % color of file links
urlcolor=black % color of external links
}
\urlstyle{same}
\setlength{\parindent}{0pt}
\setlength{\parskip}{0.4em}
\usepackage{longtable}
\usepackage{lscape}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{textcomp}
\lstset{upquote=true} % use single quote for listing
\lstdefinestyle{shellbase}{
language=sh,
basicstyle=\small\ttfamily,
frame=single,
columns=fullflexible,
basewidth=0.51em,
backgroundcolor=\color{gray!10},
breaklines=true,
breakatwhitespace=true,
breakatwhitespace=false,
keepspaces=true,
showstringspaces=false,
tabsize=2
}
\lstdefinestyle{shelloutstyle}{
style=shellbase,
backgroundcolor=\color{gray!5},
numbers=none
}
\lstnewenvironment{shellcmd}{
\lstset{
style=shellbase,
numbers=left,
numberstyle=\color{gray}\ttfamily\small,
numbersep=6pt,
xleftmargin=1.8em,
framexleftmargin=1.8em
}
\renewcommand{\thelstnumber}{\$}
}{}
\lstnewenvironment{shellout}{
\lstset{style=shelloutstyle}
}{}
\usepackage{tcolorbox}
\tcbuselibrary{breakable}
\newtcolorbox{warning}{
breakable,
colback=orange!10,
colframe=orange!60!black,
title=Warning,
fonttitle=\bfseries,
left=1mm,
right=1mm,
top=1mm,
bottom=1mm
}
\newtcolorbox{note}{
breakable,
colback=blue!5,
colframe=blue!60!black,
title=Note,
fonttitle=\bfseries,
left=1mm,
right=1mm,
top=1mm,
bottom=1mm
}
% Redefine header and footer with fancyhdr
\usepackage{fancyhdr}
\pagestyle{fancy}
% remove uppercase for chapter and section
\renewcommand{\chaptermark}[1]{ \markboth{\thechapter.\ #1}{} }
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
% redefine header for plain (i.e. first page of chapter)
\fancypagestyle{plain}{%
\fancyhf{} % clear all header and footer fields
\fancyhead[L]{\doctitle}
\fancyhead[R]{\leftmark}
\fancyfoot[LE,RO]{\thepage} % page number in "outer" position of footer line
\fancyfoot[RE,LO]{IRAM -- \builddate} % other info in "inner" position of footer line
}
% redefine header for other pages
\fancyhf{} % clear all header fields
\fancyhead[L]{\doctitle}
\fancyhead[R]{\leftmark}
\fancyfoot[LE,RO]{\thepage} % page number in "outer" position of footer line
\fancyfoot[RE,LO]{IRAM -- \builddate} % other info in "inner" position of footer line
% end of fancyhdr configuration
\usepackage{caption}
\usepackage{subcaption}
\usepackage{makeidx}
\makeindex