Re: [dk-tug] TikZ problemer med intersections

Lars Madsen <[email protected]>
Newsgroups gmane.comp.tex.danish
Message-ID <[email protected]>
Hvilke versioner anvender du

Ingen problemer med en fuldt opdateret TL2012

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf


________________________________________
From: [email protected] [[email protected]] on behalf of Søren Christensen [[email protected]]
Sent: 10 December 2012 14:28
To: [email protected]
Subject: [dk-tug] TikZ problemer med intersections

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]




_______________________________________________
[email protected] mailing list
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.