如何在组织模式下调整图像大小 [英] How to resize images in org-mode
本文介绍了如何在组织模式下调整图像大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种通用的方法来定义以org-mode
链接的图像的大小(以百分比或像素为单位)?
Is there a general way to define the size, in percent or pixels, for an image that is linked in org-mode
?
说我的.org
文件中具有以下链接:
Say I have the following link in my .org
file:
[[~/images/example.jpg]]
此JPG太大了,因此,如果将其导出到HTML或LaTeX或使用 C-c C-o i 在org-mode
中打开它,则只会看到一部分图像.
This JPG is way too large, so if I export it to HTML or LaTeX or open it in org-mode
with C-c C-o i will only see a fraction of the image.
推荐答案
As of Org 8.0, "Attribute lines now take plists" :
#+attr_html: :width 100px
#+attr_latex: :width 100px
[[~/images/example.jpg]]
这篇关于如何在组织模式下调整图像大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文