shared.tex 1.94 KB
Newer Older
1 2
\usepackage{framed}

3
\providecommand{\courseTitle}{Code and data management with Git}
4
\providecommand{\myDate}{22-11-2017}
5 6 7 8 9 10
\providecommand{\acknowledgements}{
  Martijn Vermaat\\
  Wibowo Arindrarto\\
  Szymon Kie{\l}basa\\
  Jeroen Laros\\
}
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

\definecolor{cblack}{rgb}{0,0,0}
\definecolor{cwhite}{rgb}{1,1,1}
\definecolor{command-color}{rgb}{0,0.5,0}
\definecolor{git-color}{rgb}{0.94,0.23,0.18}
\definecolor{option-color}{HTML}{483d8b}
\definecolor{argument-color}{rgb}{0.11,0.27,0.7}
\definecolor{pattern-color}{rgb}{0,0.5,0.5}
\definecolor{wildcard-color}{rgb}{0.75,0.3,0}
\definecolor{cli-text}{rgb}{0.15,0.15,0.15}
\definecolor{important-note}{rgb}{0.69,0.13,0.13}
\definecolor{redirection}{rgb}{0.99,0.13,0.13}
\definecolor{shadecolor}{rgb}{0.9,0.9,0.9}
\definecolor{one-dot}{rgb}{0.9,0.2,0.0}
\definecolor{two-dots}{rgb}{0.11,0.11,0.8}
\definecolor{slash}{rgb}{0.3,0.3,0.3}
Mihai's avatar
Mihai committed
27
\definecolor{staged}{HTML}{2e8b57}
28 29 30 31 32 33 34 35 36 37 38
\definecolor{head}{HTML}{B22222}
\definecolor{branch}{HTML}{20b2aa}
\definecolor{commit-id}{HTML}{b8860b}

\newcommand{\gitcmd}{\textcolor{git-color}{\lstinline{git}}}
\newcommand{\prompt}{\lstinline{$}}
\newcommand{\cmd}[1]{\textcolor{command-color}{\lstinline{#1}}}
\newcommand{\cmdarg}[1]{\textcolor{argument-color}{\lstinline{#1}}}
\newcommand{\cmdopt}[1]{\textcolor{option-color}{\lstinline{#1}}}
\newcommand{\cliout}[1]{\textcolor{cli-text}{\lstinline{#1}}}
\newcommand{\important}[1]{\textbf{\textcolor{important-note}{#1}}}
Mihai's avatar
Mihai committed
39 40 41 42 43 44 45 46 47 48
\newcommand{\op}[1]{\textcolor{red}{#1}}
\newcommand{\branch}[1]{\textcolor{branch}{\lstinline{#1}}}
\newcommand{\commit}[1]{\textcolor{commit-id}{\lstinline{#1}}}
\newcommand{\untrackedfile}[1]{\textcolor{red}{\lstinline{#1}}}
\newcommand{\stagedfile}[1]{\textcolor{staged}{\lstinline{#1}}}
\newcommand{\modifiedfile}[1]{\textcolor{red}{\lstinline{#1}}}
\newcommand{\diffminus}[1]{\textcolor{red}{\lstinline{#1}}}
\newcommand{\diffplus}[1]{\textcolor{green}{\lstinline{#1}}}
\newcommand{\diffsummary}[1]{\textcolor{cyan}{\lstinline{#1}}}