On 14/11/26 19:32, Ihor Radchenko wrote:
Pedro Andres Aranda Gutierrez <[email protected]> writes:
align and align* are environments, not modes… I’ll look at it again, but I
can’t follow your reasoning.
Yup. So are :mode verbatim (ending up with
\begin{verbatim}...\end{verbatim} and :mode tabbing
(\begin{tabbing}...\end{tabbing).
Have you taken a look at the test case? This might also help you understand the
implications…
Yup, I did.
The reason I am proposing an alternative is because I had difficulty
understanding where I should use :mode math* and where I should use
environment.
Especially considering that :mode tabbing is yet different. and :mode
verbatim is again different - they simply ignore :environment.
A test
#+attr_latex: :mode verbatim :environment align*
| f(x) | = x^3 + 3*x^2 + 3*x + 1 |
| | = (x^2 + 2*x + 1) * (x+1) |
produces:
\begin{verbatim}
| f(x) | = x^3 + 3*x^2 + 3*x + 1 |
| | = (x^2 + 2*x + 1) * (x+1) |
\end{verbatim}
which is definitely *not* what I would need ;-)
/PA
--
Pedro A. Aranda
ox-latex & ox-beamer maintainer
Sagen's Paradeiser! (ORF: Als Radiohören gefährlich war) => write BE!
IA: onomatopeya del rebuzno
2nd year of the New Koprocracy