diff options
| author | Lucas V. R <[email protected]> | 2022-02-21 09:54:37 -0300 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2022-02-21 16:04:14 +0100 |
| commit | 3bc3e968372e567cbaf3a7a512e15b93b90d2520 (patch) | |
| tree | e1be96d9616f2961a514a1b926058ec1fde8f9b9 /man | |
| parent | 6fe8014a2cc1d732dd11c0fc386d7c8449048c90 (diff) | |
Org reader: More flexible LaTeX environments
Looking at the definition of `org-element-latex-environment-parser`, one
sees that Org allows arbitrary arguments to LaTeX environments. In fact,
it parses every char just after `\begin{xxx}` until `\end{xxx}` as
content for the environment, so all the following examples are valid
environments:
```org
\begin{equation} e = mc^2 \end{equations}
```
```org
\begin{tikzcd}[ampersand replacement=\&]
A \& B \\
C \& D
\arrow[from=1-1, to=1-2]
\arrow["f", from=2-1, to=2-2]
\end{tikzcd}
```
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions
