Search found 351 matches

by CrazyHorse
Thu Jan 19, 2017 6:48 pm
Forum: Graphics, Figures & Tables
Topic: [pstricks] psRandom - distance to clipping object Topic is solved
Replies: 3
Views: 2127

[pstricks] psRandom - distance to clipping object Topic is solved

\documentclass[pstricks]{standalone} \usepackage{pst-plot} \begin{document} \begin{pspicture}[showgrid](-4.3,-2.3)(4,2.2) \psplot[plotstyle=dots,algebraic,plotpoints=200]{-3.9}{3.9}{Rand*(sqrt(4-x^2/4)-0.1)} \psplot[plotstyle=dots,algebraic,plotpoints=200]{-3.9}{3.9}...
by CrazyHorse
Sat Apr 26, 2014 8:31 pm
Forum: Graphics, Figures & Tables
Topic: Rendering an eps file?
Replies: 5
Views: 2772

Re: Rendering an eps file?

\documentclass{article} \usepackage{pst-plot} \begin{document} \psset{unit=4} \begin{pspicture}(-1.2,-1.2)(1.2,1.2) \psaxes[labels=none,ticks=none]{->}(0,0)(-1.1,-1.1)(1.1,1.1) \psparametricplot[algebraic,linecolor=red,plotpoints=1000,linewidth=1.5pt]{0}{11}{ cos(7*t) | sin(11*t) } \end{pspicture} ...
by CrazyHorse
Thu Apr 24, 2014 4:47 pm
Forum: Graphics, Figures & Tables
Topic: Unusual position for a caption
Replies: 2
Views: 1294

Re: Unusual position for a caption

I have three images that I am combining into one figure. Two images on the top row and one on the bottom. My question: is it possible to put the caption in the bottom right, where a fourth image would usually go, rather than at the bottom? have a look at package floatrow . for the documentation run...
by CrazyHorse
Tue Apr 22, 2014 10:22 pm
Forum: Graphics, Figures & Tables
Topic: Psbrace isn't working
Replies: 2
Views: 1618

Re: Psbrace isn't working

I am desperately trying to get a small brace into a pspicture, bu it just doesn't work. I have already installed the pstricks-add package, but as soon as I want to add \psbrace , nothing works anymore. Here is what I have: You can simplify a lot of the code: \documentclass[12pt,a4paper]{article} \u...
by CrazyHorse
Tue Apr 22, 2014 10:05 pm
Forum: TeX Live and MacTeX
Topic: Trying to get PSTricks to work...
Replies: 3
Views: 4678

Re: Trying to get PSTricks to work...

I use Debian Wheezy and have installed texlive , full and also texlive-pstricks . I now wish to use latexdraw and use the on-the-fly generated latex code in my latex-documents. I run latexdraw, draw something and try to use the generated code but the response [code](/usr/share/texlive/texmf-dist/te...
by CrazyHorse
Tue Jan 08, 2013 7:19 pm
Forum: Graphics, Figures & Tables
Topic: Automatic Calculation of Week Number in Table Topic is solved
Replies: 15
Views: 6413

Re: Automatic Calculation of Week Number in Table Topic is solved

svend_tveskaeg wrote:P.S.: The slashbox package (not part of TeX Live) is needed to compile the code.


For your question and your example it is absolutely not important to use that package.
by CrazyHorse
Sat Jan 05, 2013 10:52 pm
Forum: Graphics, Figures & Tables
Topic: PSTricks syntax Topic is solved
Replies: 9
Views: 4927

Re: PSTricks syntax Topic is solved

svend_tveskaeg wrote:Can you tell me when to use \def and when to use \pstVerb?


\def defines a TeX macro, used as \...
\pstVerb defines PostScript functions, used _only_ in PS expressions

  1. \pstVerb{ /ePow { 2.728 exch exp } def }

now you can use something like

  1. ngrid = 1 3 ePow,
by CrazyHorse
Sat Jan 05, 2013 10:19 pm
Forum: Graphics, Figures & Tables
Topic: PSTricks syntax Topic is solved
Replies: 9
Views: 4927

Re: PSTricks syntax Topic is solved

\pstVerb{ /nLeft 2 \lWind mul \factor div def /nRight 2 \rWind mul \factor div def } \newpsobject{wire}{psSolid}{% object=courbe, % Choose max(\nRight,\nLeft) -- the fewer windings, the larger % the constant multiplied by max(\nRight,\nLeft) ngrid=970 \nLeft mul cvi 15, , I get this following error...
by CrazyHorse
Sat Jan 05, 2013 9:26 pm
Forum: Graphics, Figures & Tables
Topic: PSTricks syntax Topic is solved
Replies: 9
Views: 4927

Re: PSTricks syntax Topic is solved

svend_tveskaeg wrote:
  1. \def\nLeft{2 \lWind mul \factWind div }
  2. \def\nRight{2 \rWind mul \factWind div }

but that leads to an error.


define

  1. \pstVerb{
  2. /nLeft 2 \lWind mul \factWind div def
  3. /nRight 2 \rWind mul \factWind div def
  4. }


then you can use nLeft and nRight as PostScript variables in your other macros.
by CrazyHorse
Wed Jan 02, 2013 6:41 pm
Forum: BibTeX, biblatex and biber
Topic: Use of \@year@ doesn't match its definition. Topic is solved
Replies: 17
Views: 16440

Re: Use of \@year@ doesn't match its definition. Topic is solved

I don't understand exactly what you explain in your last post. Are you trying to say there is nothing wrong with my file? I tried to run latex on the file in both TexMaker en TexWorks I know there is an error with the graphics, but I didn't look into that eror. I want to fix the Use of \@year@ erro...

Go to advanced search