Questions tagged [pspicture]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 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} \...
0
votes
1answer
39 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 ...
0
votes
1answer
49 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 ?
1
vote
2answers
67 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 \...
1
vote
1answer
51 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=...
0
votes
0answers
73 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 ...
2
votes
3answers
120 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 ...
2
votes
1answer
47 views

Intersection of a paraboloid and plane

Intersection of a paraboloid and plane in pspicture?
-1
votes
1answer
78 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!!!
5
votes
3answers
192 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} ...
2
votes
2answers
77 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: \...
5
votes
3answers
807 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 :
1
vote
0answers
122 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} \usepackage{...
2
votes
2answers
214 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 ...
0
votes
2answers
39 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} \...
2
votes
1answer
140 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 ...
1
vote
0answers
88 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. ...
1
vote
1answer
221 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)(...
7
votes
3answers
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,...
4
votes
1answer
979 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. ...
2
votes
1answer
455 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, ...
-1
votes
1answer
95 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}...
1
vote
1answer
51 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 ...
3
votes
2answers
68 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} \...
0
votes
1answer
106 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 ...
0
votes
1answer
50 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 ...
2
votes
2answers
658 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 ...
2
votes
1answer
54 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}...
2
votes
2answers
184 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 ...
0
votes
1answer
125 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? \...
0
votes
0answers
31 views

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

Could anyone help me, I need exactly this
1
vote
1answer
106 views

Out of shape and shape's color

How can I change the color of the places in the picture? Please help me.
0
votes
1answer
346 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. ...
4
votes
1answer
243 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 ...
0
votes
1answer
62 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 - ...
3
votes
0answers
106 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} \...
2
votes
1answer
43 views

False .52 over x-axes in pspicture

I was trying to make a pspicture with custom labels on the x-axes. Unfortunately the value, I am trying to let the y-axes start with, is displayed above the x-axes. Does anybody know why? \...
0
votes
1answer
98 views

pspicture-eps picture

I am having problems to compile eps picture and pspicture to Pdf simultaneously. I am using Miktex 2.9-winedit32. I tried Latex-dvips-pspdf and it gives me an error. I would like to know if there is ...
2
votes
1answer
444 views

Pspicture is not centered

I am trying to print a pspicture as a subfigure in a figure. Here is the code: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{subfigure} \usepackage{...
3
votes
1answer
330 views

Parametric surfaces with dependent parameters

I'm trying to create an image that shows (for example) the portion of a standard cylinder (\cos(v),\sin(v),u) that lies between the planes z=0 and z+y=5. Generating the cylinder itself is not an ...
1
vote
0answers
73 views

What is the best way to draw something over an included graphic?

I want to show a frame containing a dog, a cat and a rabbit one by one. Totally three pictures. So naturally, I would draw the frame first, save it to a PDF or an EPS, and include it three times, with ...
0
votes
1answer
309 views

Text alignment in clipped parbox

I have the following problem: I need to put variable length content into a fix-sized parbox the gets clipped with clipbox command. And want the content to be vertically centered. As long as the ...
0
votes
1answer
231 views

pspicture alignment

How can I align these three pspictures so the first two are on the same line and the third is under them ,aligned to the left? \begin{figure}[ht!] \psscalebox{1.0 1.0} % Change this value to rescale ...
3
votes
2answers
738 views

Fill colour for ring (pstricks)

I have a drawing for a cylinder and have filled in the ring section with light gray. However, because my background is light orange, the image turns out to be a bit weird. Here is the image: Here ...
-1
votes
1answer
570 views

How to insert pspicture in article

I unable to run the following code. How to resolve it. Now i am using Miktex 2.9. and Winedt. Kindly help me to resolve it. \documentclass[a4paper,12pt]{article} \usepackage{layout} \usepackage{...
0
votes
1answer
325 views

Table & pspicture

My table and pspicture seems to be conflicting. \documentclass[12pt]{book} % Default font size \usepackage{pstricks-add} % for geogebra \usepackage{tabularx,array,booktabs} % for stretching ...
0
votes
2answers
298 views

How to make a diagram of the Petersen graph using pstricks

How do I make an equilateral star inside a pentagon?
1
vote
0answers
260 views

Picture format eps for LaTeX

I would like to create pictures in (.eps) format in order to use it with LaTeX, but I do not know which software can be used to create picture in (.eps) format.
5
votes
3answers
2k views

Arrows in picture environment

i constructed using the picture environment a simple Dynkin diagram of type A_n, which looks like : o---o---o ... o---o---o I would like to connect the first and last vertices of this diagrame with ...
3
votes
1answer
489 views

Text and picture top-aligned, where text is left-aligned and picture is right aligned

Using the answers from this sight, I tried to accomplish top-aligned text and image where text would have to start from the left side of the page, and picture would be at the right side. However, ...