26.10.2014 Views

TikZ and pgf

TikZ and pgf

TikZ and pgf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Installation<br />

There are different ways of installing <strong>pgf</strong>, depending on your system <strong>and</strong> needs, <strong>and</strong> you may need to install<br />

other packages as well as, see below. Before installing, you may wish to review the gpl license under which<br />

the package is distributed, see Section 2.5.<br />

Typically, the package will already be installed on your system. Naturally, in this case you do not need<br />

to worry about the installation process at all <strong>and</strong> you can skip the rest of this section.<br />

2.1 Package <strong>and</strong> Driver Versions<br />

This documentation is part of version 1.01 of the <strong>pgf</strong> package. In order to run <strong>pgf</strong>, you need a reasonably<br />

recent TEX installation. When using L A TEX, you need the following packages installed (newer versions should<br />

also work):<br />

• xcolor version 2.00.<br />

• xkeyval version 1.8, if you wish to use <strong>TikZ</strong>.<br />

With plain TEX, xcolor is not needed, but you obviously do not get its (full) functionality.<br />

Currently, <strong>pgf</strong> supports the following backend drivers:<br />

• pdftex version 0.14 or higher. Earlier versions do not work.<br />

• dvips version 5.94a or higher. Earlier versions may also work.<br />

• dvipdfm version 0.13.2c or higher. Earlier versions may also work.<br />

• tex4ht version 2003-05-05 or higher. Earlier versions may also work.<br />

• vtex version 8.46a or higher. Earlier versions may also work.<br />

• textures version 2.1 or higher. Earlier versions may also work.<br />

Currently, <strong>pgf</strong> supports the following formats:<br />

• latex with complete functionality.<br />

• plain with complete functionality, except for graphics inclusion, which works only for pdfTEX.<br />

• context should work as plain, but I have not tried it.<br />

For more details, see Section 5.<br />

2.2 Installing Prebundled Packages<br />

I do not create or manage prebundled packages of <strong>pgf</strong>, but, fortunately, nice other people do. I cannot give<br />

detailed instructions on how to install these packages, since I do not manage them, but I can tell you were<br />

to find them. If you have a problem with installing, you might wish to have a look at the Debian page or<br />

the MikTEX page first.<br />

2.2.1 Debian<br />

The comm<strong>and</strong> “aptitude install <strong>pgf</strong>” should do the trick. Sit back <strong>and</strong> relax. In detail, the following<br />

packages are installed:<br />

http://packages.debian.org/<strong>pgf</strong><br />

http://packages.debian.org/latex-xcolor<br />

2.2.2 MiKTeX<br />

For MiKTEX, use the update wizard to install the (latest versions of the) packages called <strong>pgf</strong>, xcolor, <strong>and</strong><br />

xkeyval.<br />

14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!