\ProvidesPackage{ptbposter-add}[2016/01/25 v0.1a supplements for ptbposter (RN)]

\newcommand\putPicture[4][t]{%
  \trivlist\item\relax
  \noindent\begin{minipage}[t]{\linewidth}%
    \small
    \@begin@tempboxa\hbox{#2}%
      \ifx\relax#3\relax\mbox{}\hfill\fi
      \begin{minipage}[#1]{\width}%
        \if#1t%
          \raisebox{\dimexpr\ht\strutbox-\height}{\usebox\@tempboxa}%
        \else
          \usebox\@tempboxa
        \fi
      \end{minipage}%
      \hfill
      \ifx\relax#3\relax
        \mbox{}
      \else
        \begin{minipage}[#1]{\dimexpr\linewidth-\width-\columnsep}%
          \hspace{0pt}#3
        \end{minipage}
      \fi
      \par\ifx\relax#4\relax\else\vskip\columnsep #4\fi
    \@end@tempboxa
  \end{minipage}%
  \endtrivlist
}

\newcommand\putInTwoColumn[2]{%
  \trivlist\item\relax
  \noindent\begin{minipage}[t]{\linewidth}%
    \columnsep=.5\columnsep
    \begin{minipage}[t]{\dimexpr.5\linewidth-\columnsep}%
      #1
    \end{minipage}%
    \hfill
    \begin{minipage}[t]{\dimexpr.5\linewidth-\columnsep}%
      #2
    \end{minipage}%
  \end{minipage}%
  \endtrivlist
}

\endinput
