aboutsummaryrefslogtreecommitdiff
path: root/fichiers/02-git.tex
blob: 87767ab13c5fde9b4a4e1ec5a3e7e1bcc2ff502a (plain)
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
\input{../_preamble}
%\input{../_preamble_bbl}
\usepackage{menukeys}
\title{Git}
\usepackage{float}
\usepackage{dingbat}
\usepackage[newfloat]{minted}
\SetupFloatingEnvironment{listing}{listname=Listings}
\setminted{
  bgcolor=Lavender,
  breaklines,
  breaksymbolright=\small\carriagereturn}
\setmintedinline{bgcolor=Lavender}
\usepackage{capt-of}
\usepackage{soul}
\makeindex[name=cmds, intoc, title={Liste des commandes et
  instructions}, options={-s \jobname.ist}]

\NewDocumentCommand{\commande}{s m O{}}{
  \IfBooleanTF{#1}{\index[cmds]{#2@\texttt{#2}|#3textbf}}
  {\index[cmds]{#2@\texttt{#2}#3}}
}

\NewDocumentCommand{\inputfile}{O{} m m O{application/x-sh}}{
  \marginpar{\attachandlink{scripts/#3}[#4]{Fichier
      attaché}{\textcolor{blue}{Ouvrir le fichier}}}
  \inputminted[#1]{#2}{scripts/#3}
}

\begin{document}
\maketitle
\renewcommand{\contentsname}{Sommaire}
\tableofcontents

\listoflistings

\needspace{3\baselineskip}
\listoftables

\chapter{Introduction}
\label{cha:introduction}


\end{document}