Questions tagged [pspicture]

The tag has no usage guidance.

-1
votes
1answer
69 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!!!
4
votes
3answers
156 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
74 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
313 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
80 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
141 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
33 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
116 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
62 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
135 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
834 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,...
3
votes
1answer
582 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
304 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
79 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
46 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
60 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
82 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
47 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
498 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
45 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
134 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
103 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
91 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
299 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
223 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
57 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
94 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
40 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
93 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
398 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
313 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
72 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
266 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
194 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
588 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
444 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
281 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
259 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
248 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
447 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, ...