We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a845c39 commit 202baa1Copy full SHA for 202baa1
articles/hinagata-markdown/word-template.latex
@@ -11,7 +11,9 @@
11
12
% Pandoc3.2.1以降の画像埋め込み対応
13
\makeatletter
14
-\newsavebox\pandoc@box
+\@ifundefined{pandoc@box}{
15
+ \newsavebox\pandoc@box
16
+}{}
17
\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
18
\sbox\pandoc@box{#1}%
19
\Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
0 commit comments