\newcommand{\oi}[3]{% \begin{figure}% \centering% \includegraphics[height=0.4\textheight]{fig/#1/#2}% \caption{#3}% \label{fig:#2}% \end{figure}% }