From 2906807f4341eef0e23f91356675595c89715490 Mon Sep 17 00:00:00 2001
From: n-peugnet <n.peugnet@free.fr>
Date: Fri, 22 Oct 2021 12:19:46 +0200
Subject: first add of latex doc

---
 pdf/doc.tex | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 pdf/doc.tex

(limited to 'pdf/doc.tex')

diff --git a/pdf/doc.tex b/pdf/doc.tex
new file mode 100644
index 0000000..33d691c
--- /dev/null
+++ b/pdf/doc.tex
@@ -0,0 +1,62 @@
+\documentclass[a4paper,twocolumn,french]{article}
+
+% Set page dimentions
+\usepackage[margin=22mm]{geometry}
+
+% Packages for french documents
+\usepackage[french]{babel}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+
+% Define some colors
+\usepackage{color}
+\definecolor{string}{RGB}{100, 200, 0}
+\definecolor{comment}{RGB}{150, 150, 150}
+\definecolor{identifier}{RGB}{100, 100, 200}
+
+% Source code style
+\usepackage{listings}
+\lstset{
+	basicstyle=\footnotesize\ttfamily, % sets font style for the code
+	frame=single,                 % adds a frame around the code
+	showstringspaces=false,       % underline spaces within strings
+	tabsize=4,                    % sets default tabsize to 2 spaces
+	breaklines=true,              % sets automatic line breaking
+	breakatwhitespace=true,       % sets if automatic breaks should only happen at whitespace
+	keywordstyle=\color{magenta}, % sets color for keywords
+	stringstyle=\color{string},   % sets color for strings
+	commentstyle=\color{comment}, % sets color for comments
+	emphstyle=\color{identifier}, % sets color for comments
+}
+
+% Hyperlinks
+\usepackage[hyphens]{url}
+\usepackage[hidelinks]{hyperref}
+
+% Graphics
+\usepackage{graphicx}
+\graphicspath{ {img} }
+
+\title{DNA-Backup}
+
+\date{Octobre 2021}
+
+\author{Nicolas Peugnet}
+
+\begin{document}
+
+\maketitle
+
+\tableofcontents
+
+
+% \begin{figure}[h]
+% 	\centering
+% 	\includegraphics[width=0.4\linewidth]{wtf.png} % changer ici l'image
+% 	\caption{WTF ??\protect\footnotemark}
+% 	\label{fig:wtf}
+% \end{figure}
+% \footnotetext{Cette image n'a été ajouté que pour avoir un modèle et pouvoir tester l'inclusion d'images}
+
+
+\end{document}
-- 
cgit v1.2.3

