我是 latex 代码的新手,我想在我的 pdf 中添加 3d 对象。我找到了此代码,但出现以下错误:!缺少 \endcsname 插入。
\documentclass[a4paper]{article}
\newcommand{\layout}{0}
\newcommand{\pname}{testvrmlstream3.u3d}
\newcommand{\moviewidth}{297mm}
\newcommand{\movieheight}{210mm}
\usepackage[a4paper,landscape,top=0mm, bottom=0mm, left=0mm, right=0mm]{geometry}
\usepackage[3D]{movie15}
\usepackage{hyperref}
\usepackage[UKenglish]{babel}
\begin{document}
\centering
\includemovie[
poster,
toolbar,
label=\pname,
text=(\pname),
3Daac=60.000000, 3Droll=0.000000, 3Dc2c=0.004411 -0.158060 0.000000, 3Droo=0.158122, 3Dcoo=0.004411 0.010763 0.000000,
3Dlights=CAD,
]{\moviewidth}{\movieheight}{\pname}
\end{document}
你能帮助我吗?谢谢