Graphics, Figures & TablesPGF package problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
yabadabadoubis
Posts: 1
Joined: Wed Oct 13, 2010 2:13 pm

PGF package problem

Post by yabadabadoubis »

Hi everyone,
I 'm using Texshop on mac os 10.6.4.
I've installed the package pgf using texlive manager, and i verified that it has been installed using "tlmgr show pgf" in the shell.
The problem is that when i tape these lines (i made a copy paste from a tutorial in the pgfmanual)

Code: Select all

\documentclass{report}
\usepackage{pgf}

\begin{document}
\begin{tikzpicture}[ nonterminal/.style={
% The shape:
rectangle,
% The size:
minimum size=6mm,
% The border:
very thick, draw=red!50!black!50,
% The filling:
top color=white, bottom color=red!50!black!20, % Font font=\itshape
% 50% red and 50% black, % and that mixed with 50% white
% a shading that is white at the top... % and something else at the bottom
}] \node [nonterminal] {unsigned integer};
\end{tikzpicture}
\end{document}
in texshop file (.tex), i got a error message: "Envirnoment tikzpicture undefined" :)
Can you help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: PGF package problem

Post by localghost »

You need to include the »tikZ« package instead.


Best regards and welcome to the board
Thorsten
Post Reply