[texhax] illegal parameter

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Fri Jul 1 18:26:05 CEST 2011

I am confused about the error I am getting in the following.
(I have commented out the file calls and the code which seems irrelevant to the problem.
I defined the macro \ve to replace \vec, since the latter puts a tiny arrow above even a long expression.
I presume this is the source of the problem, but I have used \ve millions of times with no such problem.)
The error points to the caption line (near the end of the figure->center environment, six lines before the end of the code.

%!TEX TS-program =  latex
%\usepackage{pstricks, pst-plot, pst-math, pst-3dplot}
%\usepackage{pst-grad, pst-func, pst-text}



%a line before
% \begin{pspicture}(-0.5,-0.5)(4.5,3.5)
% \psline[linestyle=dashed]{->}(0,0)(3,1)
% \psline[linestyle=dashed]{->}(3,1)(4,3)
% \psline[linestyle=dotted, linewidth=1.6pt]{->}(0,0)(1,2)
% \psline[linestyle=dotted, linewidth=1.6pt]{->}(1,2)(4,3)
% \psline{->}(3,1)(1,2)
% \psline[linewidth=1.2pt]{->}(0,0)(4,3)
% \uput[l](0.5,1){\vu+\vv}
% \uput[ul](2.5,2.5){\vw}
% \uput[dr](1.5,0.5){\vu}
% \uput[r](3.5,2){\vv+\vw}
% \uput[ur](2.3,1.3){\vv}
% \end{pspicture}
\caption{$\vu+(\vv+\vw)$(dashed) $=(\vu+\vv)+\vw$ (dotted)}

%a line after


The error I get is

./Briefpicturetest.tex:35: Illegal parameter number in definition of \reserved@
<to be read again>
l.35 ...v+\vw)$(dashed) $=(\vu+\vv)+\vw$ (dotted)}

? ?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966

More information about the texhax mailing list