Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

LaTeX Error: Environment tikzpicture undefined

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
urcindalo
l33t
l33t
Posts: 623
Joined: Tue Feb 08, 2005 2:58 pm
Location: Almeria, Spain

LaTeX Error: Environment tikzpicture undefined

  • Quote

Post by urcindalo » Mon Oct 25, 2010 6:10 pm

Hi and thanks for reading this.

I use QtiPlot a lot, and this package can export .tex graphics, which can later be compiled in Latex.

The problem is whenever I load the .tex file into Texmaker (v1.92, stable for amd64) and try a quick compilation, I get this error:

Code: Select all

! LaTeX Error: Environment tikzpicture undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 \begin{tikzpicture}
{0pt}{0pt}{502pt}{376pt}
Your command was ignored.
The beginning of the QtiPlot-generated .tex is this:

Code: Select all

\begin{tikzpicture}{0pt}{0pt}{502pt}{376pt}
	\clip(0pt,376pt) -- (377.912pt,376pt) -- (377.912pt,92.9425pt) -- (0pt,92.9425pt) -- (0pt,376pt);
	\color[rgb]{1,1,1}
	\fill(3.76406pt,372.236pt) -- (370.384pt,372.236pt) -- (370.384pt,103.482pt) -- (3.76406pt,103.482pt) -- (3.76406pt,372.236pt);
	\fill(45.1688pt,366.966pt) -- (362.103pt,366.966pt) -- (362.103pt,140.37pt) -- (45.1688pt,140.37pt) -- (45.1688pt,366.966pt);
\begin{scope}
	\clip(45.1688pt,366.966pt) -- (362.103pt,366.966pt) -- (362.103pt,140.37pt) -- (45.1688pt,140.37pt) -- (45.1688pt,366.966pt);
.....................
I have dev-tex/pgf-2.00 installed as a dependency for app-text/texlive-2008, dev-tex/latex-beamer-3.07 and sci-visualization/gnuplot-4.4.2.

Am I missing something? Is the stable texlive installation in Gentoo incomplete?

Thanks in advance.
Top
nonas
Guru
Guru
Posts: 328
Joined: Sun Apr 17, 2005 5:15 pm

  • Quote

Post by nonas » Mon Oct 25, 2010 9:00 pm

Do you have the proper line in the preamble of your file (i.e. \usepackage{tikz}) ?

Also, I think you can not compile these generated files directly. You need to embed them in another document or give a proper preamble.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic