Did you load necessary packages in preamble? Liviu
On Fri, May 3, 2013 at 1:45 PM, mistermind <masterm...@wibox.fr> wrote: > Hello > > I am using the beamer-conference-ornate template and I like to insert > pstricks code within. I get the following error when any pstricks code is > insert > "undefined control sequence > missing $ inserted .." > here is the sample of code > > \newrgbcolor{zzttqq}{0.6 0.2 0} > \psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt > 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25} > \begin{pspicture*}(1.66,2.26)(4.98,4.4) > \psaxes[labelFontSize=\scriptstyle,xAxis=true,yAxis=true,Dx=1,Dy=1,ticksize=-2pt > 0,subticks=2]{->}(0,0)(1.66,2.26)(4.98,4.4) > \pspolygon[linecolor=zzttqq,fillcolor=zzttqq,fillstyle=solid,opacity=0.1](3.28,2.66)(2.32,3.92)(3.54,3.86) > \psline[linecolor=zzttqq](3.28,2.66)(2.32,3.92) > \psline[linecolor=zzttqq](2.32,3.92)(3.54,3.86) > \psline[linecolor=zzttqq](3.54,3.86)(3.28,2.66) \begin{scriptsize} > \psdots[dotstyle=*,linecolor=blue](3.28,2.66) > \rput[bl](3.36,2.78){\blue{$A$}} > \psdots[dotstyle=*,linecolor=blue](2.32,3.92) > \rput[bl](2.4,4.04){\blue{$B$}} > \psdots[dotstyle=*,linecolor=blue](3.54,3.86) > \rput[bl](3.62,3.98){\blue{$C$}} \end{scriptsize} \end{pspicture*} > \end{document} > > What is the correct way to use pstrick with beamer? Or someone has a working > template? > > thanks. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail