You need to enable JavaScript to run this website.

Equally separated items

EDIST environment

Sometimes it is useful to enumerate equally spaced and centered text elements (or links) in a "horizontal" way; one way to achieve this is to use EDIST environment as follows (note usage of tilde ~ as a non-breakable space):

Example

He speaks four languages:
#+BEGIN(edist)
- Russian~(native)
- English~(fluent)
- Italian~(C1)
- German~(B2)
#+END

Result

He speaks four languages:

  • Russian (native)
  • English (fluent)
  • Italian (C1)
  • German (B2)

Width control

One can limit the width to a specified number of columns, say, 2. (This may be important for wide screens.)

Insert the number of columns after parentheses:

Example

He speaks four languages:
#+BEGIN(edist):2
- Russian~(native)
- English~(fluent)
- Italian~(C1)
- German~(B2)
#+END

Result

He speaks four languages:

  • Russian (native)
  • English (fluent)
  • Italian (C1)
  • German (B2)

PANEL environment

PANEL is somewhat similar to EDIST except that it spans the whole screen width.

You can use PANEL to create a menu in the middle of the web page, similarly to the menu on this website:

Example

PANEL environment closes current text text block and inserts a panel spanning entire screen width:
#+BEGIN(panel)
- [[index][home]]
- [[basic][basic formatting]]
- [[profile][wiki profile]]
- [[toc][more pages…]]
#+END

Result

PANEL environment closes current text text block and inserts a panel spanning entire screen width:

Notes

howtos manuals info
Telegram YouTube WhatsApp