figure commands

This commit is contained in:
Marc Beninca 2020-08-07 13:23:38 +02:00
parent f4b84e7223
commit 758fe99117

View file

@ -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}}