diff --git a/ptbposter/ptbposter-add.sty b/ptbposter/ptbposter-add.sty index 551490c1fd98310cc621b1c6b1fd522b5cab8677..cbe72e085f70b6f18aab8fdefb3749138c7eeddb 100644 --- a/ptbposter/ptbposter-add.sty +++ b/ptbposter/ptbposter-add.sty @@ -2,7 +2,13 @@ \RequirePackage{ragged2e} -\newcommand\putPicture[4][t]{% +\newif\ifPTB@temp + +\newcommand*\putPicture{% + \@ifstar{\PTB@temptrue\PTB@putPicture}{\PTB@tempfalse\PTB@putPicture}% +} + +\newcommand\PTB@putPicture[4][t]{% \trivlist\item\relax \noindent\begin{minipage}[t]{\linewidth}% \small @@ -20,7 +26,7 @@ \mbox{} \else \begin{minipage}[#1]{\dimexpr\linewidth-\width-\columnsep}% - \hspace{0pt}\RaggedRight#3 + \hspace{0pt}\ifPTB@temp\RaggedRight\fi#3 \end{minipage} \fi \par\ifx\relax#4\relax\else\vskip\columnsep #4\fi