gpt4 book ai didi

emacs - 一行中的表格或表格和图像在组织模式中的一行

转载 作者:行者123 更新时间:2023-12-01 01:14:22 27 4
gpt4 key购买 nike

我知道在将 org-mode 导出到 html 时如何将图像排成一行:

#+ATTR_HTML: style="display:inline;"
[[image1.png]]
#+ATTR_HTML: style="display:inline;"
[[image2.png]]

这将使这种效果:
Image 1 Image 2

如果我想要两个怎么办 连续,或 一 table 一图连续,例如:
Table 1   Table 2

或者
Image 1 Table 1

那我该怎么办?

最佳答案

以下通过将 2 个表向左 float 来工作:

#+attr_html: style="float:left;width:30%;margin:3ex;"
| 1 | 2 |
| 3 | 4 |

#+attr_html: style="float:left;width:30%;margin:3ex"
| 5 | 6 |
| 7 | 8 |

#+html: <br style="clear:both;" />
This goes beneath
clear需要属性才能继续在 2 个 float 元素下方。

关于emacs - 一行中的表格或表格和图像在组织模式中的一行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12923124/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com