獨立類別的選項邊框問題

獨立類別的選項邊框問題

我測試了有問題的 MWE獨立產生裁切/截斷的公式。按照文件(第 9 頁),我使用了 class 選項border={left right bottom top}left=right=top=0ptbottom=20pt(20pt 僅用於顯示此處的效果)。

使用版本 2012/09/15 v1.1bstandalone和以下 MWE,我的圖片底部沒有 20 pt 的邊距。問題是什麼?

微量元素:

\documentclass[%
% border=1pt
  border={0pt 0pt 20pt 0pt} %left right bottom top
]{standalone}% http://ctan.org/pkg/standalone
\begin{document}
$2^5 = x_5 \times y^8$
\end{document}

答案1

似乎選項的給定順序border

左 右 下 上

是錯的。

20pt交換問題中給定 MWE 第 3 行的位置,您可以看到正確的順序是:

左下右上

這是程式碼或文件中的錯誤嗎?我去問問作者。

完整的 MWE 為:

\documentclass[%
% border=1pt
  border={0pt 20pt 0pt 0pt} % left bottom right top
]{standalone}% http://ctan.org/pkg/standalone
\begin{document}
$2^5 = x_5 \times y^8$
\end{document}

接收下邊距為 20pt 的圖片(標題不要太靠近圖片)。

相關內容