From fb54e0d5ec2df0abd20f456a7d07c297a67110ff Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 3 Oct 2018 10:29:24 +0200 Subject: new file 02-git.tex --- fichiers/02-git.tex | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 fichiers/02-git.tex diff --git a/fichiers/02-git.tex b/fichiers/02-git.tex new file mode 100644 index 0000000..87767ab --- /dev/null +++ b/fichiers/02-git.tex @@ -0,0 +1,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} \ No newline at end of file -- cgit v1.2.3