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

1
vote
2answers
66 views

My PSTricks is broken: empty output from pst-vowel example

Consider the following example from the pst-vowel manual (http://ctan.cs.uu.nl/macros/latex/contrib/pst-vowel/pst-vowel.pdf): \documentclass{minimal} \usepackage{tipa,pst-vowel} \begin{document} ...
6
votes
0answers
113 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. ...
5
votes
0answers
177 views

Create violine plots

I use pgfplots for most of my plots. Now I need to add a violin plot. Is this possible with pgfplots or any other package?
3
votes
0answers
35 views

Connecting line does not show up when using nodes in PSTricks

I was trying to understand the nodes feature in pst-node. I copied the following example exactly as written in the PSTricks readme. \documentclass{article} \usepackage{pstricks, pst-node} ...
3
votes
0answers
107 views

Drawing Cross Sections of (Contours over) Torus

I have this simple torus \begin{figure} \begin{center} \begin{pspicture}(-6,-4)(6,4) \psset{viewpoint=30 10 25 rtp2xyz,Decran=30,lightsrc=viewpoint} \psSolid[object=tore,r1=2.5,r0=1.0,ngrid=36 ...
3
votes
0answers
100 views

beamer, pstricks (texlive 2014)

Since updating ubuntu to 14.10 (and 15.04 recently) i cannot succeed in compiling the following source: \documentclass[a4paper]{article}% \usepackage{beamerarticle} %\documentclass{beamer}% ...
3
votes
0answers
128 views

Projection of circle across two surfaces

I would like to build on a previous question in which is explained how to project a circle onto a defined plane of an octahedron using pstricks. I would like to know if it is possible to project a ...
3
votes
0answers
131 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 ...
3
votes
0answers
62 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
329 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
60 views

pst-3dplot error: Transformation matrix not invertible

I'm trying to reproduce example 1 on page 26 of the user manual of pst-3dplot. It is supposed to rotate the label 'xy plane' into a 3D coordinate system. All I get is a warning: ** WARNING ** ...
2
votes
0answers
68 views

pstricks with old latex-dvips-ps2pdf worked; fails with 2014 TeXLive xelatex

I have drawings using pstricks that worked just fine in an old (2008) version of LaTex. On a new machine I switched to texlive 2014 and using xelatex the drawings do not work. For example, the ...
2
votes
0answers
74 views

How to customize a lens of pst-optic with the following requirement?

The following code \documentclass[pstricks,border=12pt,12pt]{standalone} \usepackage{pst-optic} \begin{document} \lens [ nameF=F2, nameFi=F1, spotO=270, focus=4, OA=-3, AB=1, ...
2
votes
0answers
78 views

Have auto-pst-pdf and pstool merged?

auto-pst-pdf can handle pstricks and psfrag in addition to .eps files when run with pdflatex. It is however slow since in each run it processes all files, even those that have been processes before ...
1
vote
0answers
103 views

PStricks and TexMaker/MikTex returns empty or strange PDF

I am trying out pstricks as it contains some really nifty packages for electric and magnetic fields. However, I cannot get it to work quite yet. My setup is as follows: TexMaker 4.4.1 MiKTeX ...
1
vote
0answers
43 views

pstricks and pdf option

I've noticed a problem with the latest version of pstricks: I used to compile files containing pstricks code with pdflatex, using the pdf option of the document class. Now it doesn't work,, and ...
1
vote
0answers
57 views

Exclude a line of text in a tabular environment

I have this problem: inside a framebox there is a line of text which should not be a part of the tabular enviromnent because it widens the first tab. Here is the code \documentclass[12pt, ...
1
vote
0answers
28 views

PSTricks lines not shown in the rightmost quarter of a page

I use XeLaTeX to compile. But I can not figure out why the problem described in the title occurs. It looks like something covers the rightmost quarter, but words put by \rput alike will show. Let me ...
1
vote
0answers
27 views

How to clip a PSTricks image to its boundaries

I have a PSTricks pspicture where certain elements go beyond the boundaries of the Image itself. I tried using \clipbox, but that either completely removed the entire image or didnt change anything at ...
1
vote
0answers
21 views

Is it possible to import an .png in a drawing made with pst-3dplot?

I would like to make a drawing using pst-3dplot with a .png embedded in it. Does anybody know if this is possible? Thank you very much.
1
vote
0answers
119 views

PSTricks algebraic coordinates going from MikTeX to TeXLive

I am using PSTricks and some tikz functions for preparing some sketches. This snipped worked perfectly fine MikTeX on Windows 7 \documentclass[]{scrartcl} \usepackage{amstext} \usepackage{amsmath} ...
1
vote
0answers
50 views

Drawing a two lens system using pst-optic

I am trying to draw a two lens system using pst-optic. Here is an example of the code I use : \begin{pspicture}[showgrid=true](-5,-3)(7,4) ...
1
vote
0answers
52 views

Problem with opacity in pgfplots when using pstricks package

Can anyone tell me why doesn't opacity work in pgfplots when I include the package "pstricks" and how could I fix it? See for example the code below: \documentclass{standalone} ...
1
vote
0answers
133 views

how to draw multiple graphs next to each other with labels

How to draw multiple graphs next to each other in a document? Also, how to name each graph with a label? One more thing is I need to show an dashed edge to intersect the graph edge, in that case how ...
1
vote
0answers
57 views

How to use pst-asr package on a Mac

\documentclass{article} \usepackage{pstricks,pst-xkey,pst-asr,graphicx}\psset{everyasr=\tiershortcuts} \begin{document} \asr bɪt \endasr \end{document} Hi, I am trying to use "pst-asr" package. I ...
1
vote
0answers
86 views

Inserting matrix in Latexdraw

I am using LatexDraw for drawing a graph and its corresponding matrix and thereby generating the Pstricks codes.. But I am having problem in inserting the matrix. I have attached here the screen shot. ...
1
vote
0answers
175 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
85 views

How can I draw a 3D cross-section of a 3-torus embedded in 4D Euclidean space?

I found this question and very nice solutions of Mathematica Stack Exchange. I have a 3D-torus (\mathbf S^1\times\mathbf S^1\times \mathbf S^1) embedded in 4D Euclidean space. How can I draw the ...
0
votes
0answers
59 views

Using mdframed package with pstricks option in pdflatex possible?

I want to use the mdframed package with the pstricks option (for dashed lines etc) with pdflatex. But doing so threw an Undefined control sequence ... \c@lor@to@ps error. The internet tells me, ...
0
votes
0answers
73 views

Beamer auto-pst-pdf — multiple images

I tried to include some pictures in a LaTeX Beamer presentation. I used auto-pst-pdf to produce a pdf output. Strangely, just the first picture shows up in the resulting document. Here's a minimal ...
0
votes
0answers
70 views

Arrow inside circle - pstricks

I'm trying to draw an arrow inside the circle, otherwise it's confusing with the others... But I don't succeed ! Has someone an idea ? I created the "pt" to write quicklier... It's : ...
0
votes
0answers
101 views

Energy spectra in LaTeX

I want to draw energy spectra like in the attached photo. Can anybody help me?
0
votes
0answers
50 views

Problem with length of psshadow box

I am using the a0poster environment and I am trying to create a psshadow box that has the same length with the document. I am using the following code: \documentclass[landscape,a0,final]{a0poster} ...
0
votes
0answers
71 views

pstricks gives garbled output in TeXShop

I have a bunch of 3d images that I made using pstricks, but after I updated to Mavericks OS X 10.9.5 this summer the images no longer render properly. All text (like axes labels) is stacked in the ...
0
votes
0answers
97 views

Undefined Control Sequence in \multido or \pspicture?

I wrote the following very simple program as I'm trying to make an animation using pstricks and multido, but I get "undefined control sequence" on the end pspicture line. Can anyone just tell me ...