From 9db8602681ad0da64e2c1f3c94b27404d6a6f4a3 Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Sun, 15 May 2011 14:15:10 +0200 Subject: [PATCH] modify image macro to behave as includegraphics --- crepbook.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crepbook.cls b/crepbook.cls index 3ec33ce2..7863070f 100644 --- a/crepbook.cls +++ b/crepbook.cls @@ -200,10 +200,10 @@ \fi% } -\newcommand{\image}[2]{% +\newcommand{\image}[2][]{% \ifpictures% \begin{flushright}% - \includegraphics[width=#2cm]{#1}% + \includegraphics[#1]{#2}% \end{flushright}% \fi% }