1
如何在列表環境中包含Tikz節點而不導致組織模式乳膠輸出中斷環境?帶有TIKZ節點的Emacs組織模式列表不正確地輸出到Xelatex Latex
我有一些代碼,它使用Tikz沿着幾個列表項創建大括號。該列表應該理想地是這樣的(這是我的手動鍵入xelatex代碼......實際上我寧願「枚舉」,但有一兩件事在時間):
\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}
問題:在斷裂處Tikz代碼列表正在導致列表環境中斷,所以當我只需要一個列表時,我最終得到了多個列表。
見下組織模式代碼:
* 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
見乳膠輸出這裏:
\begin{itemize}
\item who tells (to whom)?
\end{itemize} <--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}<--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}<--THIS IS THE PROBLEM AGAIN, IT SHOULD BE THE ONLY \end{itemize} AND AT THE BOTTOM
\tikz[remember picture] \node[coordinate] (n4) {};
哪個組織模式版本?在組織模式版本7.9.2(release_7.9.2-466-g6e73c2)中,也就是最近從git獲得的,我只在導出到LaTeX時獲得一個列表。 – rvf0068
按下M-x導致:組織模式版本6.33x。我想知道如何升級Aquamacs內部的組織模式。謝謝你的評論。我會嘗試升級組織模式。不應該太難。 –
rvf0068,我剛將組織模式升級到7.9.2,但仍然無法正常工作。請確認你的結果。 –