Questions tagged [pstricks]

PSTricks offers an extensive collection of TeX macros for generating PostScript that is compatible with most TeX macro formats, including Plain TeX, LaTeX, AMS-TeX, AMS-LaTeX, ConTeXt. PSTricks provides colors, graphics, rotations, trees and overlays.

PSTricks offers an extensive collection of TeX macros for generating PostScript that is compatible with most TeX macro formats, including Plain TeX, LaTeX, AMS-TeX, AMS-LaTeX, ConTeXt.

It includes macros for colour, graphics, pie charts, rotation, trees and overlays. Special features include a wide variety of graphics (picture drawing) macros, with a flexible interface and colour support.

13 questions
28
votes
5 answers

How do PStricks and TikZ compare for ease of learning and for quality of API design?

My group uses Literate Programming for most of our source code---this means that internal documentation is written using LaTeX. We have been using PStricks for fancy technical diagrams of the system, but have recently been recommended to use TikZ. …
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
3
votes
2 answers

LaTeX bar chart

I am trying to make a bar chart using LaTeX. I've been unsuccessful so far, so can anyone help me out, perhaps with a copy of a recent project? How can I make a bar chart with pstricks? I would appreciate the most simple solution possible because I…
Sven Koluem
  • 687
  • 1
  • 13
  • 31
3
votes
2 answers

Installing pstricks in windows with MikTex

I've been trying to get pstricks to work but to no avail. I am using Miktex, and I downloaded the package from it packages manager. But when I try to build it, it always fails: This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8) entering…
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
2
votes
2 answers

Using loops in latex

I'm trying to create 5*2 matrix using \psframe. I want to repeat the following code using loops and changing the coordinates. Means just adding into X and Y coordinates and getting the…
Bhavneet
  • 317
  • 1
  • 4
  • 6
2
votes
0 answers

Latex PStricks \rput cannot place text in the right place

I have tried the example given at pstrick \rput example. The link has a picture which shows the expected results. However when I use the same code, I see a picture below: . You can see the placement of the text is incorrect. I used the exact same…
Max Li
  • 551
  • 2
  • 14
1
vote
1 answer

Can I include pstricks code in R/exams with exams2pdf and exams2moodle output?

I'm trying to include the following pstricks code snippet in R/exams .Rmd exercises, but I have no idea how to do it: \\begin{pspicture}(-2, -2)(3, 3) \\psset{viewpoint=100 30 20,Decran=100} \\psSolid[object=cube, a=2, action=draw*, …
1
vote
0 answers

How to flip the orientation of beamsplitter in pst-optexp package in latex

I was trying to plot an interferometer in latex using pst-optexp package. Everything works fine the beamsplitter is in the wrong orientation and need to be fliped 90 degree. However, the command\beamsplitter[bsstyle=plate, compname=BS,label = 0.8…
polkolp
  • 13
  • 3
1
vote
1 answer

(latex) Alignment in pst-tree

In this example, using pst-tree package: \def\psedge{\ncangles[armA=.5, angleB=180, linearc=.2]} \pstree[treemode=R, levelsep=3cm] {\Toval{ root }} { \Toval{ Tom } \Toval{ Cat } \Toval{ Very very very very very long entry } \Toval{ Jerry…
Lenik
  • 13,946
  • 17
  • 75
  • 103
1
vote
1 answer

LaTeX PSTricks geometry marking parallel lines

I am working on attempting to draw some geometrical shapes using PSTricks in LaTeX. I'm pretty new to PSTricks, but I've done a few projects with LaTeX. I've discovered the package pst-eucl which has been quite helpful. It has some useful macros for…
MrException
  • 520
  • 4
  • 12
1
vote
1 answer

How to import pstricks-add in beamer?

In a latex report, I import pstricks-add to use \psbrace in a figure. When I want to redraw my figure in beamer, I obtain a problem when I import pstricks-add: No room for a new \dimen \newdimen\pst@chartHeight. I have the same problem with…
lovelace63
  • 352
  • 1
  • 6
  • 15
0
votes
0 answers

pdflatex and pstricks

I normally use pdflatex to convert papers written as tex files to a pdf for publishing. With pdflatex any figures in the tex file can be PNG, PDF etc but not PostScript. Now I am writing a paper where I have some figures created with pstricks and…
Bo Sundman
  • 424
  • 3
  • 13
0
votes
1 answer

Latex2html5 Javascript issue : fill parallelogram

Using latex2html5 Javascript library, I try to fill a parallelogram with grey color and solid fillstyle. This library has a subset of pstricks latex functions, so my issue may not be solved. Here's [the link of my current version][2]. My issue is…
user1773603
0
votes
1 answer

How to install pstricks on a mac (using emacs and orgmode.)

What I have now in my orgmode file is: #+BEGIN_SRC…
Peter-TI
  • 91
  • 8