[dk-tug] TikZ problemer med intersections

Søren Christensen <[email protected]>
Newsgroups gmane.comp.tex.danish
Message-ID <[email protected]>
Hej jeg prøver at blive klogere på TikZ, men har lidt problemer.

Dette lille eksempel skulle finde tegne en linje fra (1,0) til skæringspunktet mellem linjen x=1 og en linje gennem (0,0) i 30-graders vinkel. Eksemplet er taget fra PGF-manual tutorial I.

Jeg får fejlmelding på linjen:   \draw[name intersections={of=upward line and sloped line, by=x},very thick] (1,0) -- (x);
undefined control sequence.

Kan nogen hjælpe mig videre?

eksempel:
\documentclass[a4paper,12pt]{article}
\usepackage{tikz}
\usetikzlibrary{intersections}

\begin{document}

\begin{tikzpicture}
  \path[name path=upward line] (1,0) -- (1,1);
  \path[name path=sloped  line] (0,0) -- (30:1.5);

  \draw[name intersections={of=upward line and sloped line, by=x},very thick] (1,0) -- (x);
\end{tikzpicture}

\end{document}

Mvh.
Søren Christensen
Hvamvej 95, Gl. Hvam, 9620 Ålestrup
+45 22 80 35 17
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.