[pdftex] Color gradient with pdflatex

Reinhard Kotucha reinhard.kotucha at web.de
Sat Apr 8 06:17:38 CEST 2006

>>>>> "Martin" == Martin Schröder <martin at oneiros.de> writes:

  > On 2006-04-07 21:56:50 +0200, Jörg Ebeling wrote:
  >> Does anybody knows a package with which color gradients could be
  >> build BUT don't require the PSTricks package ?!

  > Check out MetaPost;

You probably need MetaFun in order to use real PDF color gradients.

  >  or you can directly use PDF operands with \pdfliteral.

It's easier to use higher-level commands as provided by pgf.  Even the
low-level commands of pgf provide an abstraction layer to make them
independent of the output format, i.e. they will work with pdftex (PDF
output), dvipdfm, and dvips and even with tex4ht!

In other words, you can have inline graphics in plain/LaTeX/Context
documents and can produce output files in PDF, PostScript or HTML.
If you produce HTML, the graphics will be in SVG.

There are a few things you cannot do with pgf (yet) which you can do
with MetaPost/MetaFun or pstricks.  Anyway, the LaTeX picture
environment and PicTeX are completely obsolete now and cannot be
recommended anymore.



Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the pdftex mailing list