Skip to content

Commit 202baa1

Browse files
committed
fix
1 parent a845c39 commit 202baa1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/hinagata-markdown/word-template.latex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
% Pandoc3.2.1以降の画像埋め込み対応
1313
\makeatletter
14-
\newsavebox\pandoc@box
14+
\@ifundefined{pandoc@box}{
15+
\newsavebox\pandoc@box
16+
}{}
1517
\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
1618
\sbox\pandoc@box{#1}%
1719
\Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%

0 commit comments

Comments
 (0)