From 758fe99117ec769ed5d3788ff84bcbfe9c3db658 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 7 Aug 2020 13:23:38 +0200 Subject: [PATCH] figure commands --- cnam/travaux/probatoire/document.tex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cnam/travaux/probatoire/document.tex b/cnam/travaux/probatoire/document.tex index f6935af..d95a44c 100644 --- a/cnam/travaux/probatoire/document.tex +++ b/cnam/travaux/probatoire/document.tex @@ -19,6 +19,15 @@ urlcolor=blue, %⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ \newcommand{\cnam}{\begin{center} \includegraphics[height=6em]{../cnam.png}\end{center}} + +\newcommand{\fig}[4]{\begin{figure}[!h]\begin{center} +\includegraphics[height=#3]{images/#4.png} +\caption{#2}\end{center}\end{figure}} + +\newcommand{\bifig}[5]{\begin{figure}[!h]\begin{center} +\includegraphics[height=#3]{images/#4.png} +\includegraphics[height=#3]{images/#5.png} +\caption{#2}\end{center}\end{figure}} %⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ \newcommand{\hr}{\rule{\textwidth}{1pt}} \newcommand{\hrq}{\rule{.25\textwidth}{1pt}}