diff --git a/wbh.tex b/wbh.tex index bba80e8..8e321dd 100644 --- a/wbh.tex +++ b/wbh.tex @@ -56,24 +56,24 @@ $endif$ $if(tables)$ - \usepackage{longtable,booktabs} % This two Packages are needet for Pandoc Table support. Issue is opened: https://github.com/jgm/pandoc/issues/1023 +\usepackage{longtable,booktabs} % This two Packages are needet for Pandoc Table support. Issue is opened: https://github.com/jgm/pandoc/issues/1023 $endif$ + \usepackage{multirow} $if(graphics)$ - \usepackage{graphicx} - \makeatletter - \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} - \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} - \makeatother - % Scale images if necessary, so that they will not overflow the page - % margins by default, and it is still possible to overwrite the defaults - % using explicit options in \includegraphics[width, height, ...]{} - \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} - % Set default figure placement to htbp - \makeatletter - \def\fps@figure{htbp} - \makeatother +\makeatletter +\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} +\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} +\makeatother +% Scale images if necessary, so that they will not overflow the page +% margins by default, and it is still possible to overwrite the defaults +% using explicit options in \includegraphics[width, height, ...]{} +\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} +% Set default figure placement to htbp +\makeatletter +\def\fps@figure{htbp} +\makeatother $endif$ % Support hyperref with colorisation