Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.

Liste des GroupesRevenir à ct tex 
Sujet : Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.text.tex
Date : 01. Sep 2024, 16:13:46
Autres entêtes
Organisation : Stefan Ram
Message-ID : <semicolon-20240901155334@ram.dialup.fu-berlin.de>
References : 1 2 3
Annada Behera <segfault@tilde.green> wrote or quoted:
Don't know whether this is expected behavior or a bug.

  The TikZ & PGF manual (for Version 3.1.5b) has got this entry
  "/tikz/intersection/total=<macro>" in the "13.3.2 Intersections
  of Arbitrary Paths" section. It's got this example where
  the "\foreach \s in {1,...,\t}" is all indented and stuff.

|\usetikzlibrary {intersections}
|\begin{tikzpicture}
|  \clip (-2,-2) rectangle (2,2);
|  \draw [name path=curve 1] (-2,-1) .. controls (8,-1) and (-8,1) .. (2,1);
|  \draw [name path=curve 2] (-1,-2) .. controls (-1,8) and (1,-8) .. (1,2);
|
|  \fill [name intersections={of=curve 1 and curve 2, name=i, total=\t}]
|        [red, opacity=0.5, every node/.style={above left, black, opacity=1}]
|        \foreach \s in {1,...,\t}{(i-\s) circle (2pt) node {\footnotesize\s}};
|\end{tikzpicture}
|
from "TikZ & PGF" "Manual for Version 3.1.5b".

  If you drop a semicolon in front of the "\foreach" (right after
  "opacity=1}]"), it's going to wig out on you with that error message.

  Well, "\fill" is shorthand for "\path[fill]", and the 411 on
  "\path" syntax is dropped in "14 Syntax for Path Specifications",
  which lays it down like this:

|\path<specification>;

  . So, there's that semicolon hanging ten, but I'm not stoked on where
  its implications for the scope of "name intersections" is posted up.



Date Sujet#  Auteur
30 Aug 24 * [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.8Annada Behera
30 Aug 24 +- Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.1Stefan Ram
31 Aug 24 +- Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.1Stefan Ram
31 Aug 24 +* Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.3Stefan Ram
1 Sep 24 i`* Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.2Annada Behera
1 Sep 24 i `- Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.1Stefan Ram
2 Sep 24 +- Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.1Ulrich D i e z
2 Sep 24 `- Re: [LaTeX][PGF/TikZ] Undefined control sequence error for PGF intersections.1Ulrich D i e z

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal