9 votes

How to Fill a Psvectorian Ornament with Color

You could try an overlap with a very slight kern, perhaps. MWE \documentclass[12pt]{book} \usepackage{pstricks,psvectorian} \usepackage{color} \begin{document} \thispagestyle{empty} \begin{...
Cicada's user avatar
  • 10k
7 votes

How to Fill a Psvectorian Ornament with Color

For fun with Asymptote. Run with asy -f pdf <file name>.asy. Update settings.tex="xelatex"; usepackage("pstricks"); usepackage("psvectorian"); path[] g=texpath(&...
Nguyen Van Chi's user avatar
6 votes

Arrows on Circle

Also with tikz: \documentclass[border=2pt]{standalone} \usepackage{tikz} \usetikzlibrary{decorations.markings,bending} \begin{document} \begin{tikzpicture}[>=latex,line width=.7pt] \draw (...
AboAmmar's user avatar
  • 46.1k
6 votes
Accepted

How to Give Stars a Glow Effect

Here is an idea using tikz and fadings. The command \glowstar[<size>]{x,y} called inside a tikzpicture will make a glowing star at the given coordinates. \documentclass{article} \usepackage{...
Sandy G's user avatar
  • 39k
5 votes
Accepted

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

The optional argument for \rput[<refpoint>](x,y){<stuff>} provides the reference point (or anchor) for <stuff>. So, using \rput[tl](x,y){<stuff>} puts the top left corner of &...
Werner's user avatar
  • 598k
5 votes
Accepted

Problem with tkz-tab and its the PSTricks package equivalent

For your first question, is this what you want? Note I replaced $\dfrac{1}{4}$ with $\mfrac{1}{4}$ (medium sized fraction from nccmath) , as I think that, used as a numerical coefficient, it looks ...
Bernard's user avatar
  • 270k
5 votes
Accepted

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

MacTeX-2021 installs Ghostscript 9.53.3 and pstricks want to create a transparent background which is no longer allowed by default by ps2pdf. You must add the -dAllOWPSTRANSPARENCY flag to the ps2pdf ...
Herb Schulz's user avatar
  • 3,355
5 votes
Accepted

Draw an eye with an arc with tikz

OK, so here we go. Since I don't really know what you need, I'll give it a try. \documentclass[tikz, border=3.14mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[...
SebGlav's user avatar
  • 19.1k
5 votes

How to Fill a Psvectorian Ornament with Color

\psvectorian[width=2.1cm,color=red]{57} is the right way to change the line color. However, there is no fillcolor because nearly all symbols have no closed curve!
user187802's user avatar
  • 16.4k
5 votes
Accepted

Trying to Entirely Fill a 5.5 x 8.5 Book Cover with Color

Try this code. The pspicture environment starts a new (indented) paragraph. To suppress it add \noindent before. \documentclass[12pt]{book} \usepackage[hmargin=0in,vmargin=0in,paperwidth=5.5in,...
Simon Dispa's user avatar
  • 38.5k
4 votes

Problem with tkz-tab and its the PSTricks package equivalent

You can use the new tablvar package (documentation in French): \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amssymb} \usepackage[tikz]{tablvar} \begin{document} \[ \begin{tablvar}{4} \...
egreg's user avatar
  • 1.1m
4 votes

Need help for a picture please (II)

A shorter answer using nodes on the fly. And the possibility of changing the value of n. \documentclass[tikz,border=3.141592mm]{standalone} \usepackage{amsmath} \begin{document} \def\n{3} \...
SebGlav's user avatar
  • 19.1k
3 votes

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

The easiest way to get a custom reflective component is using the \opttripole macro, where you can define whatever you want: \documentclass[margin=12pt]{standalone} \usepackage{pst-optexp} \begin{...
Christoph's user avatar
  • 16.6k
3 votes

Problem with \pspicture in a simple plain TeX code

Let's see the relevant code in pstricks.tex as found in TeX Live 2014, near the end (with [...] I denote code that's unimportant) \def\endpspicture{% [...] \if@star\setbox\pst@hbox=\hbox{\clipbox@...
egreg's user avatar
  • 1.1m
3 votes

How to show complete picture in standalone class?

The code is completely rubbish! You used a graphical program which exports this crazy code. Using \curveto for line segments is nonsense. However, the coordinates for pspicture were wrong: \...
user187802's user avatar
  • 16.4k
3 votes
Accepted

How to draw Aston curve using TikZ?

Use \foreach with two variables like \foreach \x/\y in {x1/y1,x2/y2...}. The list on graph plot below is copied and edited to be on format "x/y," instead of "x y". Output: Code: \...
Miguel V. S. Frasson's user avatar
3 votes
Accepted

Why does this simple pspicture fail to compile?

Despite the name, the package pspicture has nothing to do with the environment of the same name. A quick internet search of the macros shows that you need the package egameps, which in turns need ...
campa's user avatar
  • 29.9k
3 votes
Accepted

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

You have to control the color definitions of the predefined colours. An RGB Beige is not the same as a CMYK Beige. PSTricks itself and xcolor use by default rgb, if not defined. try \usepackage[...
user187802's user avatar
  • 16.4k
3 votes
Accepted

How to Draw a Colorized Isoceles Trapezoid within a Pspicture

This is vert easy with the \pspolygon* command: \documentclass[12pt]{book} \textheight=8.75in \usepackage{xcolor,pstricks} \begin{document} \thispagestyle{empty} \psset{...
Bernard's user avatar
  • 270k
3 votes

Colorizing a Norman Window Image Embedded in a Pspicture

Natural steps: Put the image on the bottom layer Put the window frame on the top The most important concept is in the window frame. The transparent region is due to even-odd rule. The pspicture* ...
Display Name's user avatar
  • 46.6k
3 votes
Accepted

Pspicture to Cover the Entire Page

The page size is defined by geometry and is exactly 4x6 inches as seen in the properties of the pdf file. An easy way to place a 4x6 inch figure in the center of a 4x6 inch page is to use a tikz node....
Simon Dispa's user avatar
  • 38.5k
2 votes
Accepted

Spacing between text under picture

like this? similar question has been asked many, many time ... \documentclass{article} \usepackage{graphicx} \usepackage[labelfont=bf]{caption} \begin{document} \begin{figure}[hbp] \...
Zarko's user avatar
  • 293k

Only top scored, non community-wiki answers of a minimum length are eligible