Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[newbie] First attempt using tikz unsuccesful: ! Package pgf Error: No shape named 0 is known.

935 views
Skip to first unread message

Jean Dubois

unread,
Oct 3, 2014, 8:40:59 AM10/3/14
to
After reading an article in Ubuntu Magazine on the use of tikz, I tried it
with the following sample code:
\documentclass[a4paper,11pt,titlecentered]{artikel3}
\usepackage{tikz}
\usepackage[dutch]{babel}
\begin{document}
\title{Trying out tikz}
\section{Intro}
\begin{tikzpicture}
\draw[step=10mm] (0.0) grid (100mm,100mm);
\end{tikzpicture}
\end{document}

I do get the expected grid but unfortunately I also get the error message:
! Package pgf Error: No shape named 0 is known.

What do I have to change or add to my code to correct it?

thanks in advance
jean

Ulrike Fischer

unread,
Oct 3, 2014, 8:52:44 AM10/3/14
to
There should be a comma and not a dot in the first coordinate (0,0)

--
Ulrike Fischer
http://www.troubleshooting-tex.de/

Jean Dubois

unread,
Oct 3, 2014, 9:44:00 AM10/3/14
to
Op vrijdag 3 oktober 2014 14:52:44 UTC+2 schreef Ulrike Fischer:
Thank you very much Ulrike, the print in the magazine is so small and my eyes are not that good anymore

kind regards,
jean
0 new messages