mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-11-20 18:12:28 +01:00
Fix PDF image rendering with Pandoc 3.7
This commit is contained in:
1 file changed
+2
@@ -59,6 +59,8 @@ $endif$
|
||||
\def\maxheight{\ifdim\Gin@nat@height>0.65\textheight 0.65\textheight\else\Gin@nat@height\fi}
|
||||
\makeatother
|
||||
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
||||
% Newer Pandoc versions wrap images in this command. Graphicx already bounds them above.
|
||||
\providecommand{\pandocbounded}[1]{#1}
|
||||
|
||||
%% ─── Tables ───────────────────────────────────────────────────────────────
|
||||
\usepackage{longtable}
|
||||
|
||||
Reference in new issue
Block a user