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

0
votes
0answers
280 views

psframe “ Undefined control sequence” [duplicate]

I am trying to create a book cover by using PSTricks. I follow the source from here :http://tug.org/pracjourn/2007-1/robbers/robbers.pdf (page 22). When I compile, it annouces the error that : ! ...
2
votes
1answer
134 views

pst-eucl bold labels and arc sizes

I got a couple of questions about pst-eucl. How can I make a point label bold? I've tried the following permutations \pstGeonode[PointName=\textbf{A}](1,1){A}(-1,-1){B} \pstGeonode[PointName={\bf ...
1
vote
0answers
172 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
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) ...
17
votes
2answers
432 views

What to do with 237 eps files?

I have some 237 .eps files that represent the printer's ornaments from the small press The Underground Grammarian. I would like to build and provide (to CTAN) a package similar to the pgfornament ...
4
votes
1answer
2k views

How to use pstool in pdfLatex?

Update: After I adding those --shell -escape commands, when I run the code as below, it still cannot work. \documentclass[pdftex]{memoir} \usepackage{color} \usepackage{pstool} \input macros.tex ...
23
votes
1answer
943 views

More elegant way to achieve this same camera perspective projection model?

I just finished a camera perspective projection model using TikZ. Although, while I'm pretty satisfied with the result, it took me a lot of time to do it. It's easy to see from the code below that I'm ...
6
votes
1answer
102 views

Conflict between xparse and pstricks: pstricks doesn't believe xparse function is defined

I want to create a pspicture with a variety of parameters which are interdependent. I'm using expl3 for the interface. But I get an error when I try to use \getr Error: /undefined in \getr Operand ...
9
votes
1answer
531 views

Contour plots with PSTricks

I'd like to use the PSTricks functionality to get the contour plots of 3D surfaces (more precisely, corresponding to functions z = f(x,y) from R^2 to R). Since, to the best of my knowledge, there is ...
7
votes
1answer
132 views

Put a pstricks cover at the beginning of a file without affecting the rest of it

I have two files. One is a pstricks cover. The other is the interior of the book. They both are fine on their own. I would like to put the code for pstricks cover on the first page of the pdf and ...
2
votes
4answers
2k views

PSTricks will not compile

\documentclass[12pt]{article} \usepackage[paperheight=9in,paperwidth=13.24in,margin=0in]{geometry} \usepackage{pstricks} \usepackage{graphicx} \begin{document} \thispagestyle{empty} \psset{unit=1in} ...
26
votes
2answers
2k views

Making a Calendar for TUG

This question is triggered by a post from Peter Wilson in comp.text.tex`. Peter wrote: TUG members produced a calendar for 2012 and, if I remember correctly, for some previous years as well. I really ...
4
votes
1answer
332 views

powerdot/pstricks for local typesetting mode in Texpad iOS?

I use powerdot to typeset my presentations. Has anybody got experience with running powerdot/PStricks on the local (Ker)TeX environment coming with Texpad (local typesetting mode)? Is this possible, ...
5
votes
1answer
297 views

Strange behavior of mdframed with pstricks as framemethod

I load the mdframed package from a class of my own with the line \RequirePackage[framemethod=pstricks]{mdframed} When using the XeLaTeX engine I get a strange behavior from the mdframed environment ...
5
votes
2answers
545 views

How to hide grid labels without redefining the grid style?

I want to hide the grid labels without redefining the grid style, is it possible? Note: Redefining the grid style only for hiding the grid labels seems to be an overkill solution. ...
18
votes
1answer
744 views

Drawing of a helix

On this blog I found a 3D drawing of a transformer by Thomas Söll. After a few changes, I have the following code: \documentclass{article} \usepackage{pst-solides3d} \usepackage{expl3} % ...
6
votes
3answers
580 views

Putting a coloured background behind text without adding whitespace

Consider this: I want to be able to highlight text like this without adding space around it -- so each word in the first line should line up with the corresponding word in the second line. (I know ...
7
votes
1answer
399 views

Custom style for \listplot or \dataplot

Is it possible to make custom style for \listplot and friends? By default they support only plotstyle=curve, line, bezier, and I need to use bspline from pst-bspline package. ...
9
votes
1answer
98 views

psmatrix with two ncboxes in it

Can somebody help me to generate two overlapping boxes in a psmatrix? What I need is an ncbox from {3,3} to {8,8} and one from {3,3} to {3,8}. I know it's possible to draw them in a separate figure, ...
7
votes
1answer
466 views

Transparency with psSurface in pst-solides 3D

I'm trying to draw a graph with pst-solides3D with the option psSurface : The problem is as follows : I want to draw z = +/- (y^2-y^2), which should give a saddle-point graph with the lines x=y and ...
9
votes
1answer
504 views

PSTricks: charpath on a curve (like textpath)

I am interested in drawing a specially rendered text on a curve. The LaTeX package pst-text provides a function to draw text on a curve (pstextpath) and a function to specially render text ...
0
votes
0answers
49 views

Array of linked list [duplicate]

Possible Duplicate: array of linked lists I want to implement an array of linked lists in latex: the array elements are the numbers{1,2,3} and every number in the array is ahead of linked ...
6
votes
2answers
242 views

pstricks drawing has overlap with text

The following code produces a figure that has overlap with my text in LaTeX. It seems as if latex doesn't create a space for this figure. Can anybody help me with it? ...
10
votes
1answer
308 views

unattractive additive effect to opacity with pstricks

I'm using pstricks to highlight by boxing or circling replacement text in my math equations. But, I don't want this highlighting to occlude what's behind it. So, I've been setting opacity or ...
3
votes
0answers
275 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 ...
4
votes
1answer
549 views

\psmatrix baseline

I'm using lingmacros' \enumsentence with a \psmatrix inside. \enumsentence{ \psset{linewidth=.5pt} \begin{psmatrix}[rowsep=.2cm,nodesep=.05cm,colsep=.1cm] &\rnode{gm}{grammatical morphemes}\\ ...
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} ...
28
votes
3answers
2k views

How can I draw nucleosomes with wrapped DNA in tikz or pstricks?

The nucleosome is the fundamental unit of DNA packing in cells, and I am trying to generate some figures for regular use in manuscripts and presentations. The nucleosome is commonly abstracted to a ...
1
vote
1answer
180 views

Auctex previews

I am using PSTricks and trying to generate an inline preview with auctex for part of a document. This works fine if I surround the whole thing in $ signs like $ \begin{pspicture} ... ...
36
votes
5answers
2k views

Please improve my logo to resemble our TeX.SX logo

It is free to use TikZ or PSTricks to answer my question. I want to recreate our TeX.SX logo. But my attempt is far from perfect. Please help me to make it more similar to the original one. ...
5
votes
1answer
127 views

Locally shift everything by 0.5 to the left in PSTricks

Is it possible in PSTricks to locally shift "everything" by 0.5 to the left? For example, in the MWE below I would like to shift the "y" to the left, so that its new coordinates are (1.5,2). Of ...
4
votes
2answers
148 views

Image undesired displacement using pstricks

The following code: \documentclass[letterpaper]{article} \usepackage{amsmath,amssymb,xcolor} \usepackage{pst-all} \usepackage{lipsum} %\usepackage{pstricks} \begin{document} \lipsum[1-2] ...
4
votes
1answer
311 views

Differing left and right axis labels in psplot

This question is related to psgraph with y-axis on left and right of graph and axis labels but can stand alone, as it is really about loops and variables. I'm really sad that I have to ask this ...
5
votes
1answer
263 views

Translate tikz arrow tips to pstricks

I have a document which contains tikz pictures and pstricks pictures which both contain lots of arrows. Usually I use tikz to do my own stuff but I got the pstricks pictures from another source and ...
3
votes
0answers
317 views

Pst-Solides3D Transformation of a Cube with parameter [closed]

I'm working on the example given at 4.14.3. in the documentation on Pst-Solides3d : Transformation associated with the distance to the origin. The code is as follows ...
7
votes
2answers
559 views

auto-pst-pdf produces a confusing error message

Actually I don't want to use auto-pst-pdf forever. But Harish Kumar (in his comment) requested to use it for the sake of simplicity. I tried it several decades ago and it did not work. The MWE below ...
4
votes
2answers
479 views

Replacement for \curveto in the tikz library - Inkscape export svg to tikz

I need to draw a complex curve and I wanted to help a vector program Inkscape. In first step I tried to use Inkscape to TikZ exporter (http://code.google.com/p/inkscape2tikz/)to convert curve to tikz, ...
5
votes
2answers
242 views

How to write some texts in this picture?

I have a file \documentclass[10pt]{article} \usepackage{pstricks-add} \usepackage{esvect} \pagestyle{empty} \begin{document} \psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt ...
2
votes
1answer
226 views

conflict with pst-tree and align: auto-pst-pdf problems?

There appears to be a problem when using the pst-tree package together with the align environment and pdflatex (dvi-ps-pdf works, but there are reasons for me not to use it). Attached is a code ...
5
votes
1answer
431 views

How do I remove tick labels in latex using pstricks?

On my old Mac running OS 10.4.11, using TeXShop 2.26 I would use the pstricks package to draw figures. In those figures I had neither tick marks nor tick labels. I have recently switched to a new ...
5
votes
1answer
379 views

Hacking Animate

While babysitting my kids yesterday I played little bit with one of my favorite LaTeX package PSTricks. Naturally I started toying with something more "advanced" so a toyed a bit with animations. On ...
3
votes
1answer
484 views

psgraph with y-axis on left and right of graph and axis labels

I'm attempting to plot two quantities on one graph each with their own vertical axis. I've got as far as the MWE below but am stuck on two problems. Can I make the right hand axis have the same line ...
7
votes
1answer
263 views

My compilation produces a result that is not the same as what the author got

I tried the following code \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}[solidmemory](-6.5,-3.5)(6.5,3) \psset{viewpoint=30 0 15 ...
6
votes
1answer
652 views

What packages or tools best support any 3D line, plane, surface intersections?

I have not explored the PSTricks' pst-solides3d, TikZ's equivalent packages, Asymptote as a tool, etc, yet. I have a task to make some simple 3D diagrams that are related to 3D geometry subject we ...
5
votes
1answer
275 views

Memoir showtrims breaks auto-pst-pdf

I have set of large documents that need to go to printers and I want to show the trim edges. I'm using a large number of pstricks images in the documents (these are science and maths textbooks) so I'm ...
10
votes
4answers
1k views

Drawing the mapping of elements for sets in LaTeX

I am looking for a way to do something like
4
votes
2answers
590 views

Best option to create vector graphics with LaTeX labels

I would like to create some vector graphics for my LaTeX documents. The graphics would often contain mathematical expressions that would should be typeset using LaTeX. As far as I know, my best ...
14
votes
3answers
587 views

Is there a formula to determine the maximum value arcsepB such that the arrow head looks best?

I want to put an arrow head at the middle of an arc. Unfortunately, ArrowInside is not available for \psarc. The possible way is to construct it with 2 arcs as follows. Leaving arcsepB with its ...
17
votes
3answers
1k views

How to draw these diagrams (closed contours) using TikZ or PSTricks?

First, I must say I have no knowledge about PGF/TikZ nor PSTricks, but I would like to draw the following or similar closed contours using one of them or another adequate package. Where can I find the ...
17
votes
4answers
2k views

How can I draw a transparent cube in 3D perspective?

I would like to draw a transparent, `flattened cube' in perspective with dotted lines from both vanishing points to each of the vertices of the 3D solid. Is there a PSTricks package for this? It is ...