'Use arbitrary LaTeX itemize in Org Mode
If I want to export a itemized list from Org to LaTeX, is there a way to set arbitrary itemization? The usual Org plain list, i.e. - item will result in an \begin{itemize} environment, but I would like to set arbitrary itemization. For example, is there any kind of Org list markup that will output this kind of LaTeX list environment?
\begin{itemize}
\item[2013]
This item happened in 2013
\item[2012]
This item happened in 2012
\end{itemize}
Edit:
The problem is that Org is recognising the years as inactive timestamps or footnote references and this is screwing up the LaTeX export. Solution below.
Solution 1:[1]
I can't tell whether it's what you're looking for, but
- 2013 :: This happened in 2013
- 2012 :: This happened in 2012
will produce
\begin{description}
\item[2013] This happened in 2013
\item[2012] This happened in 2012
\end{description}
I haven't tried, but according to this WikiBook it seems as though there will be no dot trailing the year.
Solution 2:[2]
Use something such as:
1. [@2013] This item happened in 2013
2. [@2012] This item happened in 2012
Solution 3:[3]
The solution appointed by the org-mode manual is ::, so:
Important actors in this film are:
- Elijah Wood :: He plays Frodo
- Sean Astin :: He plays Sam, Frodo's friend.
by the way, [ text ] didn't work for me.
Solution 4:[4]
If as me you don't like the decription style with "- ::" syntax (that produces weird latex export) a workaround is simply to use
- @@latex:[2013]@@ This item happened in 2013
- @@latex:[2012]@@ This item happened in 2012
and, more generally,
- @@latex:[yourcustomitem]@@ blah blah
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | torbonde |
| Solution 2 | fniessen |
| Solution 3 | Ricardo Antunes |
| Solution 4 | Low Rank Jack |
