diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-10-22 12:19:46 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-10-22 12:20:23 +0200 |
commit | 2906807f4341eef0e23f91356675595c89715490 (patch) | |
tree | 8124124d9c0d5f33c42bcfa3d95e19f02f1955e5 /pdf/doc.tex | |
parent | 2c6a08c5c3b0f7346fbfa3e2ee86b248ef6d78f7 (diff) | |
download | dna-backup-2906807f4341eef0e23f91356675595c89715490.tar.gz dna-backup-2906807f4341eef0e23f91356675595c89715490.zip |
first add of latex doc
Diffstat (limited to 'pdf/doc.tex')
-rw-r--r-- | pdf/doc.tex | 62 |
1 files changed, 62 insertions, 0 deletions
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} |