This is a LaTeX package that allows authors to create informational boxes
in a similar method to how wikis do it.
It is written in a way such that org-mode
users can use it
without specifically requiring them to drop into LaTeX,
i.e. things like plain lists, images and definition lists
should work as expected
and the environment can be exported to other backends such as HTML
with less friction.
#+Caption: This will become the title
#+Name: box:example
#+begin_infobox
Some text goes here. This will span the entire box.
In order to make better use of the available space and use two columns,
use the ~multicol~ package as here.
#+ATTR_LATEX: :options {2}
#+begin_multicols
\infoboxsection{Section 1}
- Key 1 :: Value 1
- Key 2 :: Value 2
- Key 3 :: Value 3
Actually there is no limit to what you can write here;
it's up to the author to structure the box as is appropriate.
\infoboxsection{Section 2}
| This | That |
|---------------+--------|
| Atomic number | 8 |
| Atomic mass | 16 |
| Half-life | Stable |
| Valence | 2 |
\infoboxsection{Note on sections}
Infobox sections do not show up on table of contents
and are not in fact sections in the ~\section~ sense.
#+end_multicols
#+end_infobox
Keep in mind that this is actually generated by the org LaTeX generator, with minimal reformatting.
\begin{infobox}
\caption{\label{box:example}This will become the title}
Some text goes here. This will span the entire box.
In order to make better use of the available space and use two columns,
use the \texttt{multicol} package as here.
\begin{multicols}{2}
\infoboxsection{Section 1}
\begin{description}
\item[{Key 1}] Value 1
\item[{Key 2}] Value 2
\item[{Key 3}] Value 3
\end{description}
Actually there is no limit to what you can write here;
it's up to the author to structure the box as is appropriate.
\infoboxsection{Section 2}
\begin{center}
\begin{tabular}{lr}
This & That\\
\hline
Atomic number & 8\\
Atomic mass & 16\\
Half-life & Stable\\
Valence & 2\\
\end{tabular}
\end{center}
\infoboxsection{Note on sections}
Infobox sections do not show up on table of contents
and are not in fact sections
in the \texttt{\textbackslash{}section} sense.
\end{multicols}
\end{infobox}