-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathccpap.tex
53 lines (48 loc) · 1.75 KB
/
ccpap.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
\usepackage[margin=3cm]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{graphicx}
\usepackage{color}
\usepackage{xcolor}
\usepackage{hyperref}
%% Define no indent with line skip with new paragraph
\usepackage{parskip}
\definecolor{code}{rgb}{.92,.92,.99}
\definecolor{codered}{rgb}{.92,.62,.62}
\definecolor{darkgreen}{rgb}{.2,.62,.18}
\usepackage{listings}
\lstset{xrightmargin=10pt,xleftmargin=10pt,language=Java,captionpos=b,tabsize=3,frame=none,keywordstyle=\color{blue},commentstyle=\color{darkgreen},stringstyle=\color{red},showstringspaces=false,basicstyle=\footnotesize\ttfamily,emph={label},backgroundcolor=\color{code}}
%%numbers=left,numberstyle=\tiny,numbersep=5pt,breaklines=true,\
\usepackage{soul}
\lstdefinestyle{Bash}
{language=bash,
escapechar=!,
backgroundcolor=\color{white},
columns=fullflexible,
breaklines=true,
breakatwhitespace=false,
inputencoding=utf8x,
keywordstyle=\color{black},
basicstyle=\small\ttfamily,
% morekeywords={peter@kbpet},
% alsoletter={:~$},
% morekeywords=[2]{peter@kbpet:},
% keywordstyle=[2]{\color{red}},
% literate={\$}{{\textcolor{red}{\$}}}1
% {:}{{\textcolor{red}{:}}}1
% {~}{{\textcolor{red}{\textasciitilde}}}1,
literate={~}{\raisebox{-0.5ex}{\textasciitilde}}1,
}
\newenvironment{code}
{\begin{minipage}[l]{\textwidth}}
{\end{minipage}}
\newcommand{\ccpmaketitle}[4][Roland Meertens, Christophe de Wagter, Guido de Croon, Tom van Dijk] {
\fancyhead[LO,LE]{Crash Course Paparazzi 2019}
\fancyfoot[LO,LE]{{\small Crash Course Paparazzi 2019}}
\fancyfoot[CO,CE]{\thepage}
\author{#1}
\title{\bf Crash Course Paparazzi 2019\\#2\\{\large #4#3}}
\date{February 2019}
\setlength{\parindent}{0em}
\maketitle
}