Note that there are some explanatory texts on larger screens.

plurals
  1. POEmacs Org-Mode List with TIKZ nodes exporting incorrectly to Xelatex Latex
    text
    copied!<p>How do I include Tikz Nodes inside of a list environment without the org-mode latex export breaking the environment?</p> <p>I have some code, which create braces along several list items using Tikz. The list should ideally look like this (this is my manually typed xelatex code...and actually I would prefer "enumerate" but one thing at a time):</p> <pre><code>\begin{itemize}[noitemsep=nosep] \item who tells (to whom)? \tikz[remember picture] \node[coordinate,yshift=0.5em] (n1) {}; %max 2 sentences \item what happens? \item to whom? \item with what result? \tikz[remember picture] \node[coordinate] (n2) {}; \tikz[remember picture] \node[coordinate, yshift=0.5em] (n3) {}; %max 4 sentences \item beginning \item how action rises \item climax \item denouncement \tikz[remember picture] \node[coordinate] (n4) {}; \end{itemize} </code></pre> <p><strong>The problem:</strong> The breaks in the list for the Tikz code is causing a break in the list environment, so that I end up with multiple lists, when I only want one list.</p> <p><strong>See org-mode code below:</strong></p> <pre><code>* My list starts here - who tells (to whom)? #+BEGIN_LaTeX \tikz[remember picture]\node[coordinate,yshift=0.5em] (n1) {}; #+END_LaTeX - what happens? - to whom? - with what result? #+BEGIN_LaTeX \tikz[remember picture] \node[coordinate] (n2) {};\tikz[remember picture] \node[coordinate, yshift=0.5em] (n3) {}; #+END_LaTeX - beginning - how action rises - climax - denouncement #+BEGIN_LaTeX \tikz[remember picture] \node[coordinate] (n4) {}; #+END_LaTeX </code></pre> <p><strong>See Latex Output here:</strong></p> <pre><code>\begin{itemize} \item who tells (to whom)? \end{itemize} &lt;--THIS IS THE PROBLEM, HOW CAN I STOP THE ITEMIZE ENVIRONMENT FROM ENDING HERE \tikz[remember picture]\node[coordinate,yshift=0.5em] (n1) {}; \begin{itemize} \item what happens? \item to whom? \item with what result? \end{itemize}&lt;--THIS IS THE PROBLEM AGAIN \tikz[remember picture] \node[coordinate] (n2) {};\tikz[remember picture] \node[coordinate, yshift=0.5em] (n3) {}; \begin{itemize} \item beginning \item how action rises \item climax \item denouncement \end{itemize}&lt;--THIS IS THE PROBLEM AGAIN, IT SHOULD BE THE ONLY \end{itemize} AND AT THE BOTTOM \tikz[remember picture] \node[coordinate] (n4) {}; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload