<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-3583</id>
	<title>Nabble - pgf-users</title>
	<updated>2009-11-21T14:00:27Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/pgf-users-f3583.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgf-users-f3583.html" />
	<subtitle type="html">Mailing list archive for pgf-users</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26460759</id>
	<title>Re: Matrix Problem in Beamer</title>
	<published>2009-11-21T14:00:27Z</published>
	<updated>2009-11-21T14:00:27Z</updated>
	<author>
		<name>Alain Matthes-2</name>
	</author>
	<content type="html">&lt;br&gt;Le 21 nov. 2009 à 21:21, David Arnold a écrit :
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; All,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The following throws this error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ! Package pgfbasematrix Error: Single ampersand used with wrong catcode.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; See the pgfbasematrix package documentation for explanation.
&lt;br&gt;&amp;gt; Type &amp;nbsp;H &amp;lt;return&amp;gt; &amp;nbsp;for immediate help.
&lt;br&gt;&amp;gt; &amp;nbsp;... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; l.68 \end{frame}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; ? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can anyone help?
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Hi
&lt;br&gt;&lt;br&gt;\begin{frame}[fragile] &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Alain Matthes
&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26460759&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Matrix-Problem-in-Beamer-tp26459909p26460759.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26459909</id>
	<title>Matrix Problem in Beamer</title>
	<published>2009-11-21T12:21:40Z</published>
	<updated>2009-11-21T12:21:40Z</updated>
	<author>
		<name>dwarnold</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;All,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The following throws this error:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; &quot;&gt;! Package pgfbasematrix Error: Single ampersand used with wrong catcode.&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; &quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; &quot;&gt;See the pgfbasematrix package documentation for explanation.&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; &quot;&gt;Type&amp;nbsp; H &amp;lt;return&amp;gt;&amp;nbsp; for immediate help.&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; &quot;&gt;&amp;nbsp;... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;p style=&quot;margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br class=&quot;webkit-block-placeholder&quot;&gt;&lt;/p&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; &quot;&gt;l.68 \end{frame}&lt;/div&gt;&lt;p style=&quot;margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br class=&quot;webkit-block-placeholder&quot;&gt;&lt;/p&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; &quot;&gt;?&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Monaco&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 10px;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Monaco&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 10px;&quot;&gt;Can anyone help?&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Monaco&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 10px;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Monaco&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 10px;&quot;&gt;David Arnold&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Monaco&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 10px;&quot;&gt;College of the Redwoods&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Monaco&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 10px;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Monaco&quot; size=&quot;2&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 10px;&quot;&gt;&lt;div&gt;\documentclass{beamer}&lt;/div&gt;&lt;div&gt;\usepackage{tikz}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\begin{document}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\begin{frame}&lt;/div&gt;&lt;div&gt;\begin{center}&lt;/div&gt;&lt;div&gt;\begin{tikzpicture}[&lt;/div&gt;&lt;div&gt;nonterminal/.style={&lt;/div&gt;&lt;div&gt;% The shape:&lt;/div&gt;&lt;div&gt;rectangle,&lt;/div&gt;&lt;div&gt;% The size:&lt;/div&gt;&lt;div&gt;minimum height=1cm,&lt;/div&gt;&lt;div&gt;minimum width=1cm,&lt;/div&gt;&lt;div&gt;% The border:&lt;/div&gt;&lt;div&gt;very thick,&lt;/div&gt;&lt;div&gt;draw=red!50!black!50, % 50% red and 50% black,&lt;/div&gt;&lt;div&gt;% and that mixed with 50% white&lt;/div&gt;&lt;div&gt;% The filling:&lt;/div&gt;&lt;div&gt;top color=white, % a shading that is white at the top...&lt;/div&gt;&lt;div&gt;bottom color=red!50!black!20, % and something else at the bottom&lt;/div&gt;&lt;div&gt;% Font&lt;/div&gt;&lt;div&gt;font=\itshape&lt;/div&gt;&lt;div&gt;}]&lt;/div&gt;&lt;div&gt;\matrix[row sep = 2mm, column sep = 2mm]{&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 1}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 2}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 3}; \\&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 4}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 5}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 6}; \\&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 7}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 8}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 9}; \\&lt;/div&gt;&lt;div&gt;};&lt;/div&gt;&lt;div&gt;\end{tikzpicture}&lt;/div&gt;&lt;div&gt;\hspace{0.5in}&lt;/div&gt;&lt;div&gt;\begin{tikzpicture}[&lt;/div&gt;&lt;div&gt;nonterminal/.style={&lt;/div&gt;&lt;div&gt;% The shape:&lt;/div&gt;&lt;div&gt;rectangle,&lt;/div&gt;&lt;div&gt;% The size:&lt;/div&gt;&lt;div&gt;minimum height=1cm,&lt;/div&gt;&lt;div&gt;minimum width=1cm,&lt;/div&gt;&lt;div&gt;% The border:&lt;/div&gt;&lt;div&gt;very thick,&lt;/div&gt;&lt;div&gt;draw=red!50!black!50, % 50% red and 50% black,&lt;/div&gt;&lt;div&gt;% and that mixed with 50% white&lt;/div&gt;&lt;div&gt;% The filling:&lt;/div&gt;&lt;div&gt;top color=white, % a shading that is white at the top...&lt;/div&gt;&lt;div&gt;bottom color=red!50!black!20, % and something else at the bottom&lt;/div&gt;&lt;div&gt;% Font&lt;/div&gt;&lt;div&gt;font=\itshape&lt;/div&gt;&lt;div&gt;}]&lt;/div&gt;&lt;div&gt;\matrix[row sep = 2mm, column sep = 2mm]{&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 1}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 2}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 3}; \\&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 4}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 5}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 6}; \\&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 7}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 8}; &amp;amp;&lt;/div&gt;&lt;div&gt;\node [nonterminal] {\Large 9}; \\&lt;/div&gt;&lt;div&gt;};&lt;/div&gt;&lt;div&gt;\end{tikzpicture}&lt;/div&gt;&lt;div&gt;\end{center}&lt;/div&gt;&lt;div&gt;\end{frame}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\end{document}&lt;/div&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26459909&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Matrix-Problem-in-Beamer-tp26459909p26459909.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449478</id>
	<title>Re: how to ignore &quot;undefined&quot; points in gnuplot table file?</title>
	<published>2009-11-20T12:04:47Z</published>
	<updated>2009-11-20T12:04:47Z</updated>
	<author>
		<name>Andy-42</name>
	</author>
	<content type="html">Christian, thanks for your advice!
&lt;br&gt;&lt;br&gt;I have something which works for my simple test, but can't vouch for
&lt;br&gt;its tex correctness.. See attached for patch file.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Andy
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 18, 2009 at 3:38 PM, Christian Feuersaenger
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449478&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;feuersaenger@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Andy,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The 'plot function' implementation boils down to a PGF call
&lt;br&gt;&amp;gt; '\pgfplotgnuplot' with implementation in
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; generic/pgf/modules/pgfmoduleplot.code.tex
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; in the pgf installation path. This, in turn, invokes \pgfplotxyfile after
&lt;br&gt;&amp;gt; gnuplot has been invoked. The \pgfplotxyfile calls
&lt;br&gt;&amp;gt; \pgf@parsexyline
&lt;br&gt;&amp;gt; eventually which has the definition
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \def\pgf@parsexyline#1 #2 #3\pgf@stop{%
&lt;br&gt;&amp;gt;  \pgfplotstreampoint{\pgfpointxy{#1}{#2}}%
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The '#3' argument contains everything after the second coordinate until the
&lt;br&gt;&amp;gt; end. Note that it will probably be 'u&amp;lt;space&amp;gt;' because the trailing newline
&lt;br&gt;&amp;gt; is considered to be a space character.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A possible add-on could be to leave the @parsexyline as it is and to
&lt;br&gt;&amp;gt; exchange its definition temporary inside of the implementation of
&lt;br&gt;&amp;gt; \pgfplotgnuplot. If you want to try this out, remember to keep this change
&lt;br&gt;&amp;gt; local, i.e. restore it afterwards somehow.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Good luck!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Christian
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449478&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;ignore-gnuplot-undefined-points.patch&lt;/strong&gt; (980 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26449478/0/ignore-gnuplot-undefined-points.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-ignore-%22undefined%22-points-in-gnuplot-table-file--tp26412703p26449478.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26418439</id>
	<title>Re: pgf and elastic spaces</title>
	<published>2009-11-18T16:39:00Z</published>
	<updated>2009-11-18T16:39:00Z</updated>
	<author>
		<name>Mark Wibrow-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;If you just want to store the skip specification in a macro, then the
&lt;br&gt;following should do it:
&lt;br&gt;&lt;br&gt;\begingroup%
&lt;br&gt;\pgfmathsetskip\pgfmath@skip{#2}%
&lt;br&gt;\edef#1{\the\pgfmath@skip}%
&lt;br&gt;\pgfmath@smuggleone{#1}%
&lt;br&gt;\endgroup
&lt;br&gt;&lt;br&gt;Although in this case as \pgfmath@skip is not used anywhere else
&lt;br&gt;(certainly not in PGF or TikZ) then
&lt;br&gt;&lt;br&gt;\pgfmathsetskip\pgfmath@skip{#2}%
&lt;br&gt;\edef#1{\the\pgfmath@skip}%
&lt;br&gt;&lt;br&gt;will do.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Mark
&lt;br&gt;2009/11/19 Nicolas Girard &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418439&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;girard.nicolas@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/19 Nicolas Girard &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418439&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;girard.nicolas@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; I'm already trying to add an additional \pgfmathsetskipmacro in a
&lt;br&gt;&amp;gt;&amp;gt; similar way as \pgfmathsetlengthmacro ;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; err... well, it should look like what follows, except that it should
&lt;br&gt;&amp;gt; also work :-/
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \def\pgfmathsetskipmacro#1#2{%
&lt;br&gt;&amp;gt;        \begingroup%
&lt;br&gt;&amp;gt;                \pgfmathsetskip\pgfmath@skip{#2}%
&lt;br&gt;&amp;gt;                \newskip#1%
&lt;br&gt;&amp;gt;                \let#1\pgfmath@skip%
&lt;br&gt;&amp;gt;                \pgfmath@smuggleone{#1}%
&lt;br&gt;&amp;gt;        \endgroup%
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; pgf-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418439&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418439&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgf-and-elastic-spaces-tp26409479p26418439.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26418178</id>
	<title>Re: pgf and elastic spaces</title>
	<published>2009-11-18T16:06:42Z</published>
	<updated>2009-11-18T16:06:42Z</updated>
	<author>
		<name>Nicolas Girard-4</name>
	</author>
	<content type="html">2009/11/19 Nicolas Girard &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418178&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;girard.nicolas@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; I'm already trying to add an additional \pgfmathsetskipmacro in a
&lt;br&gt;&amp;gt; similar way as \pgfmathsetlengthmacro ;
&lt;br&gt;&lt;br&gt;err... well, it should look like what follows, except that it should
&lt;br&gt;also work :-/
&lt;br&gt;&lt;br&gt;\def\pgfmathsetskipmacro#1#2{%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \begingroup%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmathsetskip\pgfmath@skip{#2}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \newskip#1%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \let#1\pgfmath@skip%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@smuggleone{#1}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \endgroup%
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418178&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgf-and-elastic-spaces-tp26409479p26418178.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26417785</id>
	<title>Re: pgf and elastic spaces</title>
	<published>2009-11-18T15:31:18Z</published>
	<updated>2009-11-18T15:31:18Z</updated>
	<author>
		<name>Nicolas Girard-4</name>
	</author>
	<content type="html">2009/11/18 Mark Wibrow &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26417785&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.wibrow@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Parsing a skip specification so the mathematical engine can be
&lt;br&gt;&amp;gt; employed is not trivial, and the following shows a sketch of what is
&lt;br&gt;&amp;gt; necessary (I can't guarantee it is fully robust).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope this helps
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Hi Mark,
&lt;br&gt;&lt;br&gt;oh yes, this helps tremendously, thanks very much !
&lt;br&gt;&lt;br&gt;I'm already trying to add an additional \pgfmathsetskipmacro in a
&lt;br&gt;similar way as \pgfmathsetlengthmacro ; also I've noticed that
&lt;br&gt;&amp;nbsp; &amp;nbsp; \pgfmathsetskip\myskip{10pt plus 5pt minus 1.0pt}
&lt;br&gt;&amp;nbsp; &amp;nbsp; \pgfmathsetskip\myskip{2*\myskip}
&lt;br&gt;doesn't work as expected, but I guess that wouldn't be a quick fix,
&lt;br&gt;and anyway your code is already very useful, at least to me !
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Nicolas
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26417785&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgf-and-elastic-spaces-tp26409479p26417785.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26416998</id>
	<title>Re: pgf and elastic spaces</title>
	<published>2009-11-18T14:31:45Z</published>
	<updated>2009-11-18T14:31:45Z</updated>
	<author>
		<name>Mark Wibrow-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;\pgfmathsetlength is only designed to be used with dimen registers.
&lt;br&gt;You can use skip registers (e.g., \pgfmathsetlength\myskip{5pt+2ex})
&lt;br&gt;but you cannot specify stretch or shrink. If you use skip registers
&lt;br&gt;inside the parser (e.g., \pgfmathparse{2*\myskip}) the stretch and
&lt;br&gt;shrink are ignored.
&lt;br&gt;&lt;br&gt;Parsing a skip specification so the mathematical engine can be
&lt;br&gt;employed is not trivial, and the following shows a sketch of what is
&lt;br&gt;necessary (I can't guarantee it is fully robust).
&lt;br&gt;&lt;br&gt;\documentclass{article}
&lt;br&gt;\usepackage{pgf}
&lt;br&gt;\begin{document}
&lt;br&gt;\makeatletter
&lt;br&gt;&lt;br&gt;\newskip\pgfmath@skip
&lt;br&gt;&lt;br&gt;\def\pgfmathsetskip#1#2{%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \expandafter\pgfmath@onquick#2\pgfmath@%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % Ok, quick version:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \begingroup%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@selectfont%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@skip=#2\unskip%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \expandafter%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \endgroup%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \expandafter#1\expandafter=\the\pgfmath@skip%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \let\pgfmath@getskip@a=\pgfmath@empty%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \let\pgfmath@getskip@b=\pgfmath@empty%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \let\pgfmath@getskip@c=\pgfmath@empty%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@getskip#2 @%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #1=\pgfmath@getskip@a\pgfmath@getskip@b\pgfmath@getskip@c\relax%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \ignorespaces%
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;\def\pgfmath@getskip#1 {%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmathparse{#1}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \edef\pgfmath@getskip@a{\pgfmathresult pt}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@@getskip}
&lt;br&gt;&lt;br&gt;\def\pgfmath@@getskip{%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfutil@ifnextchar p{\pgfmath@getskip@plus}{%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfutil@ifnextchar m{\pgfmath@getskip@minus}{%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@@@getskip}}}
&lt;br&gt;&lt;br&gt;\def\pgfmath@@@getskip#1@{}%
&lt;br&gt;&lt;br&gt;\def\pgfmath@getskip@plus plus#1#2 {%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfutil@in@{fil}{#1#2}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \ifpgfutil@in@%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@getskip@fil#1#2;%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \edef\pgfmath@getskip@b{plus \pgfmathresult fil}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \else%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmathparse{#1#2}%		
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \edef\pgfmath@getskip@b{plus \pgfmathresult pt}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \fi%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@@getskip}
&lt;br&gt;&lt;br&gt;\def\pgfmath@getskip@fil#1fil;{\pgfmathparse{#1}}
&lt;br&gt;&lt;br&gt;\def\pgfmath@getskip@minus minus#1#2 {%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfutil@in@{fil}{#1#2}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \ifpgfutil@in@%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@getskip@fil#1#2;%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \edef\pgfmath@getskip@c{minus \pgfmathresult fil}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \else%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmathparse{#1#2}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \edef\pgfmath@getskip@c{minus \pgfmathresult pt}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \fi%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \pgfmath@@getskip}
&lt;br&gt;&lt;br&gt;\makeatother
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;\newskip\myskip
&lt;br&gt;\newdimen\mydimen
&lt;br&gt;&lt;br&gt;% Quick parse (i.e., +prefix meansno mathematical engine)
&lt;br&gt;\pgfmathsetskip\myskip{+10pt plus 5pt minus 1.0fil}
&lt;br&gt;\typeout{\the\myskip}
&lt;br&gt;&lt;br&gt;% Now use the mathematical engine
&lt;br&gt;\pgfmathsetskip\myskip{5*7pt plus 3.5*2pt minus 3.1*1pt}
&lt;br&gt;\typeout{\the\myskip}
&lt;br&gt;&lt;br&gt;% See what happens when a skip is used in the parser.
&lt;br&gt;\pgfmathsetlength\mydimen{2*\myskip}
&lt;br&gt;\typeout{\the\mydimen}
&lt;br&gt;&lt;br&gt;% Using a fil specification
&lt;br&gt;\pgfmathsetskip\myskip{2.1*3pt minus 3.2*3fil}
&lt;br&gt;\typeout{\the\myskip}
&lt;br&gt;&lt;br&gt;&lt;br&gt;\end{document}
&lt;br&gt;&lt;br&gt;Hope this helps
&lt;br&gt;&lt;br&gt;Mark
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/18 Nicolas Girard &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416998&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;girard.nicolas@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/18 GGBBRR &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416998&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerben.rotman@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am not sure whether this is what you mean but this seems to work:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; \tikzset{my length=2cm + 1ex - 0.5ex}
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Actually I meant *elastic* length, such as
&lt;br&gt;&amp;gt; 2cm \@plus 1ex \@minus 0.5ex
&lt;br&gt;&amp;gt; that is, the length can shrink as low as (2cm-0.5ex) and grow as much
&lt;br&gt;&amp;gt; as (2cm+1ex).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nicolas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; pgf-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416998&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416998&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgf-and-elastic-spaces-tp26409479p26416998.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26415318</id>
	<title>Re: how to ignore &quot;undefined&quot; points in gnuplot table file?</title>
	<published>2009-11-18T12:38:14Z</published>
	<updated>2009-11-18T12:38:14Z</updated>
	<author>
		<name>Christian Feuersaenger</name>
	</author>
	<content type="html">Hello Andy,
&lt;br&gt;&lt;br&gt;The 'plot function' implementation boils down to a PGF call 
&lt;br&gt;'\pgfplotgnuplot' with implementation in
&lt;br&gt;&lt;br&gt;&amp;nbsp;generic/pgf/modules/pgfmoduleplot.code.tex
&lt;br&gt;&lt;br&gt;in the pgf installation path. This, in turn, invokes \pgfplotxyfile 
&lt;br&gt;after gnuplot has been invoked. The \pgfplotxyfile calls
&lt;br&gt;\pgf@parsexyline
&lt;br&gt;eventually which has the definition
&lt;br&gt;&lt;br&gt;\def\pgf@parsexyline#1 #2 #3\pgf@stop{%
&lt;br&gt;&amp;nbsp; \pgfplotstreampoint{\pgfpointxy{#1}{#2}}%
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;The '#3' argument contains everything after the second coordinate until 
&lt;br&gt;the end. Note that it will probably be 'u&amp;lt;space&amp;gt;' because the trailing 
&lt;br&gt;newline is considered to be a space character.
&lt;br&gt;&lt;br&gt;A possible add-on could be to leave the @parsexyline as it is and to 
&lt;br&gt;exchange its definition temporary inside of the implementation of 
&lt;br&gt;\pgfplotgnuplot. If you want to try this out, remember to keep this 
&lt;br&gt;change local, i.e. restore it afterwards somehow.
&lt;br&gt;&lt;br&gt;Good luck!
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26415318&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-ignore-%22undefined%22-points-in-gnuplot-table-file--tp26412703p26415318.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26415189</id>
	<title>Re: bug in const plot handler?</title>
	<published>2009-11-18T12:29:27Z</published>
	<updated>2009-11-18T12:29:27Z</updated>
	<author>
		<name>Christian Feuersaenger</name>
	</author>
	<content type="html">Hello Andy,
&lt;br&gt;&lt;br&gt;you found indeed a bug in the const plot handler: it transformed the 
&lt;br&gt;first point twice.
&lt;br&gt;&lt;br&gt;I have just committed a fix for this problem which solves the problem 
&lt;br&gt;for all four const plot handlers.
&lt;br&gt;&lt;br&gt;Thank you for the hint!
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26415189&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bug-in-const-plot-handler--tp26402395p26415189.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26413504</id>
	<title>Re: pgf and elastic spaces</title>
	<published>2009-11-18T10:49:47Z</published>
	<updated>2009-11-18T10:49:47Z</updated>
	<author>
		<name>Nicolas Girard-4</name>
	</author>
	<content type="html">2009/11/18 GGBBRR &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26413504&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerben.rotman@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am not sure whether this is what you mean but this seems to work:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \tikzset{my length=2cm + 1ex - 0.5ex}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Actually I meant *elastic* length, such as
&lt;br&gt;2cm \@plus 1ex \@minus 0.5ex
&lt;br&gt;that is, the length can shrink as low as (2cm-0.5ex) and grow as much
&lt;br&gt;as (2cm+1ex).
&lt;br&gt;&lt;br&gt;Nicolas
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26413504&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgf-and-elastic-spaces-tp26409479p26413504.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26413213</id>
	<title>Re: pgf and elastic spaces</title>
	<published>2009-11-18T10:32:46Z</published>
	<updated>2009-11-18T10:32:46Z</updated>
	<author>
		<name>GGBBRR</name>
	</author>
	<content type="html">I am not sure whether this is what you mean but this seems to work:
&lt;br&gt;&lt;br&gt;\tikzset{my length=2cm + 1ex - 0.5ex}
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Nicolas Girard-4 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi all,
&lt;br&gt;I need pgf to let me specify elastic spaces. In the following code,
&lt;br&gt;&amp;nbsp; &amp;nbsp; \tikzset{my length=2cm}
&lt;br&gt;works, but
&lt;br&gt;&amp;nbsp; &amp;nbsp; \tikzset{my length=2cm plus 1ex minus 0.5ex}
&lt;br&gt;doesn't.
&lt;br&gt;Any ideas ?
&lt;br&gt;Thanks in advance,
&lt;br&gt;&lt;br&gt;Nicolas
&lt;br&gt;&lt;br&gt;%----%&amp;lt;-----
&lt;br&gt;\documentclass{article}
&lt;br&gt;\RequirePackage{tikz}
&lt;br&gt;\tikzset{
&lt;br&gt;&amp;nbsp; my length/.code=\pgfmathsetlengthmacro\mylength{#1}
&lt;br&gt;}
&lt;br&gt;\tikzset{my length=2cm}% plus 1ex minus 0.5ex}
&lt;br&gt;\begin{document}
&lt;br&gt;A
&lt;br&gt;&lt;br&gt;\vspace{\mylength}
&lt;br&gt;B
&lt;br&gt;&lt;br&gt;C
&lt;br&gt;\end{document}
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;pgf-users@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgf-and-elastic-spaces-tp26409479p26413213.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26412703</id>
	<title>how to ignore &quot;undefined&quot; points in gnuplot table file?</title>
	<published>2009-11-18T10:01:44Z</published>
	<updated>2009-11-18T10:01:44Z</updated>
	<author>
		<name>Andy-42</name>
	</author>
	<content type="html">I'm using pgf's plot function support to generate points based on a
&lt;br&gt;conditional statement inside gnuplot. One of the result values of my
&lt;br&gt;conditional statement is &amp;quot;1/0&amp;quot;, an undefined value. Gnuplot supports
&lt;br&gt;this as a simple way to filter out certain x values from your plot.
&lt;br&gt;Using gnuplot's &amp;quot;table&amp;quot; output mode, these undefined points are
&lt;br&gt;included as lines &amp;quot;0.00000 0.00000 u&amp;quot; (note the &amp;quot;u&amp;quot; or &amp;quot;undefined&amp;quot;
&lt;br&gt;flag at the end of the line). Unfortunately, when pgf reads the output
&lt;br&gt;table file, it doesn't pay attention to the &amp;quot;u&amp;quot; flag, so any undefined
&lt;br&gt;points are plotted at (0,0). Here's an example:
&lt;br&gt;&lt;br&gt;{{{
&lt;br&gt;\documentclass{article}
&lt;br&gt;\usepackage{tikz}
&lt;br&gt;\begin{document}
&lt;br&gt;\begin{tikzpicture}[ycomb,domain=-5:5]
&lt;br&gt;&amp;nbsp; %% the &amp;quot;1/0&amp;quot; in the function below will cause gnuplot to generate an
&lt;br&gt;&amp;nbsp; %% &amp;quot;undefined&amp;quot; y value for x, which will be included in the output table file
&lt;br&gt;&amp;nbsp; %% as a line &amp;quot;0.00000 0.00000 u&amp;quot;. Because TiKZ doesn't pay attention to the
&lt;br&gt;&amp;nbsp; %% &amp;quot;u&amp;quot; flag, spurious plot marks are drawn at (0,0).
&lt;br&gt;&amp;nbsp; \draw plot[id=cos,mark=*] function{(x&amp;gt;0 &amp;&amp; x&amp;lt;0.5 ? 1/0 : cos(x))};
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;\end{document}
&lt;br&gt;}}}
&lt;br&gt;&lt;br&gt;So, perhaps I should figure out how to extend pgf's table file reading
&lt;br&gt;mechanism to optionally ignore these &amp;quot;undefined&amp;quot; points in the input
&lt;br&gt;file. Thoughts?
&lt;br&gt;&lt;br&gt;Andy
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412703&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-ignore-%22undefined%22-points-in-gnuplot-table-file--tp26412703p26412703.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26409479</id>
	<title>pgf and elastic spaces</title>
	<published>2009-11-18T07:02:55Z</published>
	<updated>2009-11-18T07:02:55Z</updated>
	<author>
		<name>Nicolas Girard-4</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;I need pgf to let me specify elastic spaces. In the following code,
&lt;br&gt;&amp;nbsp; &amp;nbsp; \tikzset{my length=2cm}
&lt;br&gt;works, but
&lt;br&gt;&amp;nbsp; &amp;nbsp; \tikzset{my length=2cm plus 1ex minus 0.5ex}
&lt;br&gt;doesn't.
&lt;br&gt;Any ideas ?
&lt;br&gt;Thanks in advance,
&lt;br&gt;&lt;br&gt;Nicolas
&lt;br&gt;&lt;br&gt;%----%&amp;lt;-----
&lt;br&gt;\documentclass{article}
&lt;br&gt;\RequirePackage{tikz}
&lt;br&gt;\tikzset{
&lt;br&gt;&amp;nbsp; my length/.code=\pgfmathsetlengthmacro\mylength{#1}
&lt;br&gt;}
&lt;br&gt;\tikzset{my length=2cm}% plus 1ex minus 0.5ex}
&lt;br&gt;\begin{document}
&lt;br&gt;A
&lt;br&gt;&lt;br&gt;\vspace{\mylength}
&lt;br&gt;B
&lt;br&gt;&lt;br&gt;C
&lt;br&gt;\end{document}
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26409479&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgf-and-elastic-spaces-tp26409479p26409479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26402395</id>
	<title>bug in const plot handler?</title>
	<published>2009-11-17T20:29:46Z</published>
	<updated>2009-11-17T20:29:46Z</updated>
	<author>
		<name>hazen</name>
	</author>
	<content type="html">With coordinate (y) scaling in effect, the right endpoint of the first
&lt;br&gt;segment of a &amp;quot;const&amp;quot; plot is lower than it should be. Oddly enough,
&lt;br&gt;this miscalculation is limited to the first coordinate of the plot
&lt;br&gt;alone; No other segments seem to be affected.
&lt;br&gt;&lt;br&gt;I'm using the pgf/tikz build from the texample.net site dated
&lt;br&gt;2009-11-16. See the following example to reproduce the issue:
&lt;br&gt;&lt;br&gt;{{{
&lt;br&gt;\documentclass{article}
&lt;br&gt;\usepackage{tikz}
&lt;br&gt;\begin{document}
&lt;br&gt;&lt;br&gt;% no scaling, should be fine
&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;&amp;nbsp; \draw[blue] plot[const plot] coordinates{(0,1) (1,2) (2,1.2) (3,0)};
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;&lt;br&gt;% only scaling x, the problem is not evident
&lt;br&gt;\begin{tikzpicture}[xscale=0.5]
&lt;br&gt;&amp;nbsp; \draw[red] plot[const plot] coordinates{(0,1) (1,2) (2,1.2) (3,0)};
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;&lt;br&gt;% only scaling y, we see a problem with the right endpoint of the
&lt;br&gt;first &amp;quot;const&amp;quot; segment
&lt;br&gt;\begin{tikzpicture}[yscale=0.5]
&lt;br&gt;&amp;nbsp; \draw[red] plot[const plot] coordinates{(0,1) (1,2) (2,1.2) (3,0)};
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;&lt;br&gt;% scaling, we again see the issue
&lt;br&gt;\begin{tikzpicture}[scale=0.5]
&lt;br&gt;&amp;nbsp; \draw[red] plot[const plot] coordinates{(0,1) (1,2) (2,1.2) (3,0)};
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;\end{document}
&lt;br&gt;}}}
&lt;br&gt;&lt;br&gt;Any thoughts on how I might fix this?
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Andy
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26402395&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bug-in-const-plot-handler--tp26402395p26402395.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26393950</id>
	<title>Re: picture taking whole paper size</title>
	<published>2009-11-17T09:22:13Z</published>
	<updated>2009-11-17T09:22:13Z</updated>
	<author>
		<name>Zerothi</name>
	</author>
	<content type="html">&lt;div&gt;In such situations i always use the externalization library. Then when you print it you just have to set scaling to an appropiate scale.&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Or you can simply use the current page node! This has to be used in conjunction with remember picture and overlay. So&lt;/div&gt;

&lt;div&gt;\documentclass[a4paper,oneside,onecolumn]{article}&lt;br&gt;% here article does suffice becomes the important part is drawn as an overlay! :D&lt;br&gt;\usepackage{tikz}&lt;br&gt;\begin{document}%&lt;br&gt;\pagestyle{empty}&lt;br&gt;\begin{tikzpicture}[remember picture,overlay]&lt;br&gt;

	\pgftransformshift{\pgfpointanchor{current page}{south west}}&lt;br&gt;	\path[draw,color=black,thin] (0,0) -- (21.00000,29.70000);%&lt;br&gt;	\path[draw,color=black,thin] (10.50000,14.85000) -- (0.00000,22.27424) -- (6.12188,29.70000);%&lt;br&gt;

	\path[draw,color=black,thin] (17.65890,24.97473) -- (10.97602,29.70000);%&lt;br&gt;	\path[draw,color=black!30,thin] (17.65890,24.97473) -- (21.00000,22.61234);%&lt;br&gt;	\path[draw,color=black,thin] (3.22563,4.56197) -- (0.00000,6.84272);%&lt;br&gt;

	\path[draw,color=black!30,thin] (3.22563,4.56197) -- (9.67756,0.00000);%&lt;br&gt;	\path[draw,color=black!30,thin] (9.87756,0.00000) -- (21.00000,7.22576);%&lt;br&gt;\end{tikzpicture}%&lt;br&gt;\end{document}&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;

Hope this helps!&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Nick&lt;/div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/17 Susan Dittmar &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393950&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Susan.Dittmar@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;

Hello,&lt;br&gt;
&lt;br&gt;
I would like to create a one-page document only containing one picture,&lt;br&gt;
which fills the whole of the page. Unfortunately I did not manage to tell&lt;br&gt;
pdflatex not to start with an empty page yet. Any ideas?&lt;br&gt;
(In case someone wonders: the lines are the fold marks for the origami&lt;br&gt;
double cd case by Jorma Oksanen.)&lt;br&gt;
&lt;br&gt;
Thanks in advance,&lt;br&gt;
&lt;br&gt;
        Susan&lt;br&gt;
&lt;br&gt;
\documentclass[a4paper,oneside,onecolumn,10pt,pagesize,parskip-]{scrartcl}&lt;br&gt;
% minimal does not suffice because I need size commands and such for the&lt;br&gt;
% description of the CD contents; both article and minimal yields similar&lt;br&gt;
% results&lt;br&gt;
\usepackage[a4paper,left=0mm,right=0mm,top=0mm,bottom=0mm]{geometry}&lt;br&gt;
\usepackage[german]{babel}&lt;br&gt;
\usepackage{tikz}&lt;br&gt;
\usepackage{rotating}&lt;br&gt;
\usepgflibrary{plotmarks}&lt;br&gt;
\begin{document}%&lt;br&gt;
\begin{tikzpicture}%&lt;br&gt;
\path[draw,color=black,thin] (0.00000,0.00000) -- (21.00000,29.70000);%&lt;br&gt;
\path[draw,color=black,thin] (10.50000,14.85000) -- (0.00000,22.27424) -- (6.12188,29.70000);%&lt;br&gt;
\path[draw,color=black,thin] (17.65890,24.97473) -- (10.97602,29.70000);%&lt;br&gt;
\path[draw,color=black!30,thin] (17.65890,24.97473) -- (21.00000,22.61234);%&lt;br&gt;
\path[draw,color=black,thin] (3.22563,4.56197) -- (0.00000,6.84272);%&lt;br&gt;
\path[draw,color=black!30,thin] (3.22563,4.56197) -- (9.67756,0.00000);%&lt;br&gt;
\path[draw,color=black!30,thin] (9.87756,0.00000) -- (21.00000,7.22576);%&lt;br&gt;
\end{tikzpicture}%&lt;br&gt;
\end{document}&lt;br&gt;
&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
pgf-users mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393950&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393950&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/picture-taking-whole-paper-size-tp26393384p26393950.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26393384</id>
	<title>picture taking whole paper size</title>
	<published>2009-11-17T08:23:15Z</published>
	<updated>2009-11-17T08:23:15Z</updated>
	<author>
		<name>Susan Dittmar-3</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I would like to create a one-page document only containing one picture,
&lt;br&gt;which fills the whole of the page. Unfortunately I did not manage to tell
&lt;br&gt;pdflatex not to start with an empty page yet. Any ideas?
&lt;br&gt;(In case someone wonders: the lines are the fold marks for the origami
&lt;br&gt;double cd case by Jorma Oksanen.)
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Susan
&lt;br&gt;&lt;br&gt;\documentclass[a4paper,oneside,onecolumn,10pt,pagesize,parskip-]{scrartcl}
&lt;br&gt;% minimal does not suffice because I need size commands and such for the
&lt;br&gt;% description of the CD contents; both article and minimal yields similar
&lt;br&gt;% results
&lt;br&gt;\usepackage[a4paper,left=0mm,right=0mm,top=0mm,bottom=0mm]{geometry}
&lt;br&gt;\usepackage[german]{babel}
&lt;br&gt;\usepackage{tikz}
&lt;br&gt;\usepackage{rotating}
&lt;br&gt;\usepgflibrary{plotmarks}
&lt;br&gt;\begin{document}%
&lt;br&gt;\begin{tikzpicture}%
&lt;br&gt;\path[draw,color=black,thin] (0.00000,0.00000) -- (21.00000,29.70000);%
&lt;br&gt;\path[draw,color=black,thin] (10.50000,14.85000) -- (0.00000,22.27424) -- (6.12188,29.70000);%
&lt;br&gt;\path[draw,color=black,thin] (17.65890,24.97473) -- (10.97602,29.70000);%
&lt;br&gt;\path[draw,color=black!30,thin] (17.65890,24.97473) -- (21.00000,22.61234);%
&lt;br&gt;\path[draw,color=black,thin] (3.22563,4.56197) -- (0.00000,6.84272);%
&lt;br&gt;\path[draw,color=black!30,thin] (3.22563,4.56197) -- (9.67756,0.00000);%
&lt;br&gt;\path[draw,color=black!30,thin] (9.87756,0.00000) -- (21.00000,7.22576);%
&lt;br&gt;\end{tikzpicture}%
&lt;br&gt;\end{document}
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26393384&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26393384/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/picture-taking-whole-paper-size-tp26393384p26393384.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26362265</id>
	<title>Re: pgfplots manual can't be compiled with latest gnuplot 4.2.6</title>
	<published>2009-11-15T11:16:53Z</published>
	<updated>2009-11-15T11:16:53Z</updated>
	<author>
		<name>Christian Feuersaenger</name>
	</author>
	<content type="html">Hello Leo,
&lt;br&gt;&lt;br&gt;thank you for pointing this out! I have just commited a patch to PGF CVS 
&lt;br&gt;which uses 'set table &amp;quot;&amp;lt;file&amp;gt;&amp;quot;' &amp;nbsp;instead of the deprecated 'set terminal 
&lt;br&gt;table'.
&lt;br&gt;&lt;br&gt;This change will apply to pgfplots as well (if pgf CVS is installed).
&lt;br&gt;&lt;br&gt;It seems 'set terminal table' is deprecated since 2005, so I hope this 
&lt;br&gt;does not pose conflicts with users of older gnuplot users.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26362265&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-pgfplots-manual-can%27t-be-compiled-with-latest-gnuplot-4.2.6-tp26362265p26362265.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26362256</id>
	<title>Re: Fadings and externalization lib</title>
	<published>2009-11-15T10:57:49Z</published>
	<updated>2009-11-15T10:57:49Z</updated>
	<author>
		<name>Christian Feuersaenger</name>
	</author>
	<content type="html">Hello Florian,
&lt;br&gt;&lt;br&gt;thank you for pointing out problems with the external lib and fadings! 
&lt;br&gt;You are right, this doesn't work as expected. The external lib tries to 
&lt;br&gt;externalize the picture which is intended to store the transparency 
&lt;br&gt;things - so this information is no longer available.
&lt;br&gt;&lt;br&gt;I have written special handling in the external library (CVS version of 
&lt;br&gt;today evening) to suppress this bug.
&lt;br&gt;&lt;br&gt;However, the new special handling does ONLY work in one of the two 
&lt;br&gt;following cases:
&lt;br&gt;&lt;br&gt;1. \tikzexternalize is called AFTER \usetikzlibrary{fadings}
&lt;br&gt;2. all fadings are created BEFORE \tikzexternalize.
&lt;br&gt;&lt;br&gt;The second part does also work without the new special handling.
&lt;br&gt;&lt;br&gt;What it does is disable the external library for the temporary fading 
&lt;br&gt;picture. The two cases above are now also in the docs for the external 
&lt;br&gt;library.
&lt;br&gt;&lt;br&gt;Thank you for reporting this issue!
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26362256&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fadings-and-externalization-lib-tp26306287p26362256.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26361852</id>
	<title>Re: Naming lines with tikz 2D</title>
	<published>2009-11-15T10:36:48Z</published>
	<updated>2009-11-15T10:36:48Z</updated>
	<author>
		<name>Alain Matthes-2</name>
	</author>
	<content type="html">&lt;br&gt;Le 15 nov. 2009 à 18:10, Hugues Vermeiren a écrit :
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello, Tikz 2D users.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; First of all, let me thank &amp;nbsp;A.Matthes for his wonderfull package, it really 
&lt;br&gt;&amp;gt; helps saving time.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there an easy way to label or name Lines with Tikz-2d?
&lt;br&gt;&amp;gt; The compiler tells me the Line family commands (\tkzLine, \tkzParaLL, etc) 
&lt;br&gt;&amp;gt; do not know the 'name' option.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What I do is to place, and name, a point on the line, which implies some 
&lt;br&gt;&amp;gt; more manipulations.
&lt;br&gt;&amp;gt; But you can also use a classical tikz command using a node.
&lt;br&gt;&amp;gt; If Tikz-2D could do the job, it'd be fine.
&lt;/div&gt;&lt;br&gt;Hi
&lt;br&gt;&lt;br&gt;Yes it's not very easy ... :( sorry
&lt;br&gt;&lt;br&gt;It was the first public version of tkz-2d and I need to update a lot of things before
&lt;br&gt;&amp;nbsp;uploading the package on the ctan server. 
&lt;br&gt;&lt;br&gt;Actually the good way is
&lt;br&gt;&lt;br&gt;\tkzLine[prefix = dm](S/Q)
&lt;br&gt;&lt;br&gt;you get a line with the two points S and Q 
&lt;br&gt;&lt;br&gt;The extremities of the line are &amp;quot;dml&amp;quot; and &amp;quot;dmr&amp;quot; (by default the prefix is &amp;quot;d&amp;quot;
&lt;br&gt;&lt;br&gt;You can use a node with the tikz syntax 
&lt;br&gt;&lt;br&gt;\node[above left] at (dbr) {$\Delta$}; 
&lt;br&gt;&lt;br&gt;If you preferr to keep the tkz-2d syntax, 
&lt;br&gt;you can get the coordinates of &amp;quot;dml&amp;quot; with
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; \tkzGetPointxy(dbr){pt} &amp;nbsp;
&lt;br&gt;&lt;br&gt;with this macro, now you have \ptx and \pty the coordinates of the node
&lt;br&gt;Then you can use
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; \tkzText(\ptx,\pty){$\Delta$} &amp;nbsp;or tkzPoint ...
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;&lt;br&gt;Alain Matthes
&lt;br&gt;&lt;br&gt;PS If you have some difficulties, you can send me your file 
&lt;br&gt;&amp;nbsp;and sorry for my bad english language.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26361852&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Naming-lines-with-tikz-2D-tp26361049p26361852.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26361049</id>
	<title>Naming lines with tikz 2D</title>
	<published>2009-11-15T09:10:43Z</published>
	<updated>2009-11-15T09:10:43Z</updated>
	<author>
		<name>Hugues Vermeiren</name>
	</author>
	<content type="html">Hello, Tikz 2D users.
&lt;br&gt;&lt;br&gt;First of all, let me thank &amp;nbsp;A.Matthes for his wonderfull package, it really 
&lt;br&gt;helps saving time.
&lt;br&gt;&lt;br&gt;Is there an easy way to label or name Lines with Tikz-2d?
&lt;br&gt;The compiler tells me the Line family commands (\tkzLine, \tkzParaLL, etc) 
&lt;br&gt;do not know the 'name' option.
&lt;br&gt;&lt;br&gt;What I do is to place, and name, a point on the line, which implies some 
&lt;br&gt;more manipulations.
&lt;br&gt;But you can also use a classical tikz command using a node.
&lt;br&gt;If Tikz-2D could do the job, it'd be fine.
&lt;br&gt;&lt;br&gt;Thanks to all,
&lt;br&gt;&lt;br&gt;Hugues Vermeiren 
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26361049&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Naming-lines-with-tikz-2D-tp26361049p26361049.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26358891</id>
	<title>pgfplots: old style figures for tick labels</title>
	<published>2009-11-15T04:12:51Z</published>
	<updated>2009-11-15T04:12:51Z</updated>
	<author>
		<name>leon-9</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;When use old style figures, how to make the labels align like they do in
&lt;br&gt;the text? Thank you.
&lt;br&gt;&lt;br&gt;--8&amp;lt;---------------cut here---------------start-------------&amp;gt;8---
&lt;br&gt;\documentclass[12pt]{article}
&lt;br&gt;\usepackage[T1]{fontenc}
&lt;br&gt;\renewcommand\rmdefault{pmnj}
&lt;br&gt;% Use old style figures in math mode
&lt;br&gt;\DeclareSymbolFont{numbers}{T1}{pmnj}{m}{n}
&lt;br&gt;\DeclareMathSymbol{0}\mathalpha{numbers}{&amp;quot;30}
&lt;br&gt;\DeclareMathSymbol{1}\mathalpha{numbers}{&amp;quot;31}
&lt;br&gt;\DeclareMathSymbol{2}\mathalpha{numbers}{&amp;quot;32}
&lt;br&gt;\DeclareMathSymbol{3}\mathalpha{numbers}{&amp;quot;33}
&lt;br&gt;\DeclareMathSymbol{4}\mathalpha{numbers}{&amp;quot;34}
&lt;br&gt;\DeclareMathSymbol{5}\mathalpha{numbers}{&amp;quot;35}
&lt;br&gt;\DeclareMathSymbol{6}\mathalpha{numbers}{&amp;quot;36}
&lt;br&gt;\DeclareMathSymbol{7}\mathalpha{numbers}{&amp;quot;37}
&lt;br&gt;\DeclareMathSymbol{8}\mathalpha{numbers}{&amp;quot;38}
&lt;br&gt;\DeclareMathSymbol{9}\mathalpha{numbers}{&amp;quot;39}
&lt;br&gt;&lt;br&gt;\usepackage{pgfplots}
&lt;br&gt;&lt;br&gt;\begin{document}
&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;&amp;nbsp; \begin{axis}
&lt;br&gt;&amp;nbsp; &amp;nbsp; [
&lt;br&gt;&amp;nbsp; &amp;nbsp; xmin=-28,xmax=-20,ymin=-100,ymax=0,
&lt;br&gt;&amp;nbsp; &amp;nbsp; width=12cm,
&lt;br&gt;&amp;nbsp; &amp;nbsp; height=8cm
&lt;br&gt;&amp;nbsp; &amp;nbsp; ]
&lt;br&gt;&lt;br&gt;&amp;nbsp; \end{axis}
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;&lt;br&gt;\end{document}
&lt;br&gt;--8&amp;lt;---------------cut here---------------end---------------&amp;gt;8---
&lt;br&gt;&lt;br&gt;In this screenshot, you can see the $-$ not on the same line
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;&lt;br&gt;Leo
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emacs uptime: 54 days, 3 hours, 21 minutes, 22 seconds
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26358891&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;pgf.png&lt;/strong&gt; (20K) &lt;a href=&quot;http://old.nabble.com/attachment/26358891/0/pgf.png&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pgfplots%3A-old-style-figures-for-tick-labels-tp26358891p26358891.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26326699</id>
	<title>Re: Hyperbola</title>
	<published>2009-11-12T13:24:20Z</published>
	<updated>2009-11-12T13:24:20Z</updated>
	<author>
		<name>Matthew Leingang-3</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Anything's possible. &amp;nbsp;But, if I were to write a macro like that, I &amp;nbsp;
&lt;br&gt;would first think about the interface: How would you call it? &amp;nbsp;With &amp;nbsp;
&lt;br&gt;the ellipse it seems &amp;quot;best&amp;quot; to describe it by its center and its major &amp;nbsp;
&lt;br&gt;and minor radii, and the interface is
&lt;br&gt;&lt;br&gt;\draw (0,0) ellipse (1cm and 2cm);
&lt;br&gt;&lt;br&gt;How would you like to describe a hyperbola? &amp;nbsp;It does have a center and &amp;nbsp;
&lt;br&gt;&amp;quot;radii&amp;quot; of sorts.
&lt;br&gt;&lt;br&gt;\draw (0,0) hyperbola (0.87cm and 0.49cm)
&lt;br&gt;&lt;br&gt;Alternatively, you could create something like
&lt;br&gt;&lt;br&gt;\draw (2,-1) hyperbola foci (-1,0) and (1,0);
&lt;br&gt;&lt;br&gt;My real question is how you describe the extent of the curve you want &amp;nbsp;
&lt;br&gt;drawn. &amp;nbsp;Ellipses are closed curves whereas hyperbolae are not. &amp;nbsp;The &amp;nbsp;
&lt;br&gt;GeoGebra code draws a lot, but I'm worried about TeX dimensions &amp;nbsp;
&lt;br&gt;getting too large without some smart endpoints.
&lt;br&gt;&lt;br&gt;On the implementation side, I can guess that the choice of &amp;nbsp;
&lt;br&gt;parametrization can effect the speed of generating the points. &amp;nbsp;You &amp;nbsp;
&lt;br&gt;could use rational functions, as GeoGebra does, or trigonometric ones, &amp;nbsp;
&lt;br&gt;or algebraic ones. &amp;nbsp;It might be enough to use Bézier curves to &amp;nbsp;
&lt;br&gt;approximate, as PGF does for the other conics.
&lt;br&gt;&lt;br&gt;I have no answers, but I thought I'd add my questions to the discussion.
&lt;br&gt;&lt;br&gt;--Matthew
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 12, 2009, at 3:43 PM, Hugues Vermeiren wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello everybody,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For some time now, Geogebra produces Tikz-code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For example, the code corresponding to the hyperbola of focii (1,0) &amp;nbsp;
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; (-1,0) passing through P(2,-1) is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \documentclass[10pt]{article}
&lt;br&gt;&amp;gt; \usepackage{pgf,tikz}
&lt;br&gt;&amp;gt; \usetikzlibrary{arrows}
&lt;br&gt;&amp;gt; \pagestyle{empty}
&lt;br&gt;&amp;gt; \begin{document}
&lt;br&gt;&amp;gt; \begin{tikzpicture}[line cap=round,line join=round,&amp;gt;=triangle
&lt;br&gt;&amp;gt; 45,x=1.0cm,y=1.0cm]
&lt;br&gt;&amp;gt; \clip(-4.3,-3.9) rectangle (8.42,6.3);
&lt;br&gt;&amp;gt; \draw [samples=50,domain=-0.99:0.99,rotate
&lt;br&gt;&amp;gt; around={0:(0,0)},xshift=0cm,yshift=0cm] plot
&lt;br&gt;&amp;gt; ({0.87*(1+\x^2)/(1-\x^2)},{0.49*2*\x/(1-\x^2)});
&lt;br&gt;&amp;gt; \draw [samples=50,domain=-0.99:0.99,rotate
&lt;br&gt;&amp;gt; around={0:(0,0)},xshift=0cm,yshift=0cm] plot
&lt;br&gt;&amp;gt; ({0.87*(-1-\x^2)/(1-\x^2)},{0.49*(-2)*\x/(1-\x^2)});
&lt;br&gt;&amp;gt; \end{tikzpicture}
&lt;br&gt;&amp;gt; \end{document}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ideally, of course, we'd like to produce this code 'by hand' for any &amp;nbsp;
&lt;br&gt;&amp;gt; conic.
&lt;br&gt;&amp;gt; Has anyone written some powerful macro that would do the job?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hugues Vermeiren.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message -----
&lt;br&gt;&amp;gt; From: &amp;quot;Jouke Witteveen&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326699&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j.witteveen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326699&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Thursday, November 12, 2009 5:47 PM
&lt;br&gt;&amp;gt; Subject: [Pgf-users] Hyperbola
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What is the best way to draw a hyperbola in TikZ? The other conic
&lt;br&gt;&amp;gt;&amp;gt; sections, ellipse and parabola, have their own path generating
&lt;br&gt;&amp;gt;&amp;gt; commands, but hyperbola has not.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; - Jouke
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; and focus
&lt;br&gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; pgf-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326699&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 &amp;nbsp;
&lt;br&gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and &amp;nbsp;
&lt;br&gt;&amp;gt; focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; pgf-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326699&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;Matthew Leingang
&lt;br&gt;Clinical Associate Professor of Mathematics
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326699&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;leingang@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326699&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hyperbola-tp26322138p26326699.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26326378</id>
	<title>Re: Hyperbola</title>
	<published>2009-11-12T13:04:02Z</published>
	<updated>2009-11-12T13:04:02Z</updated>
	<author>
		<name>Rouben Rostamian-3</name>
	</author>
	<content type="html">&amp;quot;Jouke Witteveen&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326378&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j.witteveen@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; What is the best way to draw a hyperbola in TikZ? The other conic
&lt;br&gt;&amp;gt; sections, ellipse and parabola, have their own path generating
&lt;br&gt;&amp;gt; commands, but hyperbola has not.
&lt;br&gt;&lt;br&gt;One way is to use the pgfplots package, as in:
&lt;br&gt;&lt;br&gt;\documentclass{article}
&lt;br&gt;\usepackage{pgfplots}
&lt;br&gt;\begin{document}
&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;&amp;nbsp; &amp;nbsp; \begin{axis}[axis x line=none, axis y line=none, no markers]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \addplot {sqrt(1+x^2)};
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \addplot {-sqrt(1+x^2)};
&lt;br&gt;&amp;nbsp; &amp;nbsp; \end{axis}
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;\end{document}
&lt;br&gt;&lt;br&gt;You will find pgfplots in:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.ctan.org/tex-archive/help/Catalogue/entries/pgfplots.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ctan.org/tex-archive/help/Catalogue/entries/pgfplots.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Rouben Rostamian
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326378&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hyperbola-tp26322138p26326378.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26326030</id>
	<title>Re: Hyperbola</title>
	<published>2009-11-12T12:43:03Z</published>
	<updated>2009-11-12T12:43:03Z</updated>
	<author>
		<name>Hugues Vermeiren</name>
	</author>
	<content type="html">Hello everybody,
&lt;br&gt;&lt;br&gt;For some time now, Geogebra produces Tikz-code.
&lt;br&gt;&lt;br&gt;For example, the code corresponding to the hyperbola of focii (1,0) and 
&lt;br&gt;(-1,0) passing through P(2,-1) is:
&lt;br&gt;&lt;br&gt;\documentclass[10pt]{article}
&lt;br&gt;\usepackage{pgf,tikz}
&lt;br&gt;\usetikzlibrary{arrows}
&lt;br&gt;\pagestyle{empty}
&lt;br&gt;\begin{document}
&lt;br&gt;\begin{tikzpicture}[line cap=round,line join=round,&amp;gt;=triangle 
&lt;br&gt;45,x=1.0cm,y=1.0cm]
&lt;br&gt;\clip(-4.3,-3.9) rectangle (8.42,6.3);
&lt;br&gt;\draw [samples=50,domain=-0.99:0.99,rotate 
&lt;br&gt;around={0:(0,0)},xshift=0cm,yshift=0cm] plot 
&lt;br&gt;({0.87*(1+\x^2)/(1-\x^2)},{0.49*2*\x/(1-\x^2)});
&lt;br&gt;\draw [samples=50,domain=-0.99:0.99,rotate 
&lt;br&gt;around={0:(0,0)},xshift=0cm,yshift=0cm] plot 
&lt;br&gt;({0.87*(-1-\x^2)/(1-\x^2)},{0.49*(-2)*\x/(1-\x^2)});
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;\end{document}
&lt;br&gt;&lt;br&gt;Ideally, of course, we'd like to produce this code 'by hand' for any conic.
&lt;br&gt;Has anyone written some powerful macro that would do the job?
&lt;br&gt;&lt;br&gt;Hugues Vermeiren.
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Jouke Witteveen&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326030&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j.witteveen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326030&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Thursday, November 12, 2009 5:47 PM
&lt;br&gt;Subject: [Pgf-users] Hyperbola
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What is the best way to draw a hyperbola in TikZ? The other conic
&lt;br&gt;&amp;gt; sections, ellipse and parabola, have their own path generating
&lt;br&gt;&amp;gt; commands, but hyperbola has not.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; - Jouke
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
&lt;br&gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus 
&lt;br&gt;&amp;gt; on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; pgf-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326030&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&amp;nbsp;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326030&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hyperbola-tp26322138p26326030.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322138</id>
	<title>Hyperbola</title>
	<published>2009-11-12T08:47:41Z</published>
	<updated>2009-11-12T08:47:41Z</updated>
	<author>
		<name>Jouke Witteveen</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;What is the best way to draw a hyperbola in TikZ? The other conic
&lt;br&gt;sections, ellipse and parabola, have their own path generating
&lt;br&gt;commands, but hyperbola has not.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;- Jouke
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322138&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hyperbola-tp26322138p26322138.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306287</id>
	<title>Fadings and externalization lib</title>
	<published>2009-11-11T10:16:12Z</published>
	<updated>2009-11-11T10:16:12Z</updated>
	<author>
		<name>Florian Huber</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I'm trying to use the externalization library, but there seems to be a 
&lt;br&gt;problem when using transparaency or at least with the fadings library. I 
&lt;br&gt;suspect it's a problem with pdflatex.
&lt;br&gt;&lt;br&gt;-- SNIP --
&lt;br&gt;\documentclass{minimal}
&lt;br&gt;&lt;br&gt;\usepackage{tikz}
&lt;br&gt;&lt;br&gt;\usetikzlibrary{external}
&lt;br&gt;\tikzexternalize{minimal}
&lt;br&gt;&lt;br&gt;\usetikzlibrary{fadings}
&lt;br&gt;\tikzfading[name=foo,inner color=transparent!0,outer color=transparent!100]
&lt;br&gt;&lt;br&gt;\begin{document}
&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;\fill[red,path fading=foo] circle(5);
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;\end{document}
&lt;br&gt;-- SNAP --
&lt;br&gt;&lt;br&gt;This minimal example works fine without the externalization. Is there a 
&lt;br&gt;workaround for that?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Florian
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306287&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fadings-and-externalization-lib-tp26306287p26306287.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305848</id>
	<title>Re: odd scaling behavoir</title>
	<published>2009-11-11T10:02:56Z</published>
	<updated>2009-11-11T10:02:56Z</updated>
	<author>
		<name>James Ismail</name>
	</author>
	<content type="html">&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; &quot;&gt;Thanks Marco - it worked.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Sebastián, I was skeptical that your solution could work because the scaling problem I was seeing affected one node in the matrix, so changing the scaling of the matrix would affect all the nodes equally.  When I tried your solution, this was essentially behavior and the problem remained.  Thanks for your input though.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Best,&lt;/div&gt;&lt;div&gt;James&lt;/div&gt;&lt;/span&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 11, 2009 at 12:52 AM, Marco Luca Sbodio &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305848&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marco.sbodio@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hello James,&lt;br&gt;
&lt;br&gt;
the way that I usually solve this kind of problems is by embedding the&lt;br&gt;
whole tikzpicture into a node to which I apply scaling:&lt;br&gt;
&lt;br&gt;
here is your code modified with this approach:&lt;br&gt;
&lt;br&gt;
[[&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;\documentclass{article}&lt;br&gt;
&lt;br&gt;
\usepackage{tikz}&lt;br&gt;
\usetikzlibrary{calc,arrows,positioning}&lt;br&gt;
&lt;br&gt;
\begin{document}&lt;br&gt;
&lt;br&gt;
% define styles&lt;br&gt;
\tikzstyle{sumJunction} = [draw, circle,inner sep=2pt,minimum size=3pt]&lt;br&gt;
\tikzstyle{controller} = [draw, fill=blue!20, text width=5em,text centered,&lt;br&gt;
minimum height=4em]&lt;br&gt;
\tikzstyle{plant} = [draw, fill=red!20, text width=5em,text centered]&lt;br&gt;
\tikzstyle{separatorSmall} = [minimum size=6mm]&lt;br&gt;
\tikzstyle{scalarSignal} = [draw,-latex&amp;#39;]&lt;br&gt;
\tikzstyle{vectorSignal} = [scalarSignal,line width=1.5pt]&lt;br&gt;
&lt;br&gt;
% some constants&lt;br&gt;
\def\sumJuncOffset{12.0}&lt;br&gt;
\def\sumJuncSignOffset{2.75}&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;\begin{tikzpicture}&lt;br&gt;
&lt;br&gt;
\node [scale=0.37] {&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
\begin{tikzpicture}&lt;br&gt;
&lt;br&gt;
% blocks&lt;br&gt;
\matrix [row sep=1mm,column sep=2mm] {&lt;br&gt;
% reference node 3&lt;br&gt;
\path node (ref3) {};&lt;br&gt;
&lt;br&gt;
% sum3&lt;br&gt;
\path ($(ref3)!\sumJuncOffset!(ref3.north)$) node (sum3p) [sumJunction] {+};&lt;br&gt;
\path ($(ref3)!\sumJuncOffset!(ref3.south)$) node (sum3f) [sumJunction] {+};  &amp;amp;&lt;br&gt;
&lt;br&gt;
% separator&lt;br&gt;
\path (ref3.east) node [separatorSmall] (sep3) {}; &amp;amp;&lt;br&gt;
&lt;br&gt;
% C3&lt;br&gt;
\path (sum3p.east) node (blockC1) [controller] {$C_1$};&lt;br&gt;
\path (sum3f.east) node (blockC2) [controller] {$C_2$}; &amp;amp;&lt;br&gt;
% separator&lt;br&gt;
\path (ref3.east) node [separatorSmall] (sep1c) {}; &amp;amp;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
% Plant&lt;br&gt;
\path (sep1c.east)&lt;br&gt;
let \p1 = ($ (blockC1.north) - (blockC2.south) $)&lt;br&gt;
in&lt;br&gt;
node [plant,minimum height=\y1] (blockP) {$P$};&lt;br&gt;
\\};&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
    % sum3 -&amp;gt; C&lt;br&gt;
    \path [vectorSignal] (sum3p) -&amp;gt; (blockC1);&lt;br&gt;
    \path [vectorSignal] (sum3f) -&amp;gt; (blockC2);&lt;br&gt;
&lt;br&gt;
    % C -&amp;gt; P&lt;br&gt;
    \path [vectorSignal] (blockC1) -- (blockP.west |- blockC1);&lt;br&gt;
    \path [vectorSignal] (blockC2) -- (blockP.west |- blockC2);&lt;br&gt;
&lt;br&gt;
\end{tikzpicture}&lt;br&gt;
&lt;br&gt;
};&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;\end{tikzpicture}&lt;br&gt;
&lt;br&gt;
\end{document}&lt;br&gt;
]]&lt;br&gt;
&lt;br&gt;
I hope this helps.&lt;br&gt;
&lt;br&gt;
Best Regards,&lt;br&gt;
marco&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
On Wed, Nov 11, 2009 at 2:07 AM, James Samir Ismail &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305848&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsi@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; I&amp;#39;m seeing some odd scaling behavior.  My code is depicting a block diagram.&lt;br&gt;
&amp;gt;  One of the blocks, P, has a height that is dependent on the placement of&lt;br&gt;
&amp;gt; the two blocks to its left, C_1 and C_2.&lt;br&gt;
&amp;gt; When scaling is set to 1.0 (as in the code below), everything works as&lt;br&gt;
&amp;gt; expected.  However, once I set the scaling  \tikzset{every&lt;br&gt;
&amp;gt; node/.style={scale=1.0}}  to something other than 1.0 (say, 0.75), P becomes&lt;br&gt;
&amp;gt; incorrectly scaled.&lt;br&gt;
&amp;gt; It&amp;#39;s seems like the scaling is being applied twice.  Maybe there&amp;#39;s a better&lt;br&gt;
&amp;gt; way to scale an entire picture (although this has worked beautifully int he&lt;br&gt;
&amp;gt; past for me)?  Any thoughts?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; James&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Here&amp;#39;s the code:&lt;br&gt;
&amp;gt; \documentclass{article}&lt;br&gt;
&amp;gt; \usepackage{tikz}&lt;br&gt;
&amp;gt; \usetikzlibrary{calc,arrows,positioning}&lt;br&gt;
&amp;gt; \begin{document}&lt;br&gt;
&amp;gt; % define styles&lt;br&gt;
&amp;gt; \tikzstyle{sumJunction} = [draw, circle,inner sep=2pt,minimum size=3pt]&lt;br&gt;
&amp;gt; \tikzstyle{controller} = [draw, fill=blue!20, text width=5em,text centered,&lt;br&gt;
&amp;gt; minimum height=4em]&lt;br&gt;
&amp;gt; \tikzstyle{plant} = [draw, fill=red!20, text width=5em,text centered]&lt;br&gt;
&amp;gt; \tikzstyle{separatorSmall} = [minimum size=6mm]&lt;br&gt;
&amp;gt; \tikzstyle{scalarSignal} = [draw,-latex&amp;#39;]&lt;br&gt;
&amp;gt; \tikzstyle{vectorSignal} = [scalarSignal,line width=1.5pt]&lt;br&gt;
&amp;gt; % some constants&lt;br&gt;
&amp;gt; \def\sumJuncOffset{12.0}&lt;br&gt;
&amp;gt; \def\sumJuncSignOffset{2.75}&lt;br&gt;
&amp;gt; % scaling&lt;br&gt;
&amp;gt; \tikzset{every node/.style={scale=1.0}}&lt;br&gt;
&amp;gt; \begin{tikzpicture}&lt;br&gt;
&amp;gt; % blocks&lt;br&gt;
&amp;gt; \matrix [row sep=1mm,column sep=2mm] {&lt;br&gt;
&amp;gt; % reference node 3&lt;br&gt;
&amp;gt; \path node (ref3) {};&lt;br&gt;
&amp;gt; % sum3&lt;br&gt;
&amp;gt; \path ($(ref3)!\sumJuncOffset!(ref3.north)$) node (sum3p) [sumJunction] {+};&lt;br&gt;
&amp;gt; \path ($(ref3)!\sumJuncOffset!(ref3.south)$) node (sum3f) [sumJunction]&lt;br&gt;
&amp;gt; {+};  &amp;amp;&lt;br&gt;
&amp;gt; % separator&lt;br&gt;
&amp;gt; \path (ref3.east) node [separatorSmall] (sep3) {}; &amp;amp;&lt;br&gt;
&amp;gt; % C3&lt;br&gt;
&amp;gt; \path (sum3p.east) node (blockC1) [controller] {$C_1$};&lt;br&gt;
&amp;gt; \path (sum3f.east) node (blockC2) [controller] {$C_2$}; &amp;amp;&lt;br&gt;
&amp;gt; % separator&lt;br&gt;
&amp;gt; \path (ref3.east) node [separatorSmall] (sep1c) {}; &amp;amp;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; % Plant&lt;br&gt;
&amp;gt; \path (sep1c.east)&lt;br&gt;
&amp;gt; let \p1 = ($ (blockC1.north) - (blockC2.south) $)&lt;br&gt;
&amp;gt; in&lt;br&gt;
&amp;gt; node [plant,minimum height=\y1] (blockP) {$P$};&lt;br&gt;
&amp;gt; \\};&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     % sum3 -&amp;gt; C&lt;br&gt;
&amp;gt;     \path [vectorSignal] (sum3p) -&amp;gt; (blockC1);&lt;br&gt;
&amp;gt;     \path [vectorSignal] (sum3f) -&amp;gt; (blockC2);&lt;br&gt;
&amp;gt;     % C -&amp;gt; P&lt;br&gt;
&amp;gt;     \path [vectorSignal] (blockC1) -- (blockP.west |- blockC1);&lt;br&gt;
&amp;gt;     \path [vectorSignal] (blockC2) -- (blockP.west |- blockC2);&lt;br&gt;
&amp;gt; \end{tikzpicture}&lt;br&gt;
&amp;gt; \end{document}&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&amp;gt; ------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
&amp;gt; trial. Simplify your report design, integration and deployment - and focus&lt;br&gt;
&amp;gt; on&lt;br&gt;
&amp;gt; what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; pgf-users mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305848&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
Marco Sbodio&lt;br&gt;
perl -e &amp;#39;while(++$_){print$_,$/if(&amp;quot;x&amp;quot;x$_)!~/^(xx+)\1+$/}&amp;#39;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305848&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/odd-scaling-behavoir-tp26295745p26305848.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26304543</id>
	<title>Positioning of tikz graphics in text</title>
	<published>2009-11-11T08:48:28Z</published>
	<updated>2009-11-11T08:48:28Z</updated>
	<author>
		<name>feilchenfeldt</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;&lt;br&gt;I would like to ask a question.
&lt;br&gt;I have a general problem with positioning tikz-pictures on a page. I read large parts of the pgf-manual and made an internet research but it is not clear to me how I can influence where a tikz-picture is placed on the page/ in the text.
&lt;br&gt;&lt;br&gt;It seems to me that tikz calculates the space it needs for all the element in the tikz-environment and then puts them on the current position (aligned to the left upper or lower corner?). It is clear to me how to position inside the tikz envrionment, the question is how the whole tikz-picture is placed in the text.
&lt;br&gt;&lt;br&gt;The current problem I have is when I draw a bended line defined by (virtual) control points. Tikz seems to believe that those virtual control points are part of the image and seems to reserve space for them, which makes the tikz element much bigger then it is, resulting in awful white spaces.
&lt;br&gt;&lt;br&gt;Here the example, I would like to have the &amp;quot;fish&amp;quot; aligned with the text:
&lt;br&gt;&lt;img src=&quot;http://old.nabble.com/file/p26304543/tikz_positioning_fish.png&quot; border=&quot;0&quot; /&gt;&lt;br&gt;&lt;br&gt;The code for the fish is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;\newcommand{\tikzfish}[4]{%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;	\begin{scope}[scale=#3]
&lt;br&gt;&amp;nbsp;			\filldraw [draw=#4,fill=#4] (#1,#2) .. controls +(1,-1.5) and +(-1,2) .. +(3,-0.5) .. controls +(2,-2.5) and +(1,1.5) .. +(0,-1) -- cycle;
&lt;br&gt;&amp;nbsp;			\filldraw [black] (#1+2.8,#2-0.2) circle (0.05);
&lt;br&gt;&amp;nbsp;			\filldraw [black] (#1+2.8,#2-0.7) -- +(0.1,0);
&lt;br&gt;&amp;nbsp;			\end{scope}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }%
&lt;br&gt;&lt;br&gt;And in the text it is inserted by:
&lt;br&gt;...
&lt;br&gt;\item A species has two alternative forms \parbox[b]{1cm}{\tikz \tikzfish{100}{-20}{0.2}{red};}
&lt;br&gt;&amp;nbsp;and \tikz \tikzfish{0}{0}{0.2}{blue};
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;The position of the first point (first two arguments of \tikzfish) seems useless. Position is set automatically.
&lt;br&gt;&lt;br&gt;Again, it seems that the control point at (2,-2.5) makes the problem. Do you have any idea how to solve it? Usually people insert tikz elements in text as \node but fishes are no defined options for nodes. I would also be very thankful for more elegant methods.
&lt;br&gt;&lt;br&gt;Thank you very much in advance for any useful comments,
&lt;br&gt;Hannes
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Positioning-of-tikz-graphics-in-text-tp26304543p26304543.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26298042</id>
	<title>Re: odd scaling behavoir</title>
	<published>2009-11-11T01:00:39Z</published>
	<updated>2009-11-11T01:00:39Z</updated>
	<author>
		<name>Sebastián PEÑA SALDARRIAGA</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I think scaling is applied twice because matrices are also nodes. 
&lt;br&gt;Overriding the scale option at the matrix level like can be a solution :
&lt;br&gt;&lt;br&gt;\tikzset{every node/.style={scale=0.75}}
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;\matrix [row sep=1mm,column sep=2mm, scale=1.0] {
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;Sebastian
&lt;br&gt;&lt;br&gt;James Samir Ismail a écrit :
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm seeing some odd scaling behavior. &amp;nbsp;My code is depicting a block 
&lt;br&gt;&amp;gt; diagram. &amp;nbsp;One of the blocks, P, has a height that is dependent on the 
&lt;br&gt;&amp;gt; placement of the two blocks to its left, C_1 and C_2.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When scaling is set to 1.0 (as in the code below), everything works as 
&lt;br&gt;&amp;gt; expected. &amp;nbsp;However, once I set the scaling &amp;nbsp;\tikzset{every 
&lt;br&gt;&amp;gt; node/.style={scale=1.0}} &amp;nbsp;to something other than 1.0 (say, 0.75), P 
&lt;br&gt;&amp;gt; becomes incorrectly scaled.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It's seems like the scaling is being applied twice. &amp;nbsp;Maybe there's a 
&lt;br&gt;&amp;gt; better way to scale an entire picture (although this has worked 
&lt;br&gt;&amp;gt; beautifully int he past for me)? &amp;nbsp;Any thoughts?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; James
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here's the code:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \documentclass{article}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \usepackage{tikz}
&lt;br&gt;&amp;gt; \usetikzlibrary{calc,arrows,positioning}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \begin{document}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % define styles
&lt;br&gt;&amp;gt; \tikzstyle{sumJunction} = [draw, circle,inner sep=2pt,minimum size=3pt]
&lt;br&gt;&amp;gt; \tikzstyle{controller} = [draw, fill=blue!20, text width=5em,text 
&lt;br&gt;&amp;gt; centered, minimum height=4em]
&lt;br&gt;&amp;gt; \tikzstyle{plant} = [draw, fill=red!20, text width=5em,text centered]
&lt;br&gt;&amp;gt; \tikzstyle{separatorSmall} = [minimum size=6mm]
&lt;br&gt;&amp;gt; \tikzstyle{scalarSignal} = [draw,-latex']
&lt;br&gt;&amp;gt; \tikzstyle{vectorSignal} = [scalarSignal,line width=1.5pt]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % some constants
&lt;br&gt;&amp;gt; \def\sumJuncOffset{12.0} 
&lt;br&gt;&amp;gt; \def\sumJuncSignOffset{2.75}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % scaling
&lt;br&gt;&amp;gt; \tikzset{every node/.style={scale=1.0}}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \begin{tikzpicture}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % blocks
&lt;br&gt;&amp;gt; \matrix [row sep=1mm,column sep=2mm] {
&lt;br&gt;&amp;gt; % reference node 3
&lt;br&gt;&amp;gt; \path node (ref3) {};
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % sum3
&lt;br&gt;&amp;gt; \path ($(ref3)!\sumJuncOffset!(ref3.north)$) node (sum3p) 
&lt;br&gt;&amp;gt; [sumJunction] {+};
&lt;br&gt;&amp;gt; \path ($(ref3)!\sumJuncOffset!(ref3.south)$) node (sum3f) 
&lt;br&gt;&amp;gt; [sumJunction] {+}; &amp;nbsp;&amp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % separator
&lt;br&gt;&amp;gt; \path (ref3.east) node [separatorSmall] (sep3) {}; &amp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % C3
&lt;br&gt;&amp;gt; \path (sum3p.east) node (blockC1) [controller] {$C_1$};
&lt;br&gt;&amp;gt; \path (sum3f.east) node (blockC2) [controller] {$C_2$}; &amp;
&lt;br&gt;&amp;gt; % separator
&lt;br&gt;&amp;gt; \path (ref3.east) node [separatorSmall] (sep1c) {}; &amp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % Plant
&lt;br&gt;&amp;gt; \path (sep1c.east) 
&lt;br&gt;&amp;gt; let \p1 = ($ (blockC1.north) - (blockC2.south) $)
&lt;br&gt;&amp;gt; in 
&lt;br&gt;&amp;gt; node [plant,minimum height=\y1] (blockP) {$P$}; 
&lt;br&gt;&amp;gt; \\};
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; % sum3 -&amp;gt; C
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; \path [vectorSignal] (sum3p) -&amp;gt; (blockC1);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; \path [vectorSignal] (sum3f) -&amp;gt; (blockC2);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; % C -&amp;gt; P
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; \path [vectorSignal] (blockC1) -- (blockP.west |- blockC1);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; \path [vectorSignal] (blockC2) -- (blockP.west |- blockC2);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \end{tikzpicture}
&lt;br&gt;&amp;gt; \end{document}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; pgf-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298042&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298042&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/odd-scaling-behavoir-tp26295745p26298042.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26297944</id>
	<title>Re: odd scaling behavoir</title>
	<published>2009-11-11T00:52:49Z</published>
	<updated>2009-11-11T00:52:49Z</updated>
	<author>
		<name>marco.sbodio</name>
	</author>
	<content type="html">Hello James,
&lt;br&gt;&lt;br&gt;the way that I usually solve this kind of problems is by embedding the
&lt;br&gt;whole tikzpicture into a node to which I apply scaling:
&lt;br&gt;&lt;br&gt;here is your code modified with this approach:
&lt;br&gt;&lt;br&gt;[[
&lt;br&gt;\documentclass{article}
&lt;br&gt;&lt;br&gt;\usepackage{tikz}
&lt;br&gt;\usetikzlibrary{calc,arrows,positioning}
&lt;br&gt;&lt;br&gt;\begin{document}
&lt;br&gt;&lt;br&gt;% define styles
&lt;br&gt;\tikzstyle{sumJunction} = [draw, circle,inner sep=2pt,minimum size=3pt]
&lt;br&gt;\tikzstyle{controller} = [draw, fill=blue!20, text width=5em,text centered,
&lt;br&gt;minimum height=4em]
&lt;br&gt;\tikzstyle{plant} = [draw, fill=red!20, text width=5em,text centered]
&lt;br&gt;\tikzstyle{separatorSmall} = [minimum size=6mm]
&lt;br&gt;\tikzstyle{scalarSignal} = [draw,-latex']
&lt;br&gt;\tikzstyle{vectorSignal} = [scalarSignal,line width=1.5pt]
&lt;br&gt;&lt;br&gt;% some constants
&lt;br&gt;\def\sumJuncOffset{12.0}
&lt;br&gt;\def\sumJuncSignOffset{2.75}
&lt;br&gt;&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;&lt;br&gt;\node [scale=0.37] {
&lt;br&gt;&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;&lt;br&gt;% blocks
&lt;br&gt;\matrix [row sep=1mm,column sep=2mm] {
&lt;br&gt;% reference node 3
&lt;br&gt;\path node (ref3) {};
&lt;br&gt;&lt;br&gt;% sum3
&lt;br&gt;\path ($(ref3)!\sumJuncOffset!(ref3.north)$) node (sum3p) [sumJunction] {+};
&lt;br&gt;\path ($(ref3)!\sumJuncOffset!(ref3.south)$) node (sum3f) [sumJunction] {+}; &amp;nbsp;&amp;
&lt;br&gt;&lt;br&gt;% separator
&lt;br&gt;\path (ref3.east) node [separatorSmall] (sep3) {}; &amp;
&lt;br&gt;&lt;br&gt;% C3
&lt;br&gt;\path (sum3p.east) node (blockC1) [controller] {$C_1$};
&lt;br&gt;\path (sum3f.east) node (blockC2) [controller] {$C_2$}; &amp;
&lt;br&gt;% separator
&lt;br&gt;\path (ref3.east) node [separatorSmall] (sep1c) {}; &amp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;% Plant
&lt;br&gt;\path (sep1c.east)
&lt;br&gt;let \p1 = ($ (blockC1.north) - (blockC2.south) $)
&lt;br&gt;in
&lt;br&gt;node [plant,minimum height=\y1] (blockP) {$P$};
&lt;br&gt;\\};
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; % sum3 -&amp;gt; C
&lt;br&gt;&amp;nbsp; &amp;nbsp; \path [vectorSignal] (sum3p) -&amp;gt; (blockC1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; \path [vectorSignal] (sum3f) -&amp;gt; (blockC2);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; % C -&amp;gt; P
&lt;br&gt;&amp;nbsp; &amp;nbsp; \path [vectorSignal] (blockC1) -- (blockP.west |- blockC1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; \path [vectorSignal] (blockC2) -- (blockP.west |- blockC2);
&lt;br&gt;&lt;br&gt;\end{tikzpicture}
&lt;br&gt;&lt;br&gt;};
&lt;br&gt;&lt;br&gt;\end{tikzpicture}
&lt;br&gt;&lt;br&gt;\end{document}
&lt;br&gt;]]
&lt;br&gt;&lt;br&gt;I hope this helps.
&lt;br&gt;&lt;br&gt;Best Regards,
&lt;br&gt;marco
&lt;br&gt;&lt;br&gt;On Wed, Nov 11, 2009 at 2:07 AM, James Samir Ismail &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297944&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsi@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; I'm seeing some odd scaling behavior.  My code is depicting a block diagram.
&lt;br&gt;&amp;gt;  One of the blocks, P, has a height that is dependent on the placement of
&lt;br&gt;&amp;gt; the two blocks to its left, C_1 and C_2.
&lt;br&gt;&amp;gt; When scaling is set to 1.0 (as in the code below), everything works as
&lt;br&gt;&amp;gt; expected.  However, once I set the scaling  \tikzset{every
&lt;br&gt;&amp;gt; node/.style={scale=1.0}}  to something other than 1.0 (say, 0.75), P becomes
&lt;br&gt;&amp;gt; incorrectly scaled.
&lt;br&gt;&amp;gt; It's seems like the scaling is being applied twice.  Maybe there's a better
&lt;br&gt;&amp;gt; way to scale an entire picture (although this has worked beautifully int he
&lt;br&gt;&amp;gt; past for me)?  Any thoughts?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; James
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here's the code:
&lt;br&gt;&amp;gt; \documentclass{article}
&lt;br&gt;&amp;gt; \usepackage{tikz}
&lt;br&gt;&amp;gt; \usetikzlibrary{calc,arrows,positioning}
&lt;br&gt;&amp;gt; \begin{document}
&lt;br&gt;&amp;gt; % define styles
&lt;br&gt;&amp;gt; \tikzstyle{sumJunction} = [draw, circle,inner sep=2pt,minimum size=3pt]
&lt;br&gt;&amp;gt; \tikzstyle{controller} = [draw, fill=blue!20, text width=5em,text centered,
&lt;br&gt;&amp;gt; minimum height=4em]
&lt;br&gt;&amp;gt; \tikzstyle{plant} = [draw, fill=red!20, text width=5em,text centered]
&lt;br&gt;&amp;gt; \tikzstyle{separatorSmall} = [minimum size=6mm]
&lt;br&gt;&amp;gt; \tikzstyle{scalarSignal} = [draw,-latex']
&lt;br&gt;&amp;gt; \tikzstyle{vectorSignal} = [scalarSignal,line width=1.5pt]
&lt;br&gt;&amp;gt; % some constants
&lt;br&gt;&amp;gt; \def\sumJuncOffset{12.0}
&lt;br&gt;&amp;gt; \def\sumJuncSignOffset{2.75}
&lt;br&gt;&amp;gt; % scaling
&lt;br&gt;&amp;gt; \tikzset{every node/.style={scale=1.0}}
&lt;br&gt;&amp;gt; \begin{tikzpicture}
&lt;br&gt;&amp;gt; % blocks
&lt;br&gt;&amp;gt; \matrix [row sep=1mm,column sep=2mm] {
&lt;br&gt;&amp;gt; % reference node 3
&lt;br&gt;&amp;gt; \path node (ref3) {};
&lt;br&gt;&amp;gt; % sum3
&lt;br&gt;&amp;gt; \path ($(ref3)!\sumJuncOffset!(ref3.north)$) node (sum3p) [sumJunction] {+};
&lt;br&gt;&amp;gt; \path ($(ref3)!\sumJuncOffset!(ref3.south)$) node (sum3f) [sumJunction]
&lt;br&gt;&amp;gt; {+};  &amp;
&lt;br&gt;&amp;gt; % separator
&lt;br&gt;&amp;gt; \path (ref3.east) node [separatorSmall] (sep3) {}; &amp;
&lt;br&gt;&amp;gt; % C3
&lt;br&gt;&amp;gt; \path (sum3p.east) node (blockC1) [controller] {$C_1$};
&lt;br&gt;&amp;gt; \path (sum3f.east) node (blockC2) [controller] {$C_2$}; &amp;
&lt;br&gt;&amp;gt; % separator
&lt;br&gt;&amp;gt; \path (ref3.east) node [separatorSmall] (sep1c) {}; &amp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; % Plant
&lt;br&gt;&amp;gt; \path (sep1c.east)
&lt;br&gt;&amp;gt; let \p1 = ($ (blockC1.north) - (blockC2.south) $)
&lt;br&gt;&amp;gt; in
&lt;br&gt;&amp;gt; node [plant,minimum height=\y1] (blockP) {$P$};
&lt;br&gt;&amp;gt; \\};
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     % sum3 -&amp;gt; C
&lt;br&gt;&amp;gt;     \path [vectorSignal] (sum3p) -&amp;gt; (blockC1);
&lt;br&gt;&amp;gt;     \path [vectorSignal] (sum3f) -&amp;gt; (blockC2);
&lt;br&gt;&amp;gt;     % C -&amp;gt; P
&lt;br&gt;&amp;gt;     \path [vectorSignal] (blockC1) -- (blockP.west |- blockC1);
&lt;br&gt;&amp;gt;     \path [vectorSignal] (blockC2) -- (blockP.west |- blockC2);
&lt;br&gt;&amp;gt; \end{tikzpicture}
&lt;br&gt;&amp;gt; \end{document}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;&amp;gt; on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; pgf-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297944&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Marco Sbodio
&lt;br&gt;perl -e 'while(++$_){print$_,$/if(&amp;quot;x&amp;quot;x$_)!~/^(xx+)\1+$/}'
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297944&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/odd-scaling-behavoir-tp26295745p26297944.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26295745</id>
	<title>odd scaling behavoir</title>
	<published>2009-11-10T17:07:12Z</published>
	<updated>2009-11-10T17:07:12Z</updated>
	<author>
		<name>James Ismail</name>
	</author>
	<content type="html">Hello,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;m seeing some odd scaling behavior.  My code is depicting a block diagram.  One of the blocks, P, has a height that is dependent on the placement of the two blocks to its left, C_1 and C_2.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;When scaling is set to 1.0 (as in the code below), everything works as expected.  However, once I set the scaling  \tikzset{every node/.style={scale=1.0}}  to something other than 1.0 (say, 0.75), P becomes incorrectly scaled.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;It&amp;#39;s seems like the scaling is being applied twice.  Maybe there&amp;#39;s a better way to scale an entire picture (although this has worked beautifully int he past for me)?  Any thoughts?&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks,&lt;/div&gt;&lt;div&gt;James&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Here&amp;#39;s the code:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;\documentclass{article}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\usepackage{tikz}&lt;/div&gt;&lt;div&gt;\usetikzlibrary{calc,arrows,positioning}&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\begin{document}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;% define styles&lt;/div&gt;&lt;div&gt;\tikzstyle{sumJunction}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;= [draw, circle,inner sep=2pt,minimum size=3pt]&lt;/div&gt;
&lt;div&gt;\tikzstyle{controller}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;= [draw, fill=blue!20, text width=5em,text centered, minimum height=4em]&lt;/div&gt;&lt;div&gt;\tikzstyle{plant} &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;			&lt;/span&gt;= [draw, fill=red!20, text width=5em,text centered]&lt;/div&gt;
&lt;div&gt;\tikzstyle{separatorSmall}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;= [minimum size=6mm]&lt;/div&gt;&lt;div&gt;\tikzstyle{scalarSignal}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;= [draw,-latex&amp;#39;]&lt;/div&gt;
&lt;div&gt;\tikzstyle{vectorSignal}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;= [scalarSignal,line width=1.5pt]&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;% some constants&lt;/div&gt;&lt;div&gt;\def\sumJuncOffset{12.0} &lt;/div&gt;&lt;div&gt;\def\sumJuncSignOffset{2.75}&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;% scaling&lt;/div&gt;&lt;div&gt;\tikzset{every node/.style={scale=1.0}}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\begin{tikzpicture}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;% blocks&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;\matrix [row sep=1mm,column sep=2mm] {&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;% reference node 3&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;\path node (ref3) {};&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;% sum3&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;\path ($(ref3)!\sumJuncOffset!(ref3.north)$) node (sum3p) [sumJunction] {+};&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;\path ($(ref3)!\sumJuncOffset!(ref3.south)$) node (sum3f) [sumJunction] {+}; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;	&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;	&lt;/span&gt;&amp;amp;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;% separator&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;\path (ref3.east) node [separatorSmall] (sep3) {};&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;								&lt;/span&gt;&amp;amp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;% C3&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;\path (sum3p.east) node (blockC1) [controller] {$C_1$};&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;											&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;\path (sum3f.east) node (blockC2) [controller] {$C_2$};&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;							&lt;/span&gt;&amp;amp;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;% separator&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;\path (ref3.east) node [separatorSmall] (sep1c) {};&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;								&lt;/span&gt;&amp;amp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;% Plant&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;\path (sep1c.east) &lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;					&lt;/span&gt;let \p1 = ($ (blockC1.north) - (blockC2.south) $)&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;					&lt;/span&gt;in &lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;					&lt;/span&gt;node [plant,minimum height=\y1] (blockP) {$P$}; &lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;\\};&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;    &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;    &lt;/div&gt;&lt;div&gt;    % sum3 -&amp;gt; C&lt;/div&gt;&lt;div&gt;    \path [vectorSignal] (sum3p) -&amp;gt; (blockC1);&lt;/div&gt;&lt;div&gt;    \path [vectorSignal] (sum3f) -&amp;gt; (blockC2);&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;    % C -&amp;gt; P&lt;/div&gt;&lt;div&gt;    \path [vectorSignal] (blockC1) -- (blockP.west |- blockC1);&lt;/div&gt;&lt;div&gt;    \path [vectorSignal] (blockC2) -- (blockP.west |- blockC2);&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;\end{tikzpicture}&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;\end{document}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295745&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/odd-scaling-behavoir-tp26295745p26295745.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26291244</id>
	<title>Split rectangles look weird.</title>
	<published>2009-11-10T13:12:48Z</published>
	<updated>2009-11-10T13:12:48Z</updated>
	<author>
		<name>Koffie Yahoo</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I was trying to do some tricks with split rectangles and superimposing
&lt;br&gt;some stuff
&lt;br&gt;over them. As you can see when latex'ing the (slightly big) tex source
&lt;br&gt;below this
&lt;br&gt;works fine for the rectangle with the title &amp;quot;active&amp;quot;. However, for the
&lt;br&gt;inner rectangle
&lt;br&gt;build by the same tricks everything looks skewed (it should look the same as the
&lt;br&gt;outer one). Is there a way to fix this?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;&amp;nbsp;Jay
&lt;br&gt;&lt;br&gt;\documentclass[a4paper]{article}
&lt;br&gt;&lt;br&gt;\usepackage{tikz}
&lt;br&gt;\usetikzlibrary{positioning,shapes.misc,shapes.multipart,arrows,fadings}
&lt;br&gt;&lt;br&gt;\tikzset{
&lt;br&gt;&amp;gt;=angle 90,
&lt;br&gt;remember picture,
&lt;br&gt;UML:shared/.style={
&lt;br&gt;&amp;nbsp; &amp;nbsp; rounded corners=.25cm,
&lt;br&gt;&amp;nbsp; &amp;nbsp; minimum height=.5cm,
&lt;br&gt;&amp;nbsp; &amp;nbsp; minimum width=1cm,
&lt;br&gt;&amp;nbsp; &amp;nbsp; text height=1.6ex,
&lt;br&gt;&amp;nbsp; &amp;nbsp; text depth=.25ex,
&lt;br&gt;&amp;nbsp; &amp;nbsp; font=\sffamily,
&lt;br&gt;},
&lt;br&gt;UML:shared:nest/.style={
&lt;br&gt;&amp;nbsp; &amp;nbsp; UML:shared,
&lt;br&gt;&amp;nbsp; &amp;nbsp; rectangle split,
&lt;br&gt;&amp;nbsp; &amp;nbsp; rectangle split part align={center,left},
&lt;br&gt;&amp;nbsp; &amp;nbsp; rectangle split part fill={red,yellow!20},
&lt;br&gt;&amp;nbsp; &amp;nbsp; draw=white
&lt;br&gt;},
&lt;br&gt;UML:nested/.style={
&lt;br&gt;&amp;nbsp; &amp;nbsp; UML:shared:nest,
&lt;br&gt;&amp;nbsp; &amp;nbsp; rectangle split parts=2,
&lt;br&gt;},
&lt;br&gt;UML:topfill/.style={
&lt;br&gt;&amp;nbsp; &amp;nbsp; bottom color=white,
&lt;br&gt;&amp;nbsp; &amp;nbsp; top color=gray!50,
&lt;br&gt;&amp;nbsp; &amp;nbsp; draw=white
&lt;br&gt;},
&lt;br&gt;UML:toptext/.style={
&lt;br&gt;&amp;nbsp; &amp;nbsp; UML:shared,
&lt;br&gt;&amp;nbsp; &amp;nbsp; text height=1.47ex,
&lt;br&gt;&amp;nbsp; &amp;nbsp; text depth=.25ex,
&lt;br&gt;},
&lt;br&gt;UML:topbox/.style={
&lt;br&gt;&amp;nbsp; &amp;nbsp; UML:shared
&lt;br&gt;},
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;\newcommand{\UMLnestedo}[4][optional]{%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \node (#1) [UML:nested,#2] {#3 \nodepart{second} \tikz {#4}};%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \draw[UML:topfill] (#1.text split west) {[rounded corners=.25cm]%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- (#1.north west) -- (#1.north east)}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- (#1.text split east) -- cycle;%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \draw (#1.mid) node[UML:toptext] {#3};%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \draw[UML:topbox] (#1.north west) -- (#1.north east) -- (#1.south east)%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- (#1.south west) -- cycle;%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \draw (#1.text split west) -- (#1.text split east);%
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;\newcommand{\UMLinnertexto}[4][optional]{%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \node (#1) [UML:nested,#2] {#3 \nodepart{second} #4};%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \draw[UML:topfill] (#1.text split west) {[rounded corners=.25cm]%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- (#1.north west) -- (#1.north east)}%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- (#1.text split east) -- cycle;%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \draw (#1.mid) node[UML:toptext] {#3};%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \draw[UML:topbox] (#1.north west) -- (#1.north east) -- (#1.south east)%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- (#1.south west) -- cycle;%
&lt;br&gt;&amp;nbsp; &amp;nbsp; \draw (#1.text split west) -- (#1.text split east);%
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;\begin{document}
&lt;br&gt;&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;\UMLnestedo[active]{minimum width=10.5cm}{\parbox{10.5cm}{\centerline{active}}}{
&lt;br&gt;&amp;nbsp; &amp;nbsp; \UMLinnertexto[ready]{}{ready}{blah}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;\end{tikzpicture}
&lt;br&gt;&lt;br&gt;\end{document}
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26291244&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Split-rectangles-look-weird.-tp26291244p26291244.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26252235</id>
	<title>Re: Drawing a line from one axis to another</title>
	<published>2009-11-08T02:06:20Z</published>
	<updated>2009-11-08T02:06:20Z</updated>
	<author>
		<name>Sebastián PEÑA SALDARRIAGA</name>
	</author>
	<content type="html">Hello Leo,
&lt;br&gt;&lt;br&gt;This is the only solution I can think of. The same has been done in this 
&lt;br&gt;example : 
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/mailarchive/message.php?msg_name=005b01ca1475%24f6c2ef60%24e448ce20%24%40net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/mailarchive/message.php?msg_name=005b01ca1475%24f6c2ef60%24e448ce20%24%40net&lt;/a&gt;&lt;br&gt;&lt;br&gt;Sebastian
&lt;br&gt;&lt;br&gt;Leo a écrit :
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 2009-11-08 09:39 +0000, Leo wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; How to draw a line between a point on the first axis to the second
&lt;br&gt;&amp;gt;&amp;gt; one? Thank you very much.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried placing a named coordinate inside one axis and using it in
&lt;br&gt;&amp;gt; another. It failed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Miraculously I can use the coordinate outside axis env. So I have
&lt;br&gt;&amp;gt; reached the following solution:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; \documentclass{minimal}
&lt;br&gt;&amp;gt; \usepackage{pgfplots}
&lt;br&gt;&amp;gt; \begin{document}
&lt;br&gt;&amp;gt; \begin{tikzpicture}
&lt;br&gt;&amp;gt; &amp;nbsp; \begin{axis}[name=axis1]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; \addplot coordinates {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; (0.1,0.2)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; (1.1,1.2)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; \coordinate (A) at (rel axis cs:0.2,0.2);
&lt;br&gt;&amp;gt; &amp;nbsp; \end{axis}
&lt;br&gt;&amp;gt; &amp;nbsp; \begin{axis}[at={(axis1.east)},anchor=west,xshift=1cm]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; \addplot coordinates {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; (0.1,0.2)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; (1.1,1.2)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; \coordinate (B) at (rel axis cs:0.2,0.2);
&lt;br&gt;&amp;gt; &amp;nbsp; \end{axis}
&lt;br&gt;&amp;gt; &amp;nbsp; \draw (A) -- (B);
&lt;br&gt;&amp;gt; \end{tikzpicture}
&lt;br&gt;&amp;gt; \end{document}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Leo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; pgf-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252235&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252235&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Drawing-a-line-from-one-axis-to-another-tp26252075p26252235.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26252181</id>
	<title>Re: Drawing a line from one axis to another</title>
	<published>2009-11-08T01:57:10Z</published>
	<updated>2009-11-08T01:57:10Z</updated>
	<author>
		<name>leon-9</name>
	</author>
	<content type="html">On 2009-11-08 09:39 +0000, Leo wrote:
&lt;br&gt;&amp;gt; How to draw a line between a point on the first axis to the second
&lt;br&gt;&amp;gt; one? Thank you very much.
&lt;br&gt;&lt;br&gt;I tried placing a named coordinate inside one axis and using it in
&lt;br&gt;another. It failed.
&lt;br&gt;&lt;br&gt;Miraculously I can use the coordinate outside axis env. So I have
&lt;br&gt;reached the following solution:
&lt;br&gt;&lt;br&gt;\documentclass{minimal}
&lt;br&gt;\usepackage{pgfplots}
&lt;br&gt;\begin{document}
&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;&amp;nbsp; \begin{axis}[name=axis1]
&lt;br&gt;&amp;nbsp; &amp;nbsp; \addplot coordinates {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (0.1,0.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (1.1,1.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;nbsp; &amp;nbsp; \coordinate (A) at (rel axis cs:0.2,0.2);
&lt;br&gt;&amp;nbsp; \end{axis}
&lt;br&gt;&amp;nbsp; \begin{axis}[at={(axis1.east)},anchor=west,xshift=1cm]
&lt;br&gt;&amp;nbsp; &amp;nbsp; \addplot coordinates {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (0.1,0.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (1.1,1.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;nbsp; &amp;nbsp; \coordinate (B) at (rel axis cs:0.2,0.2);
&lt;br&gt;&amp;nbsp; \end{axis}
&lt;br&gt;&amp;nbsp; \draw (A) -- (B);
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;\end{document}
&lt;br&gt;&lt;br&gt;Leo
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252181&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Drawing-a-line-from-one-axis-to-another-tp26252075p26252181.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26252075</id>
	<title>Drawing a line from one axis to another</title>
	<published>2009-11-08T01:39:53Z</published>
	<updated>2009-11-08T01:39:53Z</updated>
	<author>
		<name>leon-9</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;In the following example,
&lt;br&gt;&lt;br&gt;\documentclass{minimal}
&lt;br&gt;\usepackage{pgfplots}
&lt;br&gt;\begin{document}
&lt;br&gt;\begin{tikzpicture}
&lt;br&gt;&amp;nbsp; \begin{axis}[name=axis1]
&lt;br&gt;&amp;nbsp; &amp;nbsp; \addplot coordinates {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (0.1,0.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (1.1,1.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;nbsp; \end{axis}
&lt;br&gt;&amp;nbsp; \begin{axis}[at={(axis1.east)},anchor=west,xshift=1cm]
&lt;br&gt;&amp;nbsp; &amp;nbsp; \addplot coordinates {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (0.1,0.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (1.1,1.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;nbsp; \end{axis}
&lt;br&gt;\end{tikzpicture}
&lt;br&gt;\end{document}
&lt;br&gt;&lt;br&gt;How to draw a line between a point on the first axis to the second one?
&lt;br&gt;Thank you very much.
&lt;br&gt;&lt;br&gt;Best wishes,
&lt;br&gt;Leo
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emacs uptime: 47 days, 0 hours, 53 minutes, 11 seconds
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;pgf-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252075&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pgf-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/pgf-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/pgf-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Drawing-a-line-from-one-axis-to-another-tp26252075p26252075.html" />
</entry>

</feed>
