#+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 overflow 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