14
votes
2answers
585 views

Color gradient fill between three corners of a triangle

Updates Update1: Tried to implement solution by Harish Kumar (below) Update2: Added a real example of what I would like to get in the end. I have a feeling I tried to leave to many things out. ...
2
votes
1answer
89 views

Scaling color in PStricks?

Is there a way to scale/remap/transform the colors in a pstricks picture? More detailed: I have some pstricks code which uses grayscale colors. I want to remap the colors from [0,1] to [a,b], where 0 ...
5
votes
1answer
95 views

Overlapping colour filling with PSTricks

Consider the following diagram: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[margin = 2cm]{geometry} \usepackage{pstricks} \usepackage{rotating} \usepackage{microtype} ...
2
votes
2answers
170 views

How to change the label color of \psaxes?

\documentclass[pstricks,border=12pt,12pt]{standalone} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-5,-1)(5.5,5.5) ...
14
votes
1answer
463 views

Color gradient filling along a path

I want to make the gradient color to follow the pipe curve below rather than to span from the left to the right. The following MWE shows the default behavior which is not what I'm looking for. ...
6
votes
1answer
377 views

PSTricks and Tikz in plain TeX

I would create both pstricks and tikz picture in my plain TeX documents. If I try, I get an error, maybe caused by the use of the xcolor package. The error is the following: \\color@black ...
4
votes
1answer
92 views

Strange color in PSTricks

I draw a figure in pstricks, the code is here: \documentclass{minimal} \usepackage[dvipsnames]{pstricks} \definecolor{bg}{cmyk}{0,0,0.1,0} \begin{document} ...
3
votes
1answer
229 views

Issue on pdf(La)TeX with named colors in dvipsnames

When compiled on pdfLaTeX, the following code (and MWE) returns a PostScript error message: \documentclass{article} \usepackage[dvipsnames]{xcolor} \usepackage{pstricks} ...
1
vote
2answers
456 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! ...
10
votes
2answers
214 views

monochrome and pstricks

I am creating a file type images for presentation / written, I have been interested in the monochrome package xcolor, but by using it I have not obtained the expected results, check the documentation ...
2
votes
4answers
1k 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} ...
7
votes
1answer
431 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
1k views

How to use CMYK-Colors in the whole document

I found out, that my color laser printer prints graphics with gray color in RGB-Representation instead of using black (they are more red then gray). So it seems, that PDFLaTeX is creating ...
1
vote
0answers
665 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} ...
2
votes
1answer
211 views

unknown colors using fcol (pst-solides3d)

I am using the pst-solides3d package to draw polytopes in the following way: \begin{pspicture}[showgrid=false](-2,-0.5)(1.5,2.7) \psset{viewpoint=26 10 5,Decran=60} \psSolid[object=new, ...
1
vote
0answers
300 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} ...
6
votes
3answers
444 views

Force auto-pst-pdf or pst-pdf to work with xetex

Is it possible to force auto-pst-pdf or pst-pdf to create PDF images and include them if I’m using xelatex? Background I have to typset a Book that needs OpenType fonts so I choose xelatex. The ...
3
votes
2answers
619 views

pstricks and beamer - problem maybe with xcolor?

While creating beamer slides in our comporate design (which forced me using own colors) I got the following problem: Having a PS-Tricks image within a frame seems to collide with my own color setted ...