Questions tagged [pspicture]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
29 views

Scatter Plotting an Image in a Pspicture with Polar-Type Coordinates

I would like to be able to direct an image from a fixed point in a pspicture to various locations in the picture individual specifying angles and radii from that point. Consider the code (which I ...
user avatar
  • 4,841
1 vote
1 answer
107 views

How to Give Stars a Glow Effect

Consider the code \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage{pstricks,psvectorian} \usepackage{color} \usepackage{...
user avatar
  • 4,841
10 votes
3 answers
472 views

How to Fill a Psvectorian Ornament with Color

I would like to be able to specify the fill color of a psvectorian image instead of having it filled with the background color. For example, if I would like, say, to color the image of the bird ...
user avatar
2 votes
1 answer
110 views

Draw an eye with an arc with tikz

I want to draw something like this : an eye with an arc. I started like this but I don't know how to continue \documentclass[reqno]{amsart} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw ...
user avatar
  • 539
1 vote
1 answer
36 views

How to Adjust the Kerning to the Left of a Cabin Font Apostrophe within a Pspicture

Consider the following code which is run with XeLaTeX: \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage{pstricks,psvectorian} \...
user avatar
  • 4,841
3 votes
1 answer
82 views

Are the Beige Fillcolors of These Two Pspictures Different; i.e., Picking Up the Hue of the Default Color?

Consider the following code which compiles with Xelatex: \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{pstricks,psvectorian} \usepackage{scalefnt} \usepackage{xcolor} \...
user avatar
2 votes
3 answers
64 views

Remove or Change Color of a Pspicture Border

Consider the code (which compiles with XeLaTeX): \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage[usenames,dvipsnames,svgnames,...
user avatar
1 vote
1 answer
624 views

PStricks doesn't compile anymore since MacTeX 2021 upgrade on Mac M1

Since the MacTeX 2021 upgrade, the documents with PStricks code don't compile anymore like it used to do with the previous MacTeX 2020 distribution on a Mac with M1 chips. To be more accurate : I do ...
user avatar
  • 23
-2 votes
2 answers
61 views

Need help for a picture please (II) [closed]

I know that I should learn TikZ... I'd need help for this very simple picture (there are two colors red and blue, it's an illustration for an argument, the case depicted is n=3). I would be very ...
user avatar
1 vote
1 answer
38 views

Why does this simple pspicture fail to compile?

A long time ago, I draw this (and many other) simple pspictures. I have been trying to compile them again in order to modify them, only to find that now they all fail to compile. I do not know what ...
user avatar
  • 2,037
1 vote
1 answer
93 views

How to draw Aston curve using TikZ?

Is there any possible way to draw Aston curve without using \begin{pspicture}, because here in this website they used it but I didn't get their method, here's the code they've used : \documentclass{...
user avatar
  • 1,038
0 votes
1 answer
63 views

Need help for a picture please

I would be very grateful if someone could help me to make this picture or something close: The three arrows are between $0$ and $3/9$, $2/9$ and $7/9$ and finally $6/9$ and $1$. The rectangle on the ...
user avatar
2 votes
1 answer
77 views

How to show complete picture in standalone class?

Attached code is a letter 'M' (one of) from a logo. It turns out that the letter comes outside the boundary. How can I get a preview of the whole? Is the space limited within the standalone class? And ...
user avatar
  • 21
0 votes
2 answers
37 views

Why is the diagram not coming (though it does not throw any error)?

\begin{document} %\begin{TeXtoEPS} \begin{pspicture} \begin{figure} \psscalebox{1.0 1.0} % Change this value to rescale the drawing. { \begin{pspicture}(0,25.15)(11.7,27.25) \psframe[linecolor=black, ...
user avatar
0 votes
1 answer
104 views

inconsistent pdf eps output: pst2pdf acting on original.tex vs pdflatex acting on pst2pdf original.tex->produced.tex(multiple)

Following "The current state of pstricks project" (Herbet Voss, TUGboat, Vol31 (2101), no.1) I prepared a file unitz.tex containing 3 pspicture. \documentclass{standalone} \usepackage{pstricks} \...
user avatar
  • 51
0 votes
1 answer
217 views

How to add a picture in TeX (a jpeg)? [duplicate]

I saved the jpeg file in the same place where all my TeX files are placed at; which commands should I be using to make the pic appear? I am using Bakoma TeX 11.85, but I believe it's the same in ...
user avatar
  • 185
0 votes
1 answer
54 views

How can I reproduce this image in a simple way?

I need to draw this simple scheme in latex, how would you do it in a simple way ?
user avatar
1 vote
2 answers
97 views

How to fill a delimited space between curves using pspicture

Just as the title said I need to fill some space in different figures (created using pspicture) but I do not know how to do it when the space is not delimited by straight lines. In that case I use \...
user avatar
  • 340
1 vote
1 answer
350 views

About pspicture: different fillstyle in \pspolygon

I'm currently working on some graphs using pspicture and I have a very specific requirement. I have a polygon (\pspolygon) to cover an specific area in cartesian plane but I use \pspolygon[fillstyle=...
user avatar
  • 340
0 votes
0 answers
193 views

Create Specific Almost-Block Matrix Structure

I am having trouble creating the following matrix. I have tried the techniques in several posts here but can't get a good result. The best option seems to be the nicematrix package, but I'm using the ...
user avatar
2 votes
3 answers
141 views

My paper was accepted with all tikz pics, but now editors say all pics need to be PNG/JPG etc

My paper was accepted with all tikz pics, but now editors say all pics need to be PNG/JPG etc. What is the best way to do it? These pictures are both in figures and picture equations. So there are a ...
user avatar
  • 21
2 votes
1 answer
90 views

Intersection of a paraboloid and plane

Intersection of a paraboloid and plane in pspicture?
user avatar
  • 107
-1 votes
1 answer
89 views

How do you draw this picture in tikz?

How do you draw these two images in LateX with tikz? Note that D_R and K_R are slightly shaded. Thank you very much!!!
user avatar
5 votes
3 answers
227 views

Problem with tkz-tab and its the PSTricks package equivalent

My code:(use tkz-tab) \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amssymb,newcent} \usepackage{tkz-tab} \begin{document} \begin{tikzpicture} \tkzTabInit{$x$ /1, $g'(x)$ /1, $g(x)$ /3.5} ...
user avatar
2 votes
2 answers
89 views

A Problem in Running Pspicture Environment

My problem is: I drew a picture in Latexdraw software and when I run the latex code of my picture in my editor, lots of errors made. I use TexLive 2017 and my editor is bidiTexmaker. My code is: \...
user avatar
  • 157
5 votes
3 answers
2k views

Please explain the operator of \rput command in the following code:

\begin{pspicture} \psgrid[gridcolor=gray,subgridcolor=lightgray](0,0)(5,5) \rput[bl](0,1){bottom left (0,1)} \rput[tr](5,1){top right (5,1)} \rput[t](2,2){stuff1} \end{pspicture} I think it :
user avatar
1 vote
0 answers
223 views

I can't compile code that use PSTRICKS

I'm having issues trying to compile code that use the package "pstricks". When I compile the next code (which can be found here) with Xelatex: \documentclass[pstricks,crop]{standalone} \...
user avatar
3 votes
2 answers
313 views

How to design a galvo-scanner to re-direct a beam

I am trying my hands at pst-optexp package and ... The following is the optical setup I am trying to design. So far my approach is to design the flow by tracing the beam path sequentially. I am ...
user avatar
  • 1,441
0 votes
2 answers
45 views

Spacing between text under picture

Hei guys! I got two pictures beside eachother, and I need to separate the text under the pictures. Any tips? Code: \begin{figure}[hbp] \centering \begin{minipage}{.45\textwidth} \...
user avatar
2 votes
1 answer
180 views

Emergency stop with automatically generated pspicture

I have to show up with several cdx files in my document. I didn't find a ChemDraw handling package for LaTeX, so I took the cdx files converted to pdf and imported them in inkscape, which I then could ...
user avatar
  • 463
1 vote
0 answers
148 views

Externalizing pspicture by nesting it into tikzpicture

I'd like to externalize upwards of a thousand graphics using pstricks (these graphics are all internal between the body text), and decided the external library of the tikz package was the way to go. ...
user avatar
  • 111
1 vote
1 answer
368 views

Add arrows on parametricplot

Hi i'm trying to add the red arrows on the curves, I got arrows on the line with ArrowInside, but on the parametricplot coundn't get it. \psset{arrowscale=2,ArrowFill=true} \begin{pspicture}(-5,-4)(...
user avatar
7 votes
3 answers
1k views

Arrows on Circle

Hello i'm trying to get the arrows on the circles \documentclass{article} \usepackage{pstricks} \usepackage{pst-all} \begin{document} \begin{pspicture}(-4,-4)(4,4)\grilla \psaxes[linewidth=1.2pt,...
user avatar
4 votes
1 answer
2k views

Getting "xdvipdfmx:fatal: File ended prematurely" error while using pspicture

I'm using TeXLive2016 on macOS 10.12 with TeXstudio 2.12.6. While compiling files containing pspicture with XeLaTeX I get this message: xdvipdfmx:fatal: File ended prematurely Output file removed. ...
user avatar
  • 215
2 votes
1 answer
657 views

Caption does not work with pspicture

I would like to include a caption below a tree drawn using pspictures. Here is my code. \documentclass[12pt]{article} \usepackage{pst-pdgr,pstricks,pst-pdf,graphicx} \usepackage[top=2cm, left=2cm, ...
user avatar
-1 votes
1 answer
112 views

Problem with pspicture inside a poster

I have a trouble to add a pspicture into a poster: \documentclass[a0,portrait]{a0poster} \usepackage{multicol} \columnsep=100pt \columnseprule=3pt \usepackage[svgnames]{xcolor} \usepackage{times}...
user avatar
1 vote
1 answer
58 views

Weird lines when using psplot and pspicture*

I've run into a problem when using psplot in combination with pspicture*. An example: \documentclass{article} \usepackage{pst-plot} \begin{document} \begin{pspicture*}(-2,-2)(2,2) \psplot{-2}{2}{x 2 ...
user avatar
3 votes
2 answers
72 views

\rput for RTL language

How can i use \rput for farsi? for example, I write this: \documentclass[a4paper,10pt]{article} \usepackage{pstricks} \usepackage{tikz} \usepackage{xepersian} \settextfont[Scale=1.5]{IRYakout} \...
user avatar
1 vote
1 answer
134 views

Difficulty with PSTricks: Dataplot and Beamer

I am having difficulty using Dataplot for a beamer document. My code works for an article document class. I have an examples below. I am compiling with XeLaTeX. Any help would be great. Thanks! This ...
user avatar
0 votes
1 answer
52 views

Using m-column with PsPicture

According to an older post (see here) I'm trying to center a PsPicture inside a cell. The code I used before (raisebox{0pt}[\height]{...}) doesn't seem to work for this picture as the space above and ...
user avatar
  • 489
3 votes
2 answers
905 views

How does the pspicture positioning work in a page?

I'm having trouble positioning a psframe inside a page with a specific size and it looks like the whole pspicture is shifted in the page. This is a MWE of my code \documentclass[border={0pt 0pt 0pt ...
user avatar
  • 905
2 votes
1 answer
76 views

Centering a pspicture vertically inside tabular

How can I center the pspicture vertically inside the cell? Using m-type-cell doesn't work. \documentclass[a4paper,DIV=15,oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc}...
user avatar
  • 489
2 votes
2 answers
266 views

PsPicture inside tabular

When using PsPicture inside a tabular, aligning the picture to the top works fine using \raisebox{} as shown in tabular no. 1. I archieved additional space under the picture using \vspace. (Is there a ...
user avatar
  • 489
0 votes
1 answer
174 views

Align PsPicture to the top in minipage

In the following MWE, I would like to align the pspicture to the top of the text. Using raisebox{-\totalheight+.5\baselineskip} seems to work, but still there's a small gap. How can I remove it? \...
user avatar
  • 489
0 votes
0 answers
34 views

how to create such pictures and text inside them [duplicate]

Could anyone help me, I need exactly this
user avatar
  • 247
1 vote
1 answer
172 views

Out of shape and shape's color

How can I change the color of the places in the picture? Please help me.
user avatar
0 votes
1 answer
440 views

Absolute positioning of pspicture

I am using pst-barcode to create qr code on page. I would like to be able to put a different qr code on every even page at the same place. I have no clue how to enforce absolute location of pspicture. ...
user avatar
  • 151
4 votes
1 answer
265 views

Problem with \pspicture in a simple plain TeX code

Just writing the following very simple program I had some problems. I use to write in plain TeX and in this case I tried to make a picture with PSTricks and first of all sized it with \pspicture. The ...
user avatar
  • 91
0 votes
1 answer
75 views

A picture and text in a table aren't on the same level

Good afternoon I have got one table (longtable). This table has many rows and three columns only. In 1st column is flag (picture, jpg) and other columns are some text. My problem is with the text - ...
user avatar
3 votes
0 answers
120 views

Rendering a pspicture inside another document

I have a C++ program that generates a PDF via LaTeX by writing the data to stdout and piping to pdflatex -shell-escape. The template looks like this: \documentclass[letterpaper,12pt]{article} \...
user avatar
  • 31