I have a simple TIKZ-Code in Lyx:
Code: Select all
\begin{tikzpicture}
\draw[red] (0,0) -- (1,1);
\draw[red] (1,0) -- (0,1);
\draw[blue] (0,0) rectangle (1,1);
\end{tikzpicture}
However, the instant preview in Lyx does not work. Choosing "Insert-Preview" creates only a new "box" around the source-Code.
(but the preview of a math formula works, see screenshot) !
Any idea for a solution (I am working with LyX Version 2.1.5)?
Thank you!
Manfred