-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.tex
77 lines (69 loc) · 1.59 KB
/
config.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
%%% Packages
\usepackage[pdftex, pdfborderstyle={/S/U/W 0}]{hyperref}
\usepackage{fancyhdr}
\usepackage[raggedright]{titlesec}
\pagestyle{fancy}
\usepackage{xcolor}
\usepackage[footnote, draft, silent, nomargin]{fixme}
\usepackage[utf8]{inputenc}
\usepackage[final]{pdfpages}
\usepackage{varioref}
\usepackage[xindy,toc]{glossaries}
\makeglossaries
\usepackage{listings}
\usepackage{algorithm2e}
\usepackage{float}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage[Rejne]{fncychap}
\usepackage{footnote}
\usepackage{wallpaper}
\usepackage{pbox}
\usepackage{bytefield}
\usepackage{parskip}
\usepackage{url}
\usepackage{caption}
\usepackage{textcomp}
%%% Util commands
\newcommand\TODO[1]{\textcolor{red}{TODO:#1}}
\newcommand\todo[1]{\TODO{#1}}
\newcommand\cn{\textcolor{red}{[citation needed]}}
\newcommand\test[4]{
\begin{table}[H]
\begin{center}
\begin{tabular}{| l | p{7cm} |}
\hline
\textbf{Test Name} & #1 \\
\hline
\textbf{Steps} & \begin{enumerate} #2 \end{enumerate} \\
\hline
\textbf{Expected Result} & #3 \\
\hline
\textbf{Actual Result} & #4 \\
\hline
\end{tabular}
\end{center}
\end{table}
}
%%%Util enviroment
\newenvironment{Test}[0]
{\begin{addmargin}[1cm]{0cm}}
{\end{addmargin}}
\lstset{
basicstyle=\tiny,
breakatwhitespace=false,
breaklines=false,
captionpos=t,
commentstyle=\color{green},
frame=single,
keepspaces=true,
keywordstyle=\color{blue},
numbers=left,
numbersep=5pt,
numberstyle=\tiny\color{gray},
rulecolor=\color{black},
stepnumber=1,
stringstyle=\color{red},
tabsize=4,
title=\lstname
}