From b7c398bc3c3392cd7be448d7640f9b2e529db633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20Restori?= Date: Sun, 10 Jul 2016 15:52:31 +0200 Subject: [PATCH] New papers et better centering --- 2.5mm - 4 colonnes.tex | 33 +++++++++++++++++++++++++++++++++ 4mm.tex | 16 ++++++++++++++++ 5mm.tex | 16 ++++++++++++++++ Linéaire.tex | 8 +++----- Polaire.tex | 8 +++----- SemiLog4.tex | 8 +++----- common.tex | 2 +- 7 files changed, 75 insertions(+), 16 deletions(-) create mode 100644 2.5mm - 4 colonnes.tex create mode 100644 4mm.tex create mode 100644 5mm.tex diff --git a/2.5mm - 4 colonnes.tex b/2.5mm - 4 colonnes.tex new file mode 100644 index 0000000..0b6fc81 --- /dev/null +++ b/2.5mm - 4 colonnes.tex @@ -0,0 +1,33 @@ +\documentclass[a4paper,10pt]{article} + +\input{common.tex} + +\definecolor{light-gray}{gray}{0.75} + +\begin{document} +\begin{figure}[ht] +\centering +\begin{tikzpicture}[x=1cm,y=1cm] + +\def\xmax{20.8}; +\def\ymax{29.5}; +\def\yspace{0.25}; +\def\mycolor{light-gray}; + +\pgfmathtruncatemacro\repY{\ymax/\yspace} + +\foreach \y in {0,...,\repY}{ + \draw[\mycolor, line width=0.1pt] (0,{\yspace*\y}) -- (\xmax,{\yspace*\y}); +} + +\draw[\mycolor, line width=0.5pt] (0,{\ymax/2}) -- (\xmax,{\ymax/2}); + +\draw[\mycolor, line width=0.1pt] (0,0) -- (0,\ymax); +\draw[\mycolor, line width=0.5pt] ({\xmax/4},0) -- ({\xmax/4},\ymax); +\draw[\mycolor, line width=0.5pt] ({\xmax/2},0) -- ({\xmax/2},\ymax); +\draw[\mycolor, line width=0.5pt] ({3*\xmax/4},0) -- ({3*\xmax/4},\ymax); +\draw[\mycolor, line width=0.1pt] ({\xmax},0) -- ({\xmax},\ymax); + +\end{tikzpicture} +\end{figure} +\end{document} \ No newline at end of file diff --git a/4mm.tex b/4mm.tex new file mode 100644 index 0000000..278df55 --- /dev/null +++ b/4mm.tex @@ -0,0 +1,16 @@ +\documentclass[a4paper,10pt]{article} + +\input{common.tex} + +\definecolor{light-gray}{gray}{0.75} + +\begin{document} +\begin{figure}[ht] +\centering +\begin{tikzpicture}[x=1cm,y=1cm] + +\draw[step=4mm,light-gray,line width=0.1pt] (0,0) grid (20.8,29.6); + +\end{tikzpicture} +\end{figure} +\end{document} diff --git a/5mm.tex b/5mm.tex new file mode 100644 index 0000000..7b9c37a --- /dev/null +++ b/5mm.tex @@ -0,0 +1,16 @@ +\documentclass[a4paper,10pt]{article} + +\input{common.tex} + +\definecolor{light-gray}{gray}{0.75} + +\begin{document} +\begin{figure}[ht] +\centering +\begin{tikzpicture}[x=1cm,y=1cm] + +\draw[step=5mm,light-gray,line width=0.1pt] (0,0) grid (20.5,29.5); + +\end{tikzpicture} +\end{figure} +\end{document} diff --git a/Linéaire.tex b/Linéaire.tex index 38b30a6..3d94712 100644 --- a/Linéaire.tex +++ b/Linéaire.tex @@ -3,14 +3,12 @@ \input{common.tex} \begin{document} -\thispagestyle{empty} -\begin{center} -\vspace*{\fill} +\begin{figure}[ht] +\centering \begin{tikzpicture}[x=1cm,y=1cm] \grid{18}{26}{gray} \end{tikzpicture} -\vspace*{\fill} -\end{center} +\end{figure} \end{document} \ No newline at end of file diff --git a/Polaire.tex b/Polaire.tex index c535105..607814c 100644 --- a/Polaire.tex +++ b/Polaire.tex @@ -3,14 +3,12 @@ \input{common.tex} \begin{document} -\thispagestyle{empty} -\begin{center} -\vspace*{\fill} +\begin{figure}[ht] +\centering \begin{tikzpicture}[x=1cm,y=1cm] \polar{18}{26}{gray} \end{tikzpicture} -\vspace*{\fill} -\end{center} +\end{figure} \end{document} \ No newline at end of file diff --git a/SemiLog4.tex b/SemiLog4.tex index 02c9eed..3744e4f 100644 --- a/SemiLog4.tex +++ b/SemiLog4.tex @@ -3,15 +3,13 @@ \input{common.tex} \begin{document} -\thispagestyle{empty} -\begin{center} -\vspace*{\fill} +\begin{figure}[ht] +\centering \begin{tikzpicture}[x=1cm,y=1cm] \vlin{18}{26}{9}{10}{gray} \hlog{18}{26}{4}{}{2,3,4,5}{}{6,7,8,9,10}{gray} \end{tikzpicture} -\vspace*{\fill} -\end{center} +\end{figure} \end{document} \ No newline at end of file diff --git a/common.tex b/common.tex index 4f5bd7c..d81279a 100644 --- a/common.tex +++ b/common.tex @@ -1,5 +1,5 @@ \usepackage{xltxtra} -\usepackage[top=13pt, bottom=12pt, left=13pt, right=12pt]{geometry} +\usepackage[top=0pt, bottom=0pt, left=0pt, right=0pt]{geometry} \usepackage{tikz} \usepackage{lscape}