PSTricks is a set of macros that allow the inclusion of PostScript code (e.g. drawings) directly inside (La)TeX code. This tag is compatible with the tag {diagrams}.

learn more… | top users | synonyms

5
votes
1answer
109 views

How to correctly nest psmatrix within psmatrix (without undesired space)

I'd like to nest several psmatrix environments within a psmatrix, so that every cell of the outer psmatrix itself is an psmatrix again. Ultimately I want to draw within these inner matrices using ...
12
votes
0answers
282 views

Color gradient filling along a path

I want to make the gradient color to follow the pipe curve below rather than to span from the left to the right. The following MWE shows the default behavior which is not what I'm looking for. ...
12
votes
0answers
333 views

Are there any other methods left to create a spiral of equidistant segments?

I want to create a spiral that is composed of equidistant segments as shown in the following figure. I tried to draw it with various methods. The colors are used to distinguish each method from the ...
8
votes
0answers
95 views

Is there any compiler-dependent font loadable for pdflatex but not for latex-dvips-ps2pdf?

I want to make sure that I can load the same fonts for each input file either for diagrams and text contents. It is related to my statement below, Even though PSTricks cannot work with pdflatex ...
7
votes
0answers
140 views
+50

Is there a smart solution to fix the precision issue for atan?

\documentclass[pstricks,border=12pt]{standalone} \SpecialCoor \psset{unit=.25} \def\Atom#1{% \begin{pspicture}[dimen=m](-12,-12)(12,12) \pstVerb{/AA 1 5 atan def /RR 26 sqrt def} ...
5
votes
0answers
194 views

best practice to include (standalone precompiled) graphics

I know that several people have asked about how to include plots and graphics (created by tikz and pstricks) into a latex document. What is the best way to include Matlab graphics? Including ...
3
votes
0answers
41 views

How to let hidden line be displayed as dash style in pst-solides3d

I want to draw a tetrahedron and an arrow, and part of the arrow is inside of the tetrahedron. However, I'd like the inside part is displayed as dash line. How to do that? My code does not work. ...
3
votes
0answers
52 views

angular spring macro

Does anyone have a macro for an "angular spring" ? I'm looking for something similar to that in pst-coil (PS-Tricks package) but the geometry of the "spring" is not straight but an arch (with ...
3
votes
0answers
209 views

pslegend bounding box odd while using Cirkuit

This question is regarding pst-plot and more specifically \pslegend. The code below produces the two following plots: One of these figures is generated without the \pslegend and it appears to have ...
2
votes
0answers
69 views

Problem with Texlipse and auto-ps-pdf

I'm using the Eclipse-plugin Texlipse as my preferred LaTeX-editor. But since I'm using auto-pst-pdf for PStricks graphics in pdf-files Texlipse doesn't manage the complete compilation. That works ...
2
votes
0answers
70 views

Negative bar values using psbarchart

I'm plotting a barchart using pst-bar and \psaxes[axesstyle=frame,Ox=0,Oy=-1,Dx=1,labels=y,ticks=y](0,-1)(17,5) \psbarchart[barstyle={red,blue,green},chartstyle=stack]{\data} I have some negative ...
2
votes
0answers
153 views

Make lines disappear, Pst Solides 3D

I'm drawing the following cylinder which represents a water flowing and cooling down \documentclass[a4paper,10pt]{article} \usepackage{pstricks} \usepackage{auto-pst-pdf} \usepackage{pst-solides3d} ...
1
vote
0answers
33 views

PSTricks for Mac

I got MacTex installed and am using Texworks. I wanted to recreate an old PDF from my .tex files and I'm having some problems. I got 1 file which tells tex to include all the others and within some ...
1
vote
0answers
81 views

Beamer–PSTricks Diagram “Wiggling”

I am working on a presentation using Beamer with diagrams done in PSTricks. I would like to animate one of my diagrams, and have achieved this by using various \only, \uncover, etc. statements. ...
1
vote
0answers
129 views

TeX4ht and PSTricks

I tried to compile the code below with mk4ht htlatex file.tex 'xhtml, charset = utf-8 pmathml' '-cunihtf-utf8-cvalidate' Formulas and text are transcribed, but not graphics. How to solve this ...
0
votes
0answers
29 views

How to avoid that a WIDE item push all the other columns?

I´m trying to finish my flowchart (with the inestimable help of Herbert and Bernard) How to avoid that a WIDE item (with no elements on its sides) push all the other columns?? I want the othe columns ...
0
votes
0answers
73 views

Check pdftype do display different contents

Is there any way to check, which pdfreader is viewing the pdf? Can I display different contents to different browsers? For example I want to use the animatepackage, which should be displayed if ...