<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.tex.pgf.user">
    <title>gmane.comp.tex.pgf.user</title>
    <link>http://blog.gmane.org/gmane.comp.tex.pgf.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4438"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4437"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4436"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4435"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4434"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4433"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4432"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4431"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4430"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4429"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4428"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4427"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4426"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4425"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4424"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4423"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4422"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4421"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4420"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4419"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4438">
    <title>Release of a new version to CTAN;any intent to replace CVS?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4438</link>
    <description>&lt;pre&gt;Dear PGF developers,

I was wondering about two questions:

a) Is there any tiny chance that you would be willing to release a
newer pgf/TikZ to CTAN? (Please ...) We keep fetching the latest
version in ConTeXt already, but the whole LaTeX community would be
grateful for more frequent updates (at least once per year for the TeX
Live). There happen to be clashes between TikZ and ConTeXt MKIV, but
even when the version in CVS is fixed, it is almost impossible to make
sure that ConTeXt MKIV + TikZ would work in TeX Live.

b) Is there any chance to switch from CVS to something more modern
like SVN or GIT, possibly using TDS? I'm willing to help you prepare a
git repository. I do the conversion on server each day anyway, but
there are problems with incremental updates from CVS to GIT and having
the main repository in either of the two modern repositories would
make it a lot easier for some to write and test ConTeXt-specific
patches, submit them back to PGF developers etc.

Thank you very much,
    Mojca

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Mojca Miklavec</dc:creator>
    <dc:date>2012-05-24T19:16:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4437">
    <title>Re: Edge intersects node</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4437</link>
    <description>&lt;pre&gt;Hi,

I was going to suggest that using `growth parent anchor=east' key would 
solve the problem, but it doesn't. I'm not sure why.

But `fooling around' with the child node anchors (i.e., setting them to 
west) and increasing the level distance does correct it. But it is all a 
bit kludgy.

Mark

On 22/05/12 09:17, dnt wrote:


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Mark Wibrow</dc:creator>
    <dc:date>2012-05-22T10:30:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4436">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4436</link>
    <description>&lt;pre&gt;Hi,

For a (rather crude) PC how about the following (I've included 
everything else from the previous post, which may or may not be helpful).

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,shapes.symbols}
\begin{document}

\makeatletter
\tikzset{
     symbol/.style={
         inner sep=0pt,
         shape=rectangle,
         execute at begin node={
             \begin{tikzpicture}
                 \def\tikz&amp;lt; at &amp;gt;atbegin&amp;lt; at &amp;gt;node{}
                 \tikzset{symbols/.cd, #1}
             \end{tikzpicture}
         }
     }
}
\makeatother

\tikzset{
     symbol lines/.style={
         very thick,
         line join=round,
     },
}
\colorlet{symbol color}{red!50}


\tikzset{symbols/.cd,
     code/.code=#1,
     cylinder top/.code={
         \begin{scope}[yscale=0.5]
             \path [fill=symbol color!50] circle [radius=1cm];
         \end{scope}
     },
     cylinder body/.code={
         \path [fill=symbol color]
             (-1cm, 0cm) -- (-1cm, -#1) arc (180:360:1cm and 0.5cm) -- 
(1cm, 0cm) arc (360:180:1cm and 0.5cm) -- cycle;
     },
     router arrows/.code={
         \begin{scope}[yscale=0.5]
             \foreach \i in {0, ..., 3}
                 \path [fill=symbol color!5, rotate=\i*90+45, 
xshift={0.25cm+mod(\i,2)*0.625cm}, xscale={mod(\i+1,2)*2-1}]
                 (0cm,0cm) -- (0cm,0.125cm) -- (0.375cm,0.125cm) -- 
(0.375cm, 0.25cm) -- (0.625cm, 0cm) --
                 (0.375cm, -0.25cm) -- (0.375cm, -0.125cm) -- (0cm, 
-0.125cm) -- cycle;
         \end{scope}
     },
     3D box/.code args={width #1 height #2 depth #3}{
         \path [fill=symbol color!50] (-#1/2,-#2/2) rectangle ++(#1, #2);
         \path [fill=symbol color] (#1/2, -#2/2) -- ++(0cm, #2) -- 
++(#3, #3) -- ++(0cm, -#2) -- cycle;
         \path [fill=symbol color!75] (-#1/2, #2/2) -- ++(#1, 0cm) -- 
++(#3, #3) -- ++(-#1, 0cm) -- cycle;
     },
     arrows from circle/.code={
         \path [fill=symbol color!5]
             circle [radius=0.25cm];
         \foreach \i in {0, 45, ..., 315}
             \path [symbol lines, draw=symbol color!5,  fill=symbol 
color!5, rotate=\i]
                 (0cm,0cm) -- (#1, 0cm)  (#1,0.0625cm) -- 
(#1+0.125cm,0cm) -- (#1,-0.0625cm) -- cycle;
     }
}

\tikzset{symbols/.cd,
     internet/.style={
     code={
         \node [cloud, cloud puffs=9, cloud puff arc=110,
         minimum width=2.5cm, minimum height=1.5cm, fill=symbol color, 
draw=symbol color!25]{};
         }
     },
     router/.style={
         cylinder body=0.5cm,
         cylinder top,
         router arrows
     },
     generic gateway/.style={
         cylinder body=1.25cm,
         cylinder top,
         router arrows,
         code={
             \begin{scope}[yshift=-1.125cm]
                 \tikzset{symbols/.cd, arrows from circle=0.375cm}
             \end{scope}
         }
     },
     router with firewall/.style={
         cylinder body=0.25cm,
         code={
             \begin{scope}[yshift=-0.3125cm]
                 \tikzset{symbols/.cd, cylinder body=0.5cm}
             \end{scope}
         },
         cylinder top,
         code={
             \begin{scope}[yscale=0.5]
                 \clip circle [radius=1cm];
                 \tikzset{rotate=-45}
                 \foreach \i in {-3,-2,...,3}{
                     \draw [draw=symbol color!75, symbol 
lines](\i*0.5cm,-1cm) -- (\i*.5cm,1cm);
                         \foreach \j in {-1,0, 1}
                             \draw [draw=symbol color!75, symbol lines] 
[yshift={mod(\i,2)*0.5cm)}](\i*.5cm,\j*1cm) -- (\i*.5cm+0.5cm,\j*1cm);
                 }
             \end{scope}
         },
         router arrows
     },
     access point/.style={
         3D box=width 2cm height 0.5cm depth 0.25cm,
         code={
             \path [symbol lines, draw=symbol color!25]
                 (-0.75, 0) \foreach \i in {0,...,2} {
                     sin ++(0.125,0.125) cos ++(0.125,-0.125) sin 
++(0.125,-0.125) cos ++(0.125,0.125)
                 };
             \path [symbol lines, draw=symbol color!5, yscale=-1]
                 (-0.75, 0) \foreach \i in {0,...,2} {
                     sin ++(0.125,0.125) cos ++(0.125,-0.125) sin 
++(0.125,-0.125) cos ++(0.125,0.125)
                 };
         }
     },
     layer 3 switch/.style={
         3D box=width 1.5cm height 1.5cm depth 0.25cm,
         arrows from circle=0.5cm
     },
     PC/.style={    
     code={
     \begin{scope}[yshift=-1cm, xshift=-0.125cm]
     \tikzset{symbols/.cd,3D box=width 1.875cm height 0.375cm depth 
0.375cm}
      \path [symbol lines, draw=symbol color!5] (0.25,0.0625) -- 
(0.75,0.0625);
     \end{scope}
     },
      3D box=width 1.5cm height 1.25cm depth 0.1875cm,
     code={
      \path [symbol lines, draw=symbol color!5, rounded 
corners=0.125cm] (-0.625cm,-0.5cm) rectangle (0.625cm,0.5cm);
     },
     code={
     \begin{scope}[yshift=-1.375cm, xshift=-0.375cm]
     \tikzset{symbols/.cd,3D box=width 1.5cm height 0.125cm depth 0.25cm}
     \foreach \x in {1,...,12}
     \foreach \y in {1,...,3}
 \path [symbol lines, fill=symbol color!5, xslant=1, 
shift={(\x/10-0.75,\y/15+0.05)}] rectangle +(0.05cm, 0.0375cm) ;
     \end{scope}
     },
     }
}


\foreach \c in {red, blue, green!50!red}{
\colorlet{symbol color}{\c!50}
\foreach \s in {access point, layer 3 switch, generic gateway, router 
with firewall, router, internet, PC}
     {\tikz\node[scale=0.75, symbol=\s]{};\space}
\par
}

\end{document}


On 22/05/12 10:56, Silma wrote:


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Mark Wibrow</dc:creator>
    <dc:date>2012-05-22T10:28:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4435">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4435</link>
    <description>&lt;pre&gt;
Hi,

Sorry for my late answer, I can't have the internet easily...
Thank you SO MUCH for your code. Unfortunately most of it is not
understandable for me, and I would like to draw a terminal (like a PC or a
laptop). Could you please (or someone else) draw one ? I did it with you
previous example, but it won't fit with the design of this one.

Btw, if someone is interested here is what I did with the previous example
(I just added some elements, and draw an example with labels like IP
addresses). I prefer to warn sensitive persons, or people who have a heart
condition that my code may be very ugly due to my lack of experience.

Ignaci if you want to share some example from your class note I would be
very grateful :p

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.symbols}
\usetikzlibrary{intersections}
\usetikzlibrary{positioning}
\usetikzlibrary{mindmap}
\begin{document}
\makeatletter
\tikzset{
  symbol/.style={
    execute at begin node={
      \begin{tikzpicture}
        \def\tikz&amp;lt; at &amp;gt;atbegin&amp;lt; at &amp;gt;node{}
        \tikzset{symbols/#1}
      \end{tikzpicture}
    }      
  }
}
\makeatother
\tikzset{
  symbol lines/.style={
    very thick,
    line join=round,
  },
}
\colorlet{symbol fill}{black!50}
\colorlet{symbol draw}{black!25}



\tikzset{symbols/.cd,
  % ----------- %
  %   Internet  %
  % ----------- %
  internet/.code={
    \node [cloud, cloud puffs=9, cloud puff arc=110, minimum width=2.5cm,
minimum height=1.5cm, fill=symbol fill,draw=symbol draw]{};
  },
  % ----------- %
  %    Modem    %
  % ----------- %
  modem/.code={
    \path [fill=symbol fill, draw=symbol draw, symbol lines] (0,0) --
(0,0.5) -- (0.5,1) -- (1.75,1) -- (1.75,0.5) -- (1.25,0) -- cycle;
    \path [draw=symbol draw, symbol lines] (0,0.5) -- (1.25,0.5) -- (1.75,1)
(1.25,0.5) -- (1.25,0);
    \path [draw=symbol draw, line width=0.1cm, stealth-stealth, fill=symbol
draw] (0.0625,0.25) -- (0.875,0.25);
    \path [draw=symbol draw, line width=0.1cm, -stealth, fill=symbol
draw,line join=rect] (1,0.25) -- ++(-0.1, 0);
    % \node {0};
  },
  % ----------- %
  %    Switch   %
  % ----------- %
  switch/.code={
    \path [fill=symbol fill, draw=symbol draw, symbol lines] (0,0) --
(0,0.5) -- (0.5,1) -- (1.75,1) -- (1.75,0.5) -- (1.25,0) -- cycle;
    \path[name path=diagOne] (0,0.5) -- (1.75,1);
    \path[name path=diagTwo] (0.5,1) -- (1.25,0.5);
    \begin{scope}[fill=symbol draw]
      \path[name intersections={of=diagOne and diagTwo, by=int},draw=symbol
draw, line width=0.06cm,stealth-stealth] % cf p 131
      (int) ++(45:0.17cm) ++(0.5,0) -- ++(-0.5,0) -- ++ (45:-0.34cm) -- ++
(-0.5,0);% (int) -- ++(45:-0.2cm) -- +(-0.3,0);
      \path[name intersections={of=diagOne and diagTwo, by=int},draw=symbol
draw, line width=0.06cm,stealth-stealth] % cf p 131
      (int) ++(110:0.13cm) ++(-0.35,0) -- ++(0.35,0) -- ++ (-70:0.26cm) --
++ (0.35,0);% (int) -- ++(45:-0.2cm) -- +(-0.3,0);
    \end{scope}
    \path [draw=symbol draw, symbol lines]
    (0,0.5) -- (1.25,0.5) -- (1.75,1) (1.25,0.5) -- (1.25,0);
  },
  % ----------- %
  %   Terminal  %
  % ----------- %
  terminal/.code={
    \begin{scope}[scale=0.1,thick]
    \path [fill=symbol fill, draw=black!80,rounded corners=3pt] (0,0)
rectangle (10cm,8cm);
    \path [fill=black!80, draw=black!80] (4cm,0cm) rectangle +(2cm,-2.5cm);
    \path [fill=black!80, draw=black!80] (5,-2.5) circle [x radius=4cm,y
radius=0.8cm];
    \path [fill=symbol fill, draw=black!80,rounded corners=3pt] (11,-2.5)
rectangle +(4cm,9cm);
    \node [fill=green!20,shape=circle,inner sep=0] at (12.75,3) {} ;
    \node [fill=red!20,shape=circle,inner sep=0] at (13.25,3) {} ;
    \path [fill=black!80] (13,2) circle [radius=0.35cm];
    \path [draw=red!90,rounded corners=3pt,very thin] (13,2) +(60:0.2cm) arc
(60:-240:0.2cm) (13,2)-- (13,2.25);
    \end{scope}
  },
  % ----------- %
  %    Router   %
  % ----------- %
  router/.code={
    \fill[symbol fill] (0,0)  arc (0:180:0.8cm and 0.5cm) -- ++(0,-0.3) arc
(-180:0:0.8cm and 0.5cm)-- ++(0,0.3);
    \path[draw=symbol draw,symbol lines] (0,0)  arc (0:360:0.8cm and 0.5cm)
&lt;/pre&gt;</description>
    <dc:creator>Silma</dc:creator>
    <dc:date>2012-05-22T09:56:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4434">
    <title>Edge intersects node</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4434</link>
    <description>&lt;pre&gt;Hi,

I would like to have tree which grows to the right. It works fine for small 
nodes. However, if the node is a bit wider the edge intersects the node.

Example code:
\begin{tikzpicture}
\node {a wider node}
[edge from parent fork right,grow=right]
child {node {child1}}
child {node {child2}};
\end{tikzpicture}

Result: http://postimage.org/image/qzs0saoh3/

How to solve this?

Regards
Dominic------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
pgf-users mailing list
pgf-users&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
&lt;/pre&gt;</description>
    <dc:creator>dnt</dc:creator>
    <dc:date>2012-05-22T08:17:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4433">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4433</link>
    <description>&lt;pre&gt;Mark,

thank you again. I will have to study your code, but I'm sure I'll use it  
in my class notes.

Ignasi

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Ignasi</dc:creator>
    <dc:date>2012-05-09T16:06:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4432">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4432</link>
    <description>&lt;pre&gt;
I created a custom node shape in the past, which was just a small
modification to a rectangle shape. I would be easy to draw it in tikz code,
but because I use this shape from time to time I decided to create a custom
node shape (mainly to learn how to do it, actually). Also, by defining
suitable anchors you can use the shape later more easily.

However, this was not something I found easy to do, since you need to use
pgf commands instead of tikz commands. The example in [1] helped me a lot
understanding how the different parts fit together.

If you are interested in the shape I created as another example of using
pgfdeclareshape, see [2]

[1] http://www.texample.net/tikz/examples/d-flip-flops-and-shift-register/
[2] http://code.google.com/p/tikz-mimo-shapes/source/browse/

--
Darlan




At Wed, 9 May 2012 21:55:06 +0800,
Corentin Henry &amp;lt;corentinhenry&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Darlan Cavalcante Moreira</dc:creator>
    <dc:date>2012-05-09T14:30:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4431">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4431</link>
    <description>&lt;pre&gt;Hi,

Thank you very much for your help Mark and Ignasi. Your code seems very
complicated to me Mark as I just start with LaTeX and Tikz, so maybe I'll
have some questions soon.

Thank you again,

Corentin

(PS : I just have the summary of the topics on the mailing list, how can I
have all the messages ?)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
pgf-users mailing list
pgf-users&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
&lt;/pre&gt;</description>
    <dc:creator>Corentin Henry</dc:creator>
    <dc:date>2012-05-09T13:55:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4430">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4430</link>
    <description>&lt;pre&gt;Hi again,

The following (although far from perfect) shows how the approach can be 
used to build symbols from other symbols:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,shapes.symbols}
\begin{document}

\makeatletter
\tikzset{
symbol/.style={
inner sep=0pt,
shape=rectangle,
execute at begin node={
\begin{tikzpicture}
\def\tikz&amp;lt; at &amp;gt;atbegin&amp;lt; at &amp;gt;node{}
\tikzset{symbols/.cd, #1}
\end{tikzpicture}
}
}
}
\makeatother

\tikzset{
symbol lines/.style={
very thick,
line join=round,
},
}
\colorlet{symbol color}{red!50}


\tikzset{symbols/.cd,
.unknown/.code={
\let\symbolkey=\pgfkeyscurrentname%
 \tikzset{\symbolkey={#1}}%
},
code/.code=\begin{scope}#1\end{scope},
cylinder top/.code={
\begin{scope}[yscale=0.5]
\path [fill=symbol color!50] circle [radius=1cm];
\end{scope}
},
cylinder body/.code={
\path [fill=symbol color]
(-1cm, 0cm) -- (-1cm, -#1) arc (180:360:1cm and 0.5cm) -- (1cm, 0cm) 
arc (360:180:1cm and 0.5cm) -- cycle;
},
router arrows/.code={
\begin{scope}[yscale=0.5]
\foreach \i in {0, ..., 3}
\path [fill=symbol color!5, rotate=\i*90+45, 
xshift={0.25cm+mod(\i,2)*0.625cm}, xscale={mod(\i+1,2)*2-1}]
(0cm,0cm) -- (0cm,0.125cm) -- (0.375cm,0.125cm) -- (0.375cm, 0.25cm) 
&lt;/pre&gt;</description>
    <dc:creator>Mark Wibrow</dc:creator>
    <dc:date>2012-05-08T18:14:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4429">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4429</link>
    <description>&lt;pre&gt;Hi,

The symbol is placed inside a rectangle node (the default node shape) 
whose border is used to calculate points for tree edges.

You can see this if you add the `draw' key to the symbol style.

If you want exact border edges then you would have to define the shape 
using \pgfdeclareshape and define anchors appropriately. The following 
is incomplete, and it is cheating a bit to use tikz code in the shape 
(and may result in undesirable behaviours in some circumstances), but it 
shows how to approach the problem.

Doing things purely in PGF would give maximum control, but is a bit more 
work.

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,shapes.symbols}
\begin{document}


\tikzset{
symbol lines/.style={
very thick,
line join=round,
},
}
\colorlet{symbol fill}{black!50}
\colorlet{symbol draw}{black!25}


\pgfdeclareshape{cable modem}{
\nodeparts{}
\anchor{center}{\pgfpoint{0.75cm}{0.5cm}}
\anchor{north}{\pgfpoint{1.125cm}{1cm}}
\anchor{south}{\pgfpoint{1.125cm}{0cm}}
\behindbackgroundpath{
\path [fill=symbol fill, draw=symbol draw, symbol lines]
(0,0) -- (0,0.5) -- (0.5,1) -- (1.75,1) -- (1.75,0.5) -- (1.25,0) -- 
cycle;
\path [draw=symbol draw, symbol lines]
(0,0.5) -- (1.25,0.5) -- (1.75,1) (1.25,0.5) -- (1.25,0);
\path [draw=symbol draw, line width=0.1cm, stealth-stealth, 
fill=symbol draw]
(0.0625,0.25) -- (0.875,0.25);
\path [draw=symbol draw, line width=0.1cm, -stealth, fill=symbol draw, 
line join=rect]
(1,0.25) -- ++(-0.1, 0);
}
}

\begin{tikzpicture}[level distance=2cm, every child/.style={symbol lines}]
\draw [help lines] grid(3,2);
\node [cable modem] (c) at (0,1){};

\draw (3,2) -- (c.north) (3,0) -- (c.south);
\end{tikzpicture}

\end{document}


regards

Mark


On 08/05/12 09:33, Ignasi wrote:


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Mark Wibrow</dc:creator>
    <dc:date>2012-05-08T09:06:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4428">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4428</link>
    <description>&lt;pre&gt;Thank you Mark for the example.
Just a question about it.
Where is the 'outer sep' defined, i.e., why the edge between the cloud and  
cable modem doesn't touch the borders?

Thank you,

Ignasi

On Tue, 08 May 2012 09:58:42 +0200, Mark Wibrow &amp;lt;m.wibrow&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Ignasi</dc:creator>
    <dc:date>2012-05-08T08:33:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4427">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4427</link>
    <description>&lt;pre&gt;Hi,

With a teensy hack (to cancel code executed at the beginning of nodes - 
which I think should probably exist as an option anyway) one can embed 
previously defined code inside a node a bit like this:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.symbols}
\begin{document}

\makeatletter
\tikzset{
symbol/.style={
execute at begin node={
\begin{tikzpicture}
\def\tikz&amp;lt; at &amp;gt;atbegin&amp;lt; at &amp;gt;node{}
\tikzset{symbols/#1}
\end{tikzpicture}
}
}
}
\makeatother

\tikzset{
symbol lines/.style={
very thick,
line join=round,
},
}
\colorlet{symbol fill}{black!50}
\colorlet{symbol draw}{black!25}

\tikzset{symbols/.cd,
internet/.code={
\node [cloud, cloud puffs=9, cloud puff arc=110,
minimum width=2.5cm, minimum height=1.5cm, fill=symbol fill, 
draw=symbol draw]{};
},
cable modem/.code={
\path [fill=symbol fill, draw=symbol draw, symbol lines]
(0,0) -- (0,0.5) -- (0.5,1) -- (1.75,1) -- (1.75,0.5) -- (1.25,0) -- 
cycle;
\path [draw=symbol draw, symbol lines]
(0,0.5) -- (1.25,0.5) -- (1.75,1) (1.25,0.5) -- (1.25,0);
\path [draw=symbol draw, line width=0.1cm, stealth-stealth, 
fill=symbol draw]
(0.0625,0.25) -- (0.875,0.25);
\path [draw=symbol draw, line width=0.1cm, -stealth, fill=symbol draw, 
line join=rect]
(1,0.25) -- ++(-0.1, 0);
}
}
\begin{tikzpicture}[level distance=2cm, every child/.style={symbol lines}]
\node [symbol=internet, label=center:Internet] {}
child { node [symbol=cable modem, label=below:cable modem] {} };
\end{tikzpicture}

\end{document}

Hope this helps

Mark
On 08/05/12 08:19, Ignasi wrote:


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Mark Wibrow</dc:creator>
    <dc:date>2012-05-08T07:58:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4426">
    <title>Re: How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4426</link>
    <description>&lt;pre&gt;On Tue, 08 May 2012 07:53:34 +0200, Corentin Henry  
&amp;lt;corentinhenry&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:


I also would like to have such kind of symbols. While waiting for it, you  
can
look at

http://tex.stackexchange.com/questions/22837/cisco-icons-for-network-diagrams

There you will find a partial solution using cico icons converted to  
eps/pdf and TiKZ.

Best regards,

Ignasi

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Ignasi</dc:creator>
    <dc:date>2012-05-08T07:19:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4425">
    <title>How to create new node shapes ?</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4425</link>
    <description>&lt;pre&gt;Hi,

I'd like to draw TCP/IP networks with Tikz, so I need nodes such as
routers, swithches, hubs etc.
I can draw it each time I need it, but what would be cool is a syntax like

\node[router];
\node[switch];

etc.

Anyone know how to do this ? I saw a similar discussion here :
http://comments.gmane.org/gmane.comp.tex.pgf.user/701,
but as I begin with Tikz I didn't really understood, and I'm not even
sure this is exacly what I want.

Regards,

Corentin
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
pgf-users mailing list
pgf-users&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
&lt;/pre&gt;</description>
    <dc:creator>Corentin Henry</dc:creator>
    <dc:date>2012-05-08T05:53:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4424">
    <title>Re: tikz in-line picture in caption</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4424</link>
    <description>&lt;pre&gt;Hi,

I can't remember the exact reason why this happens, but the following 
fixes it:

\def\thistikzcaption{\tikz[arrow-1]\node[A=white]{};}

\caption{Sparse time-base. Sparse events \protect\thistikzcaption\ are 
only allowed to occur within the intervals $\pi$}

although I'm not sure what scope the protected macro should have (it 
works in this case with the local definition just before \caption).

Regards

Mark
On 06/05/12 22:30, Zarko F. Cucej wrote:


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Mark Wibrow</dc:creator>
    <dc:date>2012-05-07T05:52:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4423">
    <title>tikz in-line picture in caption</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4423</link>
    <description>&lt;pre&gt;Hi!
as part of caption I like to describe some symbols drawn by TikZ used in 
picture (see minimal exmple below), but for any in-line tikz picture i 
receive error:

! Use of \pgf&amp;lt; at &amp;gt;arrowsdeclarecombine&amp;lt; at &amp;gt;star doesn't match its definition.
\pgfutil&amp;lt; at &amp;gt;ifnextchar ...1\def \pgfutil&amp;lt; at &amp;gt;reserved&amp;lt; at &amp;gt;a {
                                                   
#2}\def\pgfutil&amp;lt; at &amp;gt;reserved&amp;lt; at &amp;gt;...

in preamble of document I have also declared

\pgfarrowsdeclarecombine[\pgflinewidth]
{hastype}{hastype}{triangle 45}{triangle 45}{triangle 45}{triangle 45}

for needs in driving some diagrams (there work fine as well in in-line 
tikz picture in text). if I comment above definition, then i receive error:

! Argument of \tikz&amp;lt; at &amp;gt;style&amp;lt; at &amp;gt;parseA has an extra }.

I wonder, if caption doesn't allow to use TikZ in-line pictures in 
caption text at all or I doing something wrong? Do anyone know a 
solution for my problem?

regards,     Zarko

minimal example:
     \documentclass{memoir}

     \usepackage{TikZ}
     \usetikzlibrary{arrows,shapes}
     \tikzset{arrow-1/.style = {
A/.style = {shape=single arrow, sharp corners, draw, thin, rotate=-90,
             fill=##1,
             minimum height=5mm, minimum width=3mm, single arrow head 
extend=0.5mm,
             inner sep=1pt, anchor=east},
                                 }
             }
\pgfarrowsdeclarecombine[\pgflinewidth]
{hastype}{hastype}{triangle 45}{triangle 45}{triangle 45}{triangle 45}

\pgfarrowsdeclarecombine*[\pgflinewidth]
{hassubtype}{hassubtype}%
{open triangle 45}{open triangle 45}{open triangle 45}{open triangle 45}

\begin{document}
     \begin{figure}\centering
     \begin{tikzpicture}[arrow-1]
%---
     \foreach \j in {1,2,3}  \node[A=white] at (\j,0) {};
%---
     \end{tikzpicture}
\caption{Sparse time-base. Sparse events {\tikz[arrow-1]\node[A=white] 
{};} are only allowed to occur within the intervals $\pi$}
     \end{figure}
\end{document}


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Zarko F. Cucej</dc:creator>
    <dc:date>2012-05-06T21:30:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4422">
    <title>Curve through a sequence of points with TikZ (andMetapost)</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4422</link>
    <description>&lt;pre&gt;Hi,

I found Metapost best for drawing complex smooth curves (i.e., Bezier, splines), while you do not have to directly specify Bezier control points. However, I need to use TikZ for my current project exclusively; drawing (closed) curves in TikZ is tedious and very time-consuming task. So I combined the "power" of Metapost with TikZ into the following workflow:
 - Draw desired closed curve in Metapost.
 - Open generated ps file in text editor and manually extract control points.
 - Paste extracted points into TikZ figure and modify PGF/TikZ expressions to draw curve.

Pasted below is a reproducible example to illustrate described approach.

%% Construct curve in Metapost
beginfig(1)
draw (0,0) .. (60,40) .. (40,90) .. (10,70) .. (30,50) .. cycle;
endfig;
end

%% Extract control points from postscript file
newpath 0 0 moveto
5.18756 -26.8353 60.36073 -18.40036 60 40 curveto
59.87714 59.889 57.33896 81.64203 40 90 curveto
22.39987 98.48387 4.72404 84.46368 10 70 curveto
13.38637 60.7165 26.35591 59.1351 30 50 curveto
39.19409 26.95198 -4.10555 21.23804 0 0 curveto closepath stroke

%% Create Tikz figure in pdfLaTeX
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.1] 
  \draw (0, 0) .. controls (5.18756, -26.8353) and (60.36073, -18.40036)
    .. (60, 40) .. controls (59.87714, 59.889) and (57.33896, 81.64203)
    .. (40, 90) .. controls (22.39987, 98.48387) and (4.72404, 84.46368)
    .. (10, 70) .. controls (13.38637, 60.7165) and (26.35591, 59.1351)
    .. (30, 50) .. controls (39.19409, 26.95198) and (-4.10555, 21.23804)
    .. (0, 0);    
\end{tikzpicture}
\end{document}

This approach works if you have to draw curve or two, but becomes tedious with more curves. I wonder if there is a simpler way which avoids manual copy-paste repetitions from file to file? Maybe the most elegant solution should be simple C/C++/... program, but I cant't find implemented Hobby's algorithm (ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/85/1047/CS-TR-85-1047.pdf) used by Metapost to calculate Bezier control points.

Any ideas would be greatly appreciated.

Best, Andrej



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Andrej Kastrin</dc:creator>
    <dc:date>2012-05-05T09:18:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4421">
    <title>Ladder logic diagrams</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4421</link>
    <description>&lt;pre&gt;Hi all,

Does any one have any suggestions for drawing ladder-logic diagrams in PGF/TikZ? I'm referring to the type of diagrams that are used with Programmable Logic Controllers (PLCs).

As far as I can discern there isn't any ready-made library for this. I suppose they could be drawn using grids and custom node shapes (perhaps from one of the circuits libraries)?
 
David Collins

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>David Collins</dc:creator>
    <dc:date>2012-04-30T21:37:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4420">
    <title>Re: Problem with coordinates</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4420</link>
    <description>&lt;pre&gt;2012/4/21 Pathe &amp;lt;pathe&amp;lt; at &amp;gt;free.fr&amp;gt;:

Hi,

Tikz badly manages active characters here.

A workaround could be something like this (not fully test though).

\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
% Defined in tikz.code.tex
% \tikz&amp;lt; at &amp;gt;nonactiveexlmark
% \tikz&amp;lt; at &amp;gt;activeexlmark

\makeatletter
\catcode`\!=12
\def\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;checks{
  \pgfutil&amp;lt; at &amp;gt;ifnextchar!{%
    \tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;nonactive%
  }{%
    \begingroup
    \edef\tikz&amp;lt; at &amp;gt;temp{\endgroup\noexpand\pgfutil&amp;lt; at &amp;gt;ifnextchar\expandafter\noexpand\tikz&amp;lt; at &amp;gt;activeexlmark}%
    \tikz&amp;lt; at &amp;gt;temp{%
      \tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;active%
    }{%
      \advance\pgf&amp;lt; at &amp;gt;xa by\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;factor\pgf&amp;lt; at &amp;gt;xb%
      \advance\pgf&amp;lt; at &amp;gt;ya by\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;factor\pgf&amp;lt; at &amp;gt;yb%
      \tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;parse% continue
    }%
  }%
}
\def\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;nonactive!{\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid!}
\begingroup
  \catcode`\!=\active
  \xdef\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;active!{\noexpand\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid\tikz&amp;lt; at &amp;gt;nonactiveexlmark}
  \gdef\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;num&amp;lt; at &amp;gt;active#1!{\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;num&amp;lt; at &amp;gt;i{#1}}
  \gdef\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;ex&amp;lt; at &amp;gt;active!{}
\endgroup

\def\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid!{%
  \pgfutil&amp;lt; at &amp;gt;ifnextchar({%)
    \tikz&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;one&amp;lt; at &amp;gt;point\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;project%
  }{%
    \ifnum\the\catcode`\!=\active\relax
      \expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;num&amp;lt; at &amp;gt;active%
    \else
      \expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;num&amp;lt; at &amp;gt;nonactive%
    \fi
  }%
}
\def\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;num&amp;lt; at &amp;gt;nonactive#1!{\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;num&amp;lt; at &amp;gt;i{#1}}
\def\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;num&amp;lt; at &amp;gt;i#1{%
  \pgfmathparse{#1}%
  \ifpgfmathunitsdeclared%
    \let\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;unit=\pgfmathresult%
    \expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;rot\expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;after&amp;lt; at &amp;gt;unit%
  \else%
    \let\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;factor=\pgfmathresult%
    \pgfmathparse{1-\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;factor}%
    \let\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;mid&amp;lt; at &amp;gt;factor&amp;lt; at &amp;gt;one=\pgfmathresult%
    \expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;rot\expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;after&amp;lt; at &amp;gt;num%
  \fi%
}

\def\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;project#1{%
  \pgf&amp;lt; at &amp;gt;process{#1}%
  % Save in c
  \pgf&amp;lt; at &amp;gt;xc=\pgf&amp;lt; at &amp;gt;x%
  \pgf&amp;lt; at &amp;gt;yc=\pgf&amp;lt; at &amp;gt;y%
  \ifnum\the\catcode`\!=\active\relax
    \begingroup
    \def\tikz&amp;lt; at &amp;gt;temp{%
      \endgroup\expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;rot\expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;after&amp;lt; at &amp;gt;project\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;ex&amp;lt; at &amp;gt;active}%
  \else
    \begingroup
    \def\tikz&amp;lt; at &amp;gt;temp{%
      \endgroup\expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;rot\expandafter\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;after&amp;lt; at &amp;gt;project\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;ex&amp;lt; at &amp;gt;nonactive}%
  \fi
  \tikz&amp;lt; at &amp;gt;temp%
}

\def\tikz&amp;lt; at &amp;gt;cc&amp;lt; at &amp;gt;scan&amp;lt; at &amp;gt;ex&amp;lt; at &amp;gt;nonactive!{}

\usepackage[french]{babel}

\begin{document}
\begin{tikzpicture}
  \node (A) at (0,0) {};
  \node (B) at (3,0) {};
  \node (C) at (5,5) {};
  \node (D) at ($(A)!(B)!(C)$) {Test};
\end{tikzpicture}
\end{document}

Best regards

&lt;/pre&gt;</description>
    <dc:creator>Christophe Jorssen</dc:creator>
    <dc:date>2012-04-28T15:19:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4419">
    <title>Re: matrix in recent TikZ CVS</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4419</link>
    <description>&lt;pre&gt;Hi Zarko,

2012/4/24 Zarko F. Cucej &amp;lt;zarko.cucej&amp;lt; at &amp;gt;gmail.com&amp;gt;:

If you are a TeXlive user, consider use the tlcontrib repository
(http://tlcontrib.metatex.org/).


I don't get this message if I use \matrix instead of \begin{matrix}.
In addition, AFAIK, there has been no change of syntax in the matrix
part of tikz. So you should stay with the \matrix syntax (it is a
shortcut to \node[matrix]).


tikz takes care of saving the original meaning of a macro that it
redefines inside tikzpicture. So the original meaning of \matrix (as
defined in mathtools, loaded by empheq) is save before overwriting it
inside the tikzpicture and then restore back at the end of the
tikzpicture environment. BTW, \matrix is defined by mathtools as an
*environment*. So mathtools defined both \matrix *and* \endmatrix. The
latter is called when the \end{matrix} is invoked. That's probably the
cause of the \crcr error. In your sample code, you use \begin{matrix}
which is close to \matrix (it essentially adds a group before
expanding it) that expands to the tikz definition (that is
\node[matrix]), but when the \end{matrix} is reached, it triggers the
expansion of \endmatrix which has its original meaning, that is the
mathtools' one. So the error.


\documentclass{memoir}
\usepackage{empheq}
\usepackage{mathtools}
\usepackage{tikz}
\usetikzlibrary{matrix,shapes}

\begin{document}
\begin{tikzpicture}
  \matrix (uraA) [matrix of nodes]
  {
    times in clock A    \\
    C:  11:40           \\
    A:  11:50           \\
    B:  11:55           \\
  };
  \draw[very thick] (uraA-1-1.south west) -- (uraA-1-1.south east);
\end{tikzpicture}
\end{document}


The pgf/tikz team try to be very conservative (that's why tikz has a
so long releasing cycle). In this case, this was not a tikz issue, but
don't forget that cvs version is a development version, so be prepared
to face some clash and/or unstabilities.

Best regards

&lt;/pre&gt;</description>
    <dc:creator>Christophe Jorssen</dc:creator>
    <dc:date>2012-04-28T13:49:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.tex.pgf.user/4418">
    <title>matrix in recent TikZ CVS</title>
    <link>http://permalink.gmane.org/gmane.comp.tex.pgf.user/4418</link>
    <description>&lt;pre&gt;Hi,
few day ago i installed recent CVS of TikZ from
http://perso.enstimac.fr/~gaborit/latex/tikz-pgf.html 
&amp;lt;http://perso.enstimac.fr/%7Egaborit/latex/tikz-pgf.html&amp;gt;
it work nice, the manual has some novelties etc. But today I tray to use 
matrix library and .. . there i was surprised since it doesn't work as 
before. First i receive warning that instead \matrix i should use 
\begin{matrix} ... than complain about node (which shuold have at least 
empty {} than is found some missing brackets, then some problem with 
mispalced \crcr etc. on the end (till before i gave up) i found that 
problems was caused with some incompatibility with packages empheq and 
mathtools. if I delete them, then minimal example below work fine.

this problems was not a case in previous CVS. Please, help me to solve 
this problem.

for the next realise of CVS I kindly ask to give novel instruction for 
matrix libraries. this will be very helpful.

regards,    Zarko


     \documentclass{memoir}
\usepackage{empheq}
\usepackage{mathtools}
\usepackage{TikZ}
     \usetikzlibrary{matrix,shapes}

     \begin{document}
\begin{tikzpicture}
      \begin{matrix} (uraA) [matrix of nodes]
         {
         times in clock A    \\
         C:  11:40           \\
         A:  11:50           \\
         B:  11:55           \\
         };
      \end{matrix};
      \draw[very thick] (uraA-1-1.south west) -- (uraA-1-1.south east);
\end{tikzpicture}
     \end{document}


Do anyone have some experiences with recent

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Zarko F. Cucej</dc:creator>
    <dc:date>2012-04-24T17:14:09</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.tex.pgf.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.tex.pgf.user</link>
  </textinput>
</rdf:RDF>

