Hi,
I started to use auctex and preview-latex and they work great, save for one thing; and that is, that preview images
get misplaced (placed after } instead of withing) if I use custom commands:


\newcommand{\enuml}[1]
{
  \begin{enumerate}[(i)]
    #1
  \end{enumerate}
}

\enuml
{
  \item $a = c$
} % Preview(s) (of all items inside) gets placed here

\begin{enumerate}
  \item $a = b$ % Preview gets placed here
\end{enumerate}

Now, I searched for a solution and came upon \PreviewMacro, but I could not get it to work no matter how I used it - I tried several of the things described here: http://preview-latex.sourceforge.net/manual/Provided-commands.html

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to