Can Org do this? Table of Contents * [1]1. Question * [2]2. Answer * [3]3. The source 1. Question From: Michael Heerdegen Subject: Org: two images side by side? To: Emacs mailing list Date: Mon, 21 Oct 2024 14:57:38 +0200 (6 hours, 26 minutes, 57 seconds ago) Resent-From: Hello, can org-mode do this? I have an org document and want that, at least in the html export, a certain part looks like this: +---------------------------------+ +---------------------------------+ | Image 1 | | Image 2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +---------------------------------+ +---------------------------------+ * Point 1 said about Image 1 * Point 1 said about Image 2 * Point 2 said about Image 1 * Here Point 2 is harder to describe and needs 2 lines * More stuff about Image 1 I.e., a comparison of two variants of a thing using 2 images with several small text items below them, that pairwise correspond to each other. 2. Answer I think so. How about An image A second a-simple-slide.png a-simple-slide.png - point 1 is made - counter-point - point 2 - Now, a long rambling point that is sure to overflow the table and require line wrapping. Is this long enough, I don't know, so I will keep writing til I am sure that I have more than two-hundred and fifty characters in this line. Surely, we are now done. - point 3 - ok, I give. 3. The source #+title: Can Org do this? #+html_head: * Question #+begin_example From: Michael Heerdegen Subject: Org: two images side by side? To: Emacs mailing list Date: Mon, 21 Oct 2024 14:57:38 +0200 (6 hours, 26 minutes, 57 seconds ago) Resent-From: Hello, can org-mode do this? I have an org document and want that, at least in the html export, a certain part looks like this: +---------------------------------+ +---------------------------------+ | Image 1 | | Image 2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +---------------------------------+ +---------------------------------+ * Point 1 said about Image 1 * Point 1 said about Image 2 * Point 2 said about Image 1 * Here Point 2 is harder to describe and needs 2 lines * More stuff about Image 1 I.e., a comparison of two variants of a thing using 2 images with several small text items below them, that pairwise correspond to each other. #+end_example * Answer I think so. How about #+attr_html: :rules false :frame false | An image | A second | |-------------------------+----------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ------------------------------------------------------------| | [[file:a-simple-slide.png]] | [[file:a-simple-slide.png]] | |-------------------------+----------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ------------------------------------------------------------| | - point 1 is made | - counter-point | | - point 2 | - Now, a long rambling point that is sure to overflo w the table and require line wrapping. @@html:
@@ Is this long enough, I don 't know, so I will keep writing til I am sure that I have more than two-hundred and fifty characters in this line. Surely, we are now done. | | - point 3 | - ok, I give. | |-------------------------+----------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ------------------------------------------------------------| * The source #+include: ./table.org example Author: Leo Butler Created: 2024-10-21 Mon 15:24 [4]Validate References 1. file:///tmp/tmp9VqjDT.html#orge08f374 2. file:///tmp/tmp9VqjDT.html#org7c642ac 3. file:///tmp/tmp9VqjDT.html#org92f92fc 4. https://validator.w3.org/check?uri=referer