SiTeX | 1 Mar 11:32

mindmap


Hello,
I have able to change mindmap nodes to rectangles (squares) but I have not
had any luck changing them to actual rectangles the size, of which, I
determine. I would also like to be able to use elliptical nodes. Thanks in
advance for any advice. I did check this forum for possible solutions to
this problem.
Regards,
Tom
--

-- 
View this message in context: http://old.nabble.com/mindmap-tp27728073p27728073.html
Sent from the pgf-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Michael Hallgren | 2 Mar 09:31
Picon
Favicon

Re: pgf and algorithm2e

Le vendredi 26 février 2010 à 12:04 -0600, Chris Bourke a écrit :
> 
> I searched the archives, but it doesn't seem that anything like this
> ever came up.  I've used PGF in the past to add overlays to slides
> containing listings environments (to point to specific lines of code
> with a graphic or something).  
> 
> 
> I'd like to do the same thing with algorithm2e environments, but I'm
> not having any success.  Listings provides a way of giving an escape
> character so that you can insert anchors like 
> 
> 
> \tikz \coordinate(pointA);
> 
> 
> and then do an overlay to point to that anchor.  With algorithm2e
> environments, I can add the code, but the anchor always seems to point
> to the end of the algorithm environment.  
> 
> 
> Has anyone successfully used pgf overlays (or in some other manner)
> with algorithm2e environments?  Can you point to some examples?

Good example, for example, at
http://www.texample.net/tikz/examples/beamer-arrows/

Don't miss \tikzstyle{every picture}+=[remember picture]

Cheers,
(Continue reading)

Hans Meine | 2 Mar 19:55
Picon
Favicon

Re: loading libraries and \jobname in \tikzexternalize

On Sonntag 21 Februar 2010, Stefan Pinnow wrote:
> 2. Can it be fixed so that \tikzexternalize{\jobname} is working instead of
>    giving the _real_ jobname as argument (here "minimal")?
>   -> Now the wrong jobname is inserted (one additional "-figure0")

The whole purpose of \tikzexternalize is to compare the argument against the 
current \jobname, so there cannot be a way to compute the argument from the 
\jobname.

*However*, AFAICS it could be possible to let the main document  
create "foo.mainjob" files for every figure "foo", so that \tikzexternalize 
can later read the main job's name from \jobname.mainjob.  If 
\jobname.mainjob does not exist, it would simply default to \jobname.

Wouldn't that work?

Yes, it would create yet another (potentially large) set of output files which 
adds to the usual TeX cruft, but it would have a large benefit in terms on 
convenience, no?

Personally, it has often bitten me, for example
1) when quickly transferring preamble parts from one document to another or
2) when renaming documents
and forgetting to change the main jobname, respectively.

HTH,
  Hans

(Continue reading)

Stefan Pinnow | 3 Mar 10:12
Picon

Re: loading libraries and \jobname in \tikzexternalize

> Personally, it has often bitten me, for example
> 1) when quickly transferring preamble parts from one document to another or
> 2) when renaming documents
> and forgetting to change the main jobname, respectively.

That is exactly what often happens to me, and I need quite some time to find out
that I just forgot to change the real jobname.
Even worth is it, when I give my preamble to a colleague (who is not so familiar
with LaTeX and or pgf/tikz) and then get a call or email why my preamble is not
working in his document ...

Regards
Stefan
Attachment (smime.p7s): application/x-pkcs7-signature, 4342 bytes
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Picon
Favicon

Re: loading libraries and \jobname in \tikzexternalize

Hello Hans, Hello Stefan,

Thinking about how the <real job name> argument can be eliminated, I
stumbled about a surprisingly simple, fully automatic solution. I have
just comitted a patch for the external library.

If you write
\tikzexternalize
or
\tikzexternalize[<options>]
*without* the real job name argument, it will be deduced automatically.

The deduction works simply by providing TeX code as argument to the
system call, try it out.

The modification is fully backwards compatible and should work with any
postscript specific system call as well (It modifies the '\texsource'
argument to the system call).

I have short time now, so I'd be glad if you could check the
modification and report any problems. I'll document the modification as
soon as I find time.

Best regards

Christian

--

-- 
Christian Feuersaenger
Institut fuer Numerische Simulation
(Continue reading)

Chris Bourke | 4 Mar 03:59
Favicon

Re: pgf and algorithm2e


This is indeed a good example (and an older one) that works rather well for normal math environments.  However, I've not been able to get it to work as expected with environments such as those provided by the algorithm2e package.  Placing tikz coordinate nodes inside different environments doesn't guarantee that they'll be placed where you want or expect them to be.  I was hoping that someone had previous (successful) experience with using tikz within an algorithm environment.

2010/3/2 Michael Hallgren <m.hallgren <at> free.fr>
Le vendredi 26 février 2010 à 12:04 -0600, Chris Bourke a écrit :
>
> I searched the archives, but it doesn't seem that anything like this
> ever came up.  I've used PGF in the past to add overlays to slides
> containing listings environments (to point to specific lines of code
> with a graphic or something).
>
>
> I'd like to do the same thing with algorithm2e environments, but I'm
> not having any success.  Listings provides a way of giving an escape
> character so that you can insert anchors like
>
>
> \tikz \coordinate(pointA);
>
>
> and then do an overlay to point to that anchor.  With algorithm2e
> environments, I can add the code, but the anchor always seems to point
> to the end of the algorithm environment.
>
>
> Has anyone successfully used pgf overlays (or in some other manner)
> with algorithm2e environments?  Can you point to some examples?


Good example, for example, at
http://www.texample.net/tikz/examples/beamer-arrows/

Don't miss \tikzstyle{every picture}+=[remember picture]


Cheers,

mh

> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________ pgf-users mailing list pgf-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgf-users


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Stefan Pinnow | 5 Mar 10:16
Picon

how to access the node at the end of the pin?

Hello,
is there a way to access the node at the end of a pin?
As you can see from the attached example the "test2" pin nodes look a bit odd.

I would like to use the "test1" style and then just rotate the text inside of
this node. 

Best regards,
Stefan Pinnow

% ------- minimal -------
\documentclass{article}
    \usepackage{tikz}
\begin{document}
    \begin{tikzpicture}[
        pin distance=5ex,
        every node/.style={
            circle,
            draw,
        },
        test1/.style={
            minimum size=#1,
            pin={[
            ]above right:blabla}
        },
        test2/.style={
            minimum size=#1,
            pin={[
                red,
                rotate=45,
            ]right:blabla}
        },
    ]

        \node[test1=1cm]  at (0,0) {};
        \node[test1=5cm]  at (0,0) {};

        \node[test2=1cm]  at (6,0) {};
        \node[test2=5cm]  at (6,0) {};
    \end{tikzpicture}
\end{document}
Attachment (smime.p7s): application/x-pkcs7-signature, 4342 bytes
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Hugues Vermeiren | 7 Mar 21:17
Picon

pgf and xstring package

The number of argument of a macro is limited to 9, I think.
I wanted to pass a long series of parameters to a macro.
Using the xstring package I parse a chain ("12,13,14" in the example below).
It works ok as long as I don't use pgf commands in the macro.
Is there another way to proceed?

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{xstring}
\usepackage{tikz}
\newcommand{\mymacro}[1]{
\def\a{\StrBefore[1]{#1}{,}} % 1st param
\def\b{\StrBetween[1,2]{#1}{,}{,}} % 2nd param
\def\c{\StrBehind[2]{#1}{,}} % 3rd param
param 1 = #1 \\
a=\a \\
b=\b \\
c=\c \\
%\pgfmathparse{\a} % Problems if you de-comment this line
}

\begin{document}
\mymacro{12,13,14} % this chain could be longer...
\end{document}

Thx
Hugues Vermeiren
Brussels

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Jimi | 8 Mar 11:35
Picon
Picon

Legend for external plots

Hei,

I use pgf, tikz and recently pgfplots for my graphs. But I have a  
problem with large data sets. I am currently using gnuplot to generate  
the graphs viz.

set terminal postscript eps color
set noborder
set nokey
set output 'test.eps'
plot dataset_1.xy' u ($3):($2) t ""  w l lw 5 lt 1 lc 1, \
dataset_2.xy' u ($3):($2) t ""  w l lw 5 lt 2 lc 2, \
dataset_2.xy' u ($3):($2) t ""  w l lw 5 lt 3 lc 3

and include the output in my Latex file viz.

\begin{figure}[htb]
   \centering
   \topcaption{...}
   \begin{tikzpicture}
     \begin{axis}[
         axis on top,
         xlabel=X,
         ylabel=Y,
         grid=both]
       \addplot graphics[
         xmin=0,
         xmax=1,
         ymin=0,
         ymax=1,
         includegraphics={trim=12 9 12 8,clip}]{test};
%      \legend{soft}
     \end{axis}
   \end{tikzpicture}
\end{figure}

which works fine. However, I am not able to add a legend. It gives an  
error and complains, that pgfplots has encountered more than two  
coordinates.

How can a legend be included? If not, is there an alternative solution  
to generate plots based on large data sets? I don't want to use the  
package "datatool" if possible.

Thanks a lot in advance. And Sorry if this or a similar question has  
been asked before. But I could not something relevant in the archive.

JImi

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Dagnat Fabien | 8 Mar 14:02
Picon
Favicon

Re: pgf and xstring package

Hello,
Yes indeed, I think you should look either at the package keyval (or its extension xkeyval) or the package
pgfkeys which is heavily used by pgf....

Fabien
Le 7 mars 2010 à 21:17, Hugues Vermeiren a écrit :

> The number of argument of a macro is limited to 9, I think.
> I wanted to pass a long series of parameters to a macro.
> Using the xstring package I parse a chain ("12,13,14" in the example below).
> It works ok as long as I don't use pgf commands in the macro.
> Is there another way to proceed?
> 
> \documentclass{article}
> \usepackage[utf8]{inputenc}
> \usepackage[T1]{fontenc}
> \usepackage[english]{babel}
> \usepackage{xstring}
> \usepackage{tikz}
> \newcommand{\mymacro}[1]{
> \def\a{\StrBefore[1]{#1}{,}} % 1st param
> \def\b{\StrBetween[1,2]{#1}{,}{,}} % 2nd param
> \def\c{\StrBehind[2]{#1}{,}} % 3rd param
> param 1 = #1 \\
> a=\a \\
> b=\b \\
> c=\c \\
> %\pgfmathparse{\a} % Problems if you de-comment this line
> }
> 
> \begin{document}
> \mymacro{12,13,14} % this chain could be longer...
> \end{document}
> 
> Thx
> Hugues Vermeiren
> Brussels
> 
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> pgf-users mailing list
> pgf-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgf-users
> 

---------
Fabien Dagnat -- Maître de conférences
 Mel : fabien.dagnat <at> telecom-bretagne.eu
 Web : perso.telecom-bretagne.eu/fabiendagnat
 Tel : (0|33) 2 29 00 14 09 Fax : (0|33) 2 29 00 12 82
 Adr : TELECOM Bretagne
           Département Informatique
           Technopôle Brest-Iroise - CS 83818 - 29238 Brest Cedex 3

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Gmane