From e9656fc8d9952d04a69e4c472a49b5ac486bd5b5 2013-02-20 14:45:45 From: Matthias BUSSONNIER Date: 2013-02-20 14:45:45 Subject: [PATCH] fix figure overflow in tex set a max-height --- diff --git a/templates/tex/latex_base.tplx b/templates/tex/latex_base.tplx index 95ced8f..901384f 100644 --- a/templates/tex/latex_base.tplx +++ b/templates/tex/latex_base.tplx @@ -37,7 +37,7 @@ it introduces a new line ((*- block data_png -*)) \begin{center} -\includegraphics[width=0.7\textwidth]{(((output.key_png)))} +\includegraphics[width=0.7\textwidth, height=0.9\textheight, keepaspectratio]{(((output.key_png)))} \par \end{center} ((*- endblock -*))