Marc van Dongen
2009-07-17 10:30:16 UTC
Dear all,
The example below causes an error:
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
l.7 \path (0,0) node {a\\a
};
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\centering
%\begin{minipage}{1em}
\begin{tikzpicture}
\path (0,0) node {a\\a};
\end{tikzpicture}
%\end{minipage}
\end{document}
If I comment out the \centering, get rid of the linebreak, or un-
comment the minipage environemnt then all goes well.
I take it you cannot use the tikzpicture environment in any context.
If so, is this documented somewhere?
Please note that I'm using pgfCVS2009-06-02_TDS and don't have an easy
way to re-install pgf 2.00.
Thanks in advance.
Regards,
Marc van Dongen
The example below causes an error:
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
l.7 \path (0,0) node {a\\a
};
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\centering
%\begin{minipage}{1em}
\begin{tikzpicture}
\path (0,0) node {a\\a};
\end{tikzpicture}
%\end{minipage}
\end{document}
If I comment out the \centering, get rid of the linebreak, or un-
comment the minipage environemnt then all goes well.
I take it you cannot use the tikzpicture environment in any context.
If so, is this documented somewhere?
Please note that I'm using pgfCVS2009-06-02_TDS and don't have an easy
way to re-install pgf 2.00.
Thanks in advance.
Regards,
Marc van Dongen