使用 pdfcrop 裁剪图像(有页脚项)

使用 pdfcrop 裁剪图像(有页脚项)

我正在尝试裁剪以下图片,我想使用 pdfcrop 来做这件事。但是页脚引起了问题。所以我做了类似的事情pdfcrop --margin '0 0 0 -50' CircuitSimulation.pdf,然后再次运行 pdfcrop,但没有成功。有什么方法可以让 pdfcrop 自动裁剪它吗?

图像

答案1

我会选择另一种解决方案。在文档的前言中加载 graphicx 包

\usepackage{graphicx}

然后将 pdf 中的图形插入到所需位置,如下所示:

\begin{figure}
\includegraphics[trim="left-margin"cm "bottom-margin"cm "right-margin"cm "top-margin"cm]{path-to-pdf-to-iclude}
\end{figure}

我建议在图形周围使用框架,以便查看裁剪后图形中会保留什么:

\begin{figure}
\fbox{\includegraphics[trim="left-margin"cm "bottom-margin"cm "right-margin"cm "top-margin"cm]{path-to-pdf-to-iclude}}
\end{figure}

上述命令中的边距是您要剪切的长度(以厘米为单位)。

答案2

不知道 pdfcrop,但有时自己做布局更好,互联网上有很多工具,例如 digikey dot com slash schemit...它允许您免费以 pdf 或 png 格式导出设计...甚至 powerpoint...祝你好运

相关内容