From dff1ba52950a104f5d5a07dd06d44170b917acb3 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Sun, 15 May 2022 20:34:43 +0200 Subject: [PATCH] Move preamble stuff in styles.sty --- theorie-graphes/exercices/main.tex | 3 --- theorie-graphes/exercices/styles.sty | 4 ++++ theorie-graphes/main.tex | 3 --- theorie-graphes/styles.sty | 4 ++++ 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/theorie-graphes/exercices/main.tex b/theorie-graphes/exercices/main.tex index b5e6247..57c0254 100644 --- a/theorie-graphes/exercices/main.tex +++ b/theorie-graphes/exercices/main.tex @@ -5,9 +5,6 @@ \date{Dernière compilation~: \today{} à \currenttime} \usepackage{styles} -\usepackage{tikz} -\usetikzlibrary{shapes.multipart} -\usetikzlibrary{automata, arrows.meta, positioning} \begin{document} diff --git a/theorie-graphes/exercices/styles.sty b/theorie-graphes/exercices/styles.sty index fae81cd..918ccb0 100644 --- a/theorie-graphes/exercices/styles.sty +++ b/theorie-graphes/exercices/styles.sty @@ -85,6 +85,10 @@ \usepackage{graphicx} +\usepackage{tikz} +\usetikzlibrary{shapes.multipart} +\usetikzlibrary{automata, arrows.meta, positioning} + \usepackage[hyphens]{url} \usepackage[colorlinks,hidelinks]{hyperref} diff --git a/theorie-graphes/main.tex b/theorie-graphes/main.tex index d77b515..3e78ff7 100644 --- a/theorie-graphes/main.tex +++ b/theorie-graphes/main.tex @@ -5,9 +5,6 @@ \date{Dernière compilation~: \today{} à \currenttime} \usepackage{styles} -\usepackage{tikz} -\usetikzlibrary{shapes.multipart} -\usetikzlibrary{automata, arrows.meta, positioning} \begin{document} diff --git a/theorie-graphes/styles.sty b/theorie-graphes/styles.sty index fae81cd..918ccb0 100644 --- a/theorie-graphes/styles.sty +++ b/theorie-graphes/styles.sty @@ -85,6 +85,10 @@ \usepackage{graphicx} +\usepackage{tikz} +\usetikzlibrary{shapes.multipart} +\usetikzlibrary{automata, arrows.meta, positioning} + \usepackage[hyphens]{url} \usepackage[colorlinks,hidelinks]{hyperref}