什么时候编译
\documentclass[tikz]{standalone}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}[yscale=cos(65)]
\draw[postaction={decorate},decoration={markings,mark=at position 0.5 with {\arrow{>}}},rotate around={-10:(.9,-.5)}](.9,-.5)circle(1.5mm and 3mm);
\end{tikzpicture}
\end{document}
LaTeX 抛出错误:
! Dimension too large.
<to be read again>
\relax
l.5 ...10:(.9,-.5)}](.9,-.5)circle(1.5mm and 3mm);
?
! Emergency stop.
<to be read again>
\relax
l.5 ...10:(.9,-.5)}](.9,-.5)circle(1.5mm and 3mm);
End of file on the terminal!
这是一个很小且有边界的图形。我不知道为什么“尺寸太大”。
如果将椭圆中心改为(0,0),则有效
\documentclass[tikz]{standalone}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}[yscale=cos(65)]
\draw[postaction={decorate},decoration={markings,mark=at position 0.5 with {\arrow{>}}},rotate around={-10:(.9,-.5)}](0,0)circle(1.5mm and 3mm);
\end{tikzpicture}
\end{document}
图像:
放大:
答案1
你可以看看 Qrrbrbirlbel 对这个帖子的回答使用 tikz 添加非直线路径
和fpu
图书馆一起。
\documentclass[tikz]{standalone}
\usetikzlibrary{decorations.markings,fpu}
\begin{document}
\begin{tikzpicture}[yscale=cos(65)]
\draw[
/pgf/fpu/install only=veclen,
postaction={decorate},
decoration={markings,mark=at position 0.5 with {\arrow{>}}},
rotate around={-10:(.9,-.5)}
](.9,-.5)circle(1.5mm and 3mm);
\end{tikzpicture}
\end{document}