如何使用Pandoc图像对齐来对齐同一行中的两个图像? [英] How to use Pandoc image alignment to align two images in the same row?

查看:88
本文介绍了如何使用Pandoc图像对齐来对齐同一行中的两个图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从pandoc文档中,我知道如何插入图像

From the pandoc documentation I know how to insert an image

http://johnmacfarlane.net/pandoc/README.html#images

现在我想将两个图像对齐排,我该怎么办?
我想要的输出格式是pdf。

Now I want to align two images in the same row, how can I do that? My desired output format is pdf.

推荐答案

您可以尝试如下操作:

![](tests/lalune.jpg)\ ![](tests/lalune.jpg)

这将为您提供两个并排图像。不过,您不会有标题; pandoc仅将图像本身视为段落,才将其视为带字幕的图形。

This will give you two side-by-side images. You won't have a caption, though; pandoc only treats an image as a captioned figure if it is by itself in a paragraph.

这篇关于如何使用Pandoc图像对齐来对齐同一行中的两个图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆