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
1answer
301 views

How can I produce the reflection of a pstricks image in pstricks?

I defined some small pstricks makro: \begin{pspicture}(-5,-5)(5,5) \newcommand{\leftwall}{% \psline(-4,-4)(-4,4) \multips(-4,-3.5)(0,0.5){14}{\psline(0,0)(-1,1)} } \leftwall ...
1
vote
1answer
199 views

How to find the intersection point between the invisible frame of `\rput` and the line segment of `\ncline`?

Points enclosed by black ovals are the intersection points between the frame boundary of \rput and the line segment of \ncline. How to find these points? The screenshot above is copied from ...
1
vote
2answers
530 views

How to plot a family of curves using PSTricks?

I would like to have the command line arguments in PSTricks to sketch the curve $$x^{2}-y^{2}=n^{2}$$.
1
vote
1answer
36 views

Align horizontal tree node labels in pstree

I'm trying to create a listing, with pstricks, that has its entrys on top of the line. Unlike normal tree nodes/leaves, the entry is not at the end. The clue is now to left (or right) align all ...
1
vote
1answer
44 views

PSTricks compilation problem

The following problems occurred a week ago. Everything was fine before and the TeX file does compile on my friends computer but does not compile anymore on mine. When I compile my TeX file I get ...
1
vote
2answers
192 views

PSTricks not working in TeXlive 2014

I have TeXlive 2014 recently installed on a new machine. Everything seems to be working smoothly EXCEPT for PSTricks. I am testing with minimal code such as \documentclass{article} ...
1
vote
2answers
93 views

PS-Tricks error Undefined control sequence. [\psline{->}]

I get the error Undefined control sequence. [\psline{->}] when i try to run the code \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-all} \usepackage{mathtools} ...
1
vote
1answer
37 views

How to reescale a pstricks image with subcaption?

I have an image and a code, that works well. When I try to scale the PSTRickis image, I have problems-errors How can I resize an image using subcption package?? I put at the end of the code ...
1
vote
1answer
147 views

Compilation error after texlive update

I used to make animated pictures using pstricks and the beamer overlay syntax (eg. using \only<2>{<some pstricks code>}) with the standalone class. Here a MWE which did the work: ...
1
vote
1answer
155 views

pstricks and tikz packages conflicting with other packages?

Why is it that whenever I add \usepackage{pstricks} or \usepackage{tikz}, I always get the error below? Latex Error: /usr/local/texlive/2013/texmf-dist/tex/latex/xcolor/xcolor.sty:60 TeX ...
1
vote
1answer
36 views

Psplot position on page

How can i move \psplot on custom position without pstpicture? \psset{yunit=28pt,xunit=28pt} \psplot[algebraic=true,linewidth=1pt,plotpoints=500]{0}{4.7}{(-x/5)*cos(4*x)} ...
1
vote
1answer
84 views

How to cancel the effect of \translate when I want to draw a radial line from the untranslated origin to the current point?

Consider the following MWE first. \documentclass[pstricks,border=12pt]{standalone} \SpecialCoor \usepackage{multido} \begin{document} % draw the tangential lines ...
1
vote
1answer
164 views

same fontsize in plot in revtex document as text

I am making a figure in PSTricks for a RevTeX document. A MWE of my figure is the following \documentclass{article}[28pt] \usepackage{pstricks, pst-node, pst-plot, pst-circ} \usepackage{moredefs} ...
1
vote
2answers
499 views

Using pstricks with beamer undefined color model

I am trying to use pstricks with beamer. However everytime I get an error message saying Package xcolor error undefined color model I have googled it and tried different solutions but none worked! ...
1
vote
1answer
74 views

Error in PSTricks in circuit macros

I am trying the same way to use circuit macros through the example from Mr. Peter Jan Randewijk (http://staff.ee.sun.ac.za/pjrandewijk/wiki/index.php/M4_Circuit_Macros). I have installed M4 support as ...
1
vote
1answer
138 views

Multiple pspicture environments breaks when using \pstMarkAngle

I have a pretty weird problem. If I use multiple pspicture environments in the same document, the first one gets rendered, but the other breaks. For example, \begin{pspicture}(-3,-3)(3,3) ...
1
vote
1answer
151 views

PSTricks, node in foreground

This is my code: \psmatrix[colsep=0.45cm,rowsep=0.8cm,mnode=circle] 1,2&&1,3\\ &[mnode=none]2,3,4,5$|$1\\ 1,5&&1,4 \ncline[linestyle=dashed]{1,1}{1,3} ...
1
vote
1answer
140 views

How to pass a node as the angle argument of \uput?

I am attempting to solve my own problem How to rotate the label such that its base line is parallel to the bisector? with the most elegant approach, i.e., passing a node as an angle argument of \uput. ...
1
vote
1answer
226 views

newcommand object not included in pstricks picture

I use to have old latex docs that included pstricks pictures. I had to define objects that I could reuse several times in the pictures and did this with a newcommand/def (and everything was fine). I ...
1
vote
1answer
142 views

How to concatenate a set of paths and a set of the reflected paths about a certain axis in a single \pscustom?

I want to draw a symmetric object made of a large number of points. To make the code cleaner, I want to use reflection technique. It means I just specify points on one side of the symmetrical axis, ...
1
vote
1answer
506 views

Missing text from boxes in block diagram (pst-sigsys/pstricks)

I am trying to make a block diagram using pst-sigsys/pstricks. The text however isn't in the boxes but is stashed on the left. I absolutely run out of ideas what might be causing it to happen. Any ...
1
vote
1answer
160 views

Is there a formula to setup the smallest rectangle enclosing a PSTricks grid and its labels?

I want to minimize the size of the red rectangle enclosing a PSTricks grid and its labels. How to do this? \documentclass{minimal} \usepackage{pstricks} \newpsstyle{gridstyle}{gridlabels=5pt} ...
1
vote
1answer
184 views

Highlighting/Bolding Tcircle elements

So I am using PSTricks PSTree package to build a tree using TCircle ... now I want to bold out some branches by making the lines of the circle and the connecting lines thicker ... can I do this ...
1
vote
0answers
66 views

How can I draw Indian horoscope charts?

I was wondering if Indian horoscope charts can be drawn in LaTeX. Here is one example: It has 12 divisions. And in each of the divisions there may be one or multiple Grahas with their corresponding ...
1
vote
0answers
13 views

How to install pstricks [duplicate]

I want to install PSTricks (I use Texmaker). I have downloaded the files from the following page: http://tug.org/PSTricks/main.cgi but nowhere do they say where the files should be copied or how the ...
1
vote
0answers
69 views

How to plot a diamond shape ball in LATEX [closed]

Let d:M \to \mathbb{R} be defined by d(X,Y)=|x_1-y_1|+|x_2-y_2| where X=(x_1,x_2), Y=(y_1,y_2) \in \mathbb{R}^2. This is called the Manhattan metric. Plot the unit open ball B with center at the point ...
1
vote
0answers
67 views

How to add two lines for \rput in radar chart [closed]

I'm able to draw radar chart using code mentioned below: \begin{center} \begin{pspicture}(-4,-4)(4,4) \psset{unit=1.2} \degrees[270] ...
1
vote
0answers
184 views

What about Kuvio for making diagrams? [closed]

Kuvio (Finnish for 'pattern') seems to be a very general tool for diagram making. Which are the major disadvantages? Why isn't it used more often (only one Q/A on the site seems to mention it)? Can ...
1
vote
0answers
28 views

Cannot load the “pstricks” option in mdframed package [duplicate]

I tried to frame texts in double lines following directions in the mdframed package manual. However, I cannot even load the mdframed package with the "pstricks" option. Following are my codes: ...
1
vote
0answers
40 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
72 views

Drawing knots with 8 crossings and labels [closed]

So for a project, I have to draw the knot diagrams of all alternating knots with up to 8 crossings and label the regions bounded by the knots. For knots with up to 7 crossings, I used PSTricks, ...
1
vote
1answer
197 views

Problem with \psshadowbox [duplicate]

Why doesn't this work? I think I've got all the packeges I need, and I've copied it from http://tug.org/pracjourn/2008-3/morales/morales.pdf. \documentclass[landscape,a0paper,final]{a0poster} ...
1
vote
0answers
65 views

How to align/wrapping pstricks figures and text [closed]

I´m trying to put easily 3 pstricks pictures in a row (or in a column). I was trying with wrapfigure with no success, so I found any info about subfigure... but I´m trying and LaTeX tell me: ...
1
vote
0answers
103 views

How to use visualcounters in latex? [closed]

I want to use Progressbar in my LaTeX document. I found some idea from the visualcounter module by Aditya Mahajan, but I don't know how to utilize that one. Because I am new to LaTeX, any one help ...
1
vote
0answers
136 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
21 views

Problems using pst-node/Undefined Control Sequence— PStricks [duplicate]

The code is: \documentclass{article} \usepackage{pstricks} \usepackage{pst-plot} \usepackage{pst-node} \usepackage{pst-circ} \usepackage{pst-text} \usepackage{pst-tree} \usepackage{pst-coil} ...
1
vote
0answers
175 views

Revisiting auto-pst-pdf Fundamental Problem (<jobname>-pics.pdf not created) [closed]

The code provided as an answer on this post used to work. To ease things, I reproduce it here, only in a more condensed form since I'm interested just in the PSTricks part -- the minted part working ...
1
vote
0answers
119 views

How to load pstricks private header files under MiKTeX? [closed]

Under MikTeX, the method to load private header files containing custom postscript macros seems to have changed. What is the current preferred method for including such macros? For years I have ...
1
vote
0answers
157 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 ...
1
vote
0answers
154 views

Improved PSTricks figure for everyone interested [closed]

First: This post might not be appropirate for this site, so feel free to close it if necessary. I have improved on the drawing by Thomas Söll from here and I thought someone might find it useful. % ...
1
vote
0answers
59 views

DVIView and PDFView [duplicate]

I have a problem, that when I use DVIview I get the correct picture but no result with PDFView. Maybe I don't use a necessary package or the problem in the pdf program in my computer! here is an ...
1
vote
0answers
87 views

To where/whom should I write for an invitation to create a tool for bullet graphs? [duplicate]

I was wondering if creating "bullet gauges" is possible in any LaTeX package, but I didn´t find any. In other question @Jake answered me with a solution for simple graphs in Is there any package to ...
1
vote
0answers
76 views

I get a bad result when creating my first simple image with PSTricks [duplicate]

I get a bad result when creating my first simple image with PSTricks. I get: 0 Errors, 2 Warnings but... bad results. What am I doing wrong? My files can be downloaded at ...
1
vote
0answers
28 views

How do import pdf pages when using latex-dvips-ps2pdf? [duplicate]

I would like to insert some pdf pages from a different file into the one I am working on currently. I understand that I can use the pdfpages package. However, I am using pstricks and therefore have ...
1
vote
0answers
171 views

TexLive 2012, Xelatex and pst-eucl [closed]

pst-eucl is doesn't seem to play very well with xelatex on OSX. I used it in the past with success, but it doesn't seem to want to play well with the TexLive 2012 installation when running on Mac. ...
1
vote
0answers
729 views

Book cover with pstricks [closed]

Why I get error with the color of the maroon box? (line 26) \documentclass[12pt]{article} % load the necessary packages \usepackage[paperheight=9in,paperwidth=13.24in,margin=0in]{geometry} ...
1
vote
0answers
325 views

PSTricks doesn't work in Linux [closed]

I'm tryng to compile in Linux (Ubuntu 12.04 + Texlive-full) a document using latex>dvips>ps2pdf. This document include graphics in .eps and has a pspicture code. When I compile this document in ...
1
vote
0answers
181 views

Problem with the pst-geo bundle [closed]

I have tried to compile the code in this example from Political map in LaTeX following the latex->dvips->ps2pdf sequence but in the very first stage (latex compilation) I got the error message ...
1
vote
0answers
108 views

want pdf picture to be smaller than one page [duplicate]

Possible Duplicate: How can I crop included PDF documents? I created a pdf file using PSTricks. It appears to occupy an entire page. When I included it in my LaTeX file using ...
1
vote
0answers
307 views

Matching raster graphics and PS colors [closed]

I have a need to match colors in the originaly raster EPS graphics and background color. Relevant parts of the code: \usepackage[dvipsnames,prologue,table]{pstricks} \usepackage{pst-text} ...