Core: add pre-commit and run it on all files

This commit is contained in:
2022-08-21 09:12:40 +02:00
parent e119ea87f6
commit 0cc34422fe
32 changed files with 166 additions and 164 deletions

View File

@@ -170,7 +170,7 @@
\begin{multicols}{2}
\begin{verbatim}
\begin{tikzpicture}[baseline=(current bounding box.south),
\begin{tikzpicture}[baseline=(current bounding box.south),
xscale=1, yscale=0.5]
\tkzInit[xmin=-5,xmax=5,xstep=1,
ymin=-5,ymax=5,ystep=1]
@@ -182,7 +182,7 @@
\end{verbatim}
\columnbreak
\begin{tikzpicture}[baseline=(current bounding box.south),
\begin{tikzpicture}[baseline=(current bounding box.south),
xscale=1, yscale=0.5]
\tkzInit[xmin=-5,xmax=5,xstep=1,
ymin=-5,ymax=5,ystep=1]
@@ -198,7 +198,7 @@ Quand on change la valeur de \verb+xstep+, il faut replacer \verb+x+ par \verb+\
\begin{multicols}{2}
\begin{verbatim}
\begin{tikzpicture}[baseline=(current bounding box.south),
\begin{tikzpicture}[baseline=(current bounding box.south),
xscale=0.5, yscale=0.4]
\tkzInit[xmin=-5,xmax=5,xstep=0.5,
ymin=-5,ymax=5,ystep=1]
@@ -209,7 +209,7 @@ Quand on change la valeur de \verb+xstep+, il faut replacer \verb+x+ par \verb+\
\end{tikzpicture}
\end{verbatim}
\columnbreak
\begin{tikzpicture}[baseline=(current bounding box.south),
\begin{tikzpicture}[baseline=(current bounding box.south),
xscale=0.5, yscale=0.4]
\tkzInit[xmin=-5,xmax=5,xstep=0.5,
ymin=-5,ymax=5,ystep=1]
@@ -257,4 +257,3 @@ Quand on change la valeur de \verb+xstep+, il faut replacer \verb+x+ par \verb+\
\end{document}

View File

@@ -5,7 +5,7 @@
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat = newest}
\usepgfplotslibrary{external}
\usepgfplotslibrary{external}
\RequirePackage{tkz-tab}
@@ -35,7 +35,7 @@
% rectangle
\draw (5, 0) rectangle (6, 6);
\end{tikzpicture}
\section{Graphiques de fonctions}
@@ -58,6 +58,6 @@
\begin{tikzpicture}
\begin{axis}[axis x line=bottom,axis y line = left]
\addplot[ybar,fill=blue,draw=blue,bar width=1cm] coordinates { (1,194) (2,213) (3,251)(4,233) (5,194)}; \end{axis}
\end{tikzpicture}
\end{tikzpicture}
\end{document}