LaTeX插入裁剪后的pdf图像

画图

VSCode + Draw.io Integration插件

有数学公式的打开下面的选项:

导出

File -> Export -> .svg导出成svg格式的文件。然后用浏览器打开svg文件后Ctrl+P选择另存为PDF,将图片存成pdf格式。

裁剪

只要安装了TeXLive,就只需要在图片pdf所在路径下使用以下命令,其中origin.pdf是需要裁剪的pdf,而crop.pdf表示裁剪后的pdf名称,pdfcrop会自动识别裁剪的区域:

bash 复制代码
pdfcrop origin.pdf crop.pdf

使用

tex 复制代码
\begin{figure}
    \centering
	\includegraphics[width=\columnwidth]{xxx.pdf}
    \caption{Description.}
    \label{fig:xxx}
\end{figure}

编译:pdflatex -> bibtex -> pdflatex*2

相关推荐
seasonsyy6 小时前
CTex 2.9.2 更改编辑区文字大小
latex·ctex·winedit
小桥流水---人工智能3 天前
tcolorbox 设置 breakable 后断页颜色失效问题及解决方案
latex
kyzoon10 天前
LaTeX Tikz 绘图输出至图片
latex·tikz
恶猫10 天前
Win|WinEdt( LaTeX 编辑器),下载及安装教程
windows·编辑器·latex·winedt
Jovin Giogic17 天前
简明教程:记录 Ubuntu系统命令行安装TexLive,配置vscode
linux·vscode·ubuntu·latex·texlive
verse_armour20 天前
markdown插入文献引用并导出pdf
pdf·markdown·pandoc·latex
摸森堡21 天前
vs code + latex使用攻略
latex
我的golang之路果然有问题1 个月前
word中latex插入矩阵的语法问题
笔记·学习·矩阵·word·latex·template method·分享
钱彬 (Qian Bin)1 个月前
从零开始发表SCI论文—第1篇:安装Latex写作工具
latex·vs code·sci论文·环境准备
他来自江湖1 个月前
西南科技大学,研究生开题报告latex模板
科技·latex·开题报告·西南科技大学