[pstricks] \psxTick error
Johan Ekh
ekh.johan at gmail.com
Thu Aug 13 09:54:42 CEST 2009
Please see output from \listfiles below. It seems that my pstricks packages
are quite old.
I use openSuSE 11.1 and all pstricks seems to be included in the texlive
distribution.
What is the best way to update the pstricks packages?
Best regards,
Johan
*File List*
abbtr.cls 2008/02/13
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
fancyhdr.sty
helvet.sty 2005/04/12 PSNFSS-v9.2a (WaS)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
array.sty 2005/08/23 v2.4b Tabular extension package (FMi)
colortbl.sty 2001/02/13 v0.1j Color table columns (DPC)
color.sty 1999/02/16
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
lastpage.sty 1994/06/25 v0.1b LaTeX2e package for refs to last page
number (
JPG)
natbib.sty 2007/02/05 8.0 (PWD)
ABBlogo.eps Graphic file (type eps)
inputenc.sty 2006/05/05 v1.1b Input encoding file
latin1.def 2006/05/05 v1.1b Input encoding file
srcltx.sty 1999/10/11 v1.002 DVI Search
varioref.sty 2006/05/13 v1.4p package for extended references (FMi)
amssymb.sty 2002/01/22 v2.2d
amsfonts.sty 2001/10/25 v2.2f
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
amsxtra.sty 1999/11/15 v1.2c
bm.sty 2004/02/26 v1.1c Bold Symbol Support (DPC/FMi)
draftcopy.sty 2002/02/25 v2.16
draftcopy.cfg
subfigure.sty 2002/03/15 v2.1.5 subfigure package
subfigure.cfg
caption.sty 2004/05/16 v3.0b Customising captions (AS)
booktabs.sty 2005/03/16 v1.6180 publication quality tables
threeparttable.sty 2003/06/13 v 3.0
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
nomencl.sty 2005/09/22 v4.2 Nomenclature package (LN)
psfrag.sty 1998/04/11 v3.04 PSfrag (MCG)
floatflt.sty 1997/07/16 v. 1.31
paralist.sty 2002/03/18 v2.3b Extended list environments (BS)
float.sty 2001/11/08 v1.3d Float enhancements (AL)
pstricks.sty 2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2006/12/22 v1.15 `PSTricks' (tvz)
pst-plot.sty 2004/07/15 package wrapper for pst-plot.tex
pst-plot.tex 2004/05/18 1.41 `pst-plot' (tvz)
pst-node.sty 2006/01/01 package wrapper for pst-node.tex
pst-node.tex 2000/11/09 97 patch 11 `pst-node' (tvz)
pstricks-add.sty 2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks-add.tex 2006/11/22 v2.82 `PSTricks-add' (hv,dr)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2006/11/18 v2.5f package option processing (HA)
xkeyval.tex 2006/11/18 v2.5f key=value parser (HA)
pst-math.sty 2004/03/20 package wrapper for PSTricks pst-math.tex
pst-3dplot.sty 2006/02/07 package wrapper for pst-3dplot.tex (hv)
pst-3dplot.tex 2006/02/07 v1.72 `PST-3dplot' (hv)
pst-func.sty 2006/04/22 package wrapper for pst-func.tex (hv)
pst-func.tex 2007/02/01 v0.47 `PST-func' (hv)
pst-func.pro
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
ragged2e.sty 2003/03/25 v2.04 ragged2e Package (MS)
everysel.sty 1999/06/08 v1.03 EverySelectfont Package (MS)
umsa.fd 2002/01/19 v2.2g AMS font definitions
umsb.fd 2002/01/19 v2.2g AMS font definitions
omsphv.fd
TR_Analysis.nls
pictures/damage_noslide.eps
TR_Analysis.bbl
***********
On Thu, Aug 13, 2009 at 12:11 AM, Michael Sharpe <mchl.sharpe at gmail.com>wrote:
> \psset{xAxisLabel=,yAxisLabel=}
> \begin{psgraph}[ticks=none,Dx=2,Dy=2](0,0)(-5,-5)(5,5){0.5\textwidth}{!}
> \psxTick(1.5){a^2}
> \psplot[linewidth=1.25pt,algebraic]{-4.0}{4.0}{ 3*sin(3.141592*x/8.0)
> }
> \end{psgraph}
>
> works for me with a recent version of pstricks-add (4/29/2009). (Note that
> $a^2$ was replaced by a^2 as the last argument of \psxTick is assumed to be
> specified in math mode.
>
> Perhaps you would post the results of \listfiles so we could see the
> version of pstricks-add you are using.
>
> Michael
>
>
>
> On Aug 12, 2009, at 11:20 AM, Johan Ekh wrote:
>
> Hi all,
>> I'm trying to use \psxTick but I get "Undefined control sequence" when I
>> run LaTeX.
>> Can anyone tell me what I am doing wrong?
>>
>> I've included the following packages:
>>
>> \usepackage{pstricks,pstricks-add,pst-math,pst-plot,pst-3dplot}
>>
>>
>> This is my code:
>>
>> \begin{figure}[hbt]
>> \begin{center}
>> \psset{xAxisLabel=,yAxisLabel=}
>>
>> \begin{psgraph}[ticks=none,Dx=2,Dy=2](0,0)(-5,-5)(5,5){0.5\textwidth}{!}
>> \psxTick(1.5){$a^2$}
>> \psplot[linewidth=1.25pt,algebraic]{-4.0}{4.0}{ 3*sin(3.141592*x/8.0)
>> }
>> \end{psgraph}
>> \end{center}
>> \end{figure
>>
>>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20090813/334b4e1d/attachment-0001.html>
More information about the PSTricks
mailing list