Till Tantau | 3 Jan 14:31
Picon
Favicon

Re: Mindmaps problems

Hi all,

you need to include the trees library. This library defines the  
sibling angle and clockwise from stuff.

Best regards,
Till

Am 03.01.2007 um 14:16 schrieb Agustin E. Bolzan:

> Dear tikz users,
>
> I was trying to use the mindmap library and started testing the
> following simple examples from the manual:
>
> The first one:
>
> \documentclass{article}
> \usepackage{tikz}
> \usetikzlibrary{mindmap}
> \begin{document}
> \begin{tikzpicture}
>   \path[mindmap,concept color=black,text=white]
>     node[concept] {Computer Science}
>     [clockwise from=0]
>     child[concept color=green!50!black] {
>       node[concept] {practical}
>       [clockwise from=90]
>       child { node[concept] {algorithms} }
>       child { node[concept] {data structures} }
(Continue reading)

Picon
Picon

Connecting Nodes with two parallel lines

Dear users,

I need to draw a diagram in which some nodes are connected with two
lines parallel to each other but with different style and arrow
orientation. I tried to achieve it by the enclosed code but the two
lines are drawn on top of each other, not next to each other. I guess it
has to do with the node naming but I cannot figure out how I can get the
two lines to appear.

I hope someone can help me or point me into the right direction.

Thanks in advance and best regards

Matthias

%%%CODE%%%
\documentclass{article}
\usepackage{tikz}
  \usetikzlibrary{shapes,backgrounds,arrows}

\begin{document}
  \begin{tikzpicture}
    %% Declaration of nodes
    \node (CENTER)              at (7,7)     {\large\bfseries Center};
    \node[text width=2cm] (PAR) at (6,2.5)   {\small Partner\\City};
    %% Connection the nodes
    \draw[color=red,dashed,->] (CENTER) -- (PAR);
    \draw[xshift=2pt,color=blue,solid,<-] (CENTER) -- (PAR);
  \end{tikzpicture}
\end{document}
(Continue reading)

Till Tantau | 8 Jan 12:10
Picon
Favicon

Re: Connecting Nodes with two parallel lines

Hello everyone,

the problem lies in the fact that shifts normally have no effect on  
anchored coordinates. If this were the case, then a scale=2 would  
make it impossible to access any nodes anchors sensibly.

Anyway, to solve this particular problem, you have to move the  
xshift=2pt into the node references like this:

\draw[color=blue,solid,<-] ([xshift=2pt]CENTER) -- ([xshift=2pt]PAR);

A bit ugly, bit it should work. The shift options given inside (...)  
*do* apply also to node anchors.

Hoping this helps,
Till

Am 08.01.2007 um 00:51 schrieb Matthias Steinbrink:

> Dear users,
>
> I need to draw a diagram in which some nodes are connected with two
> lines parallel to each other but with different style and arrow
> orientation. I tried to achieve it by the enclosed code but the two
> lines are drawn on top of each other, not next to each other. I  
> guess it
> has to do with the node naming but I cannot figure out how I can  
> get the
> two lines to appear.
>
(Continue reading)

Michael Chen | 10 Jan 23:43
Picon

how to read external data into variables?

I have only seen plot with option to read coordinators. How can I
read, for example, a list of values in a data file to variable \x? Or
do something like:

\foreach \x in <external data file> ...

Thanks in advance.

Michael Chen

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Michael Chen | 10 Jan 23:49
Picon

\ifnum ... \fi

I read the manual 1.10 and happen to see the

\ifnum \x < \y
...
\fi

in the example on page 205.

However I can not find documentation for \ifnum ... \fi statement in
the manual. And I believe that this is a power statement. Can anybody
let me know why and how? Thanks.

--

-- 
Michael Chen

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Aditya Mahajan | 11 Jan 00:06
Picon
Favicon

Re: \ifnum ... \fi

On Wed, 10 Jan 2007, Michael Chen wrote:

> I read the manual 1.10 and happen to see the
> 
> \ifnum \x < \y
> ...
> \fi
> 
> in the example on page 205.
> 
> However I can not find documentation for \ifnum ... \fi statement in
> the manual.

This is because \ifnum is a TeX primitive.

> And I believe that this is a power statement. Can anybody
> let me know why and how? Thanks.

You need to read a book on TeX, like the TeXbook or TeX by Topic or 
TeX for the impatient to get more info about TeX primitives. I belive 
that the last two are available for free download.

Aditya

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
(Continue reading)

Kjell Magne Fauske | 11 Jan 08:42
Picon

Re: \ifnum ... \fi

On 1/10/07, Michael Chen <vancouver.michael <at> gmail.com> wrote:

> However I can not find documentation for \ifnum ... \fi statement in
> the manual. And I believe that this is a power statement. Can anybody
> let me know why and how? Thanks.

You can find an overview of TeX's primitive control sequences here:
http://www.tug.org/utilities/plain/cseq.html

The \ifnum command is described here:
http://www.tug.org/utilities/plain/cseq.html#ifnum-rp

Regards,
Kjell Magne Fauske

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Ignasi Furió | 11 Jan 10:17
Picon
Picon
Favicon

Problem with CVS version, signalflow library and MikTeX2.5

Hi all,

	I wanted to experiment with signalflow library and downloaded CVS version  
of pgf which already include it. I'm using MikTeX 2.5 with WindowsXP, so I  
instaled everything under my \localtexmf folder reproducing pgf's  
directory tree (context,doc,generic,incoming,latex,plain). My first  
problem is that MikTeX doesn't recognize 'incoming' as a valid directory  
for .sty files, so I moved it into latex folder. And now the problem is  
that it doesn't find 'pgfutil-common.tex'
which is in \localtexmf\generic\pgf\utilities.

	I'm using FIR-filter example from  
http://www.fauskes.net/pgftikzexamples/FIR-filter/ and the result is next  
log file

--------------------------------
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5) (preloaded  
format=pdflatex 2006.10.4)  11 JAN 2007 09:56
entering extended mode
**Filtre.tex
(Filtre.tex
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang,  
nohyphenation, sp
anish, catalan, loaded.
("C:\Archivos de programa\MiKTeX 2.5\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Archivos de programa\MiKTeX 2.5\tex\latex\base\size10.clo"
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
(Continue reading)

Kjell Magne Fauske | 11 Jan 10:48
Picon

Re: Problem with CVS version, signalflow library and MikTeX2.5

On 1/11/07, Ignasi Furió <ignasi.furio <at> uib.es> wrote:
> Hi all,
>
>         I wanted to experiment with signalflow library and downloaded CVS version
> of pgf which already include it. I'm using MikTeX 2.5 with WindowsXP, so I
> instaled everything under my \localtexmf folder reproducing pgf's
> directory tree (context,doc,generic,incoming,latex,plain). My first
> problem is that MikTeX doesn't recognize 'incoming' as a valid directory
> for .sty files, so I moved it into latex folder. And now the problem is
> that it doesn't find 'pgfutil-common.tex'
> which is in \localtexmf\generic\pgf\utilities.

If you want to experiment with the signalflow library, I suggest that
you install it separately from PGF and download it from [1]. It is an
experimental library and I don't know which parts of it will be
included in a future PGF release.

When I added the signalflow examples to the gallery, I created a
directory in my localtexmf folder and put all the files[1] there.
After I updated the filename database I could include it as an
ordinary package. You should then be able to run the examples.

[1] http://www.fauskes.net/media/pgftikzexamples/signalflowlibrary/signalflowlibrary.zip

- Kjell Magne Fauske

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
(Continue reading)

Till Tantau | 11 Jan 11:24
Picon
Favicon

Re: Problem with CVS version, signalflow library and MikTeX2.5


Am 11.01.2007 um 10:48 schrieb Kjell Magne Fauske:

> On 1/11/07, Ignasi Furió <ignasi.furio <at> uib.es> wrote:
>> Hi all,
>>
>>         I wanted to experiment with signalflow library and  
>> downloaded CVS version
>> of pgf which already include it. I'm using MikTeX 2.5 with  
>> WindowsXP, so I
>> instaled everything under my \localtexmf folder reproducing pgf's
>> directory tree (context,doc,generic,incoming,latex,plain). My first
>> problem is that MikTeX doesn't recognize 'incoming' as a valid  
>> directory
>> for .sty files, so I moved it into latex folder. And now the  
>> problem is
>> that it doesn't find 'pgfutil-common.tex'
>> which is in \localtexmf\generic\pgf\utilities.
>
> If you want to experiment with the signalflow library, I suggest that
> you install it separately from PGF and download it from [1]. It is an
> experimental library and I don't know which parts of it will be
> included in a future PGF release.

Indeed... The incoming directory of the CVS is, well, just stuff that  
someone send me and for which I did not yet have the time to ingrate  
it into the main code -- and for which I have not even decided  
whether this should be done at all.

So, in essence, everything in incoming may disappear and change  
(Continue reading)


Gmane