Graphics, Figures & TablesTikzpicture

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Mini
Posts: 73
Joined: Thu Aug 06, 2009 12:46 pm

Tikzpicture

Post by Mini »

Hello,

My Tickpicture seems not to be working properly... Here's my code:

Code: Select all

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc,through,backgrounds}
\begin{document}
\begin{tikzpicture}
\coordinate (A) at (-4,2);
\coordinate (B) at (4,2);
\coordinate (C) at (-4,-2);
\coordinate (D) at (4,-2)
\draw (A) -- (B);
\draw (B) -- (C);
\draw (C) -- (D);
\draw (D) -- (A);
\end{tikzpicture}
\end{document}
When I go to build it gets stuck on:

("C:\Program Files\MiKTeX 2.7\tex\context\base\supp-pdf.tex"
[Loading MPS to PDF converter (version 2006.09.02).]

I've attached my log file for further information. What am I doing wrong?

Thanks
Attachments
3D trig test.log
(12.31 KiB) Downloaded 248 times

Recommended reading 2024:

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

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

mas
Posts: 226
Joined: Thu Dec 04, 2008 4:39 am

Tikzpicture

Post by mas »

Mini wrote: \coordinate (D) at (4,-2)
The above line has a semi-colon missing at the end. After inserting that, it compiled under linux. Have not tried it under windows though. Can you check that?

Regards,

sridhar

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
Mini
Posts: 73
Joined: Thu Aug 06, 2009 12:46 pm

Re: Tikzpicture

Post by Mini »

Yep, thanks for that. Geez, it is picky isn't it?

Thanks again =D
Post Reply