You can subscribe to this list here.
2005 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}
(1) 
_{Aug}
(1) 
_{Sep}
(5) 
_{Oct}
(2) 
_{Nov}
(6) 
_{Dec}
(1) 

2006 
_{Jan}
(1) 
_{Feb}
(6) 
_{Mar}
(10) 
_{Apr}
(1) 
_{May}
(4) 
_{Jun}
(6) 
_{Jul}
(4) 
_{Aug}
(1) 
_{Sep}
(9) 
_{Oct}
(30) 
_{Nov}
(13) 
_{Dec}
(37) 
2007 
_{Jan}
(22) 
_{Feb}
(44) 
_{Mar}
(41) 
_{Apr}
(38) 
_{May}
(82) 
_{Jun}
(100) 
_{Jul}
(61) 
_{Aug}
(61) 
_{Sep}
(66) 
_{Oct}
(79) 
_{Nov}
(43) 
_{Dec}
(33) 
2008 
_{Jan}
(128) 
_{Feb}
(175) 
_{Mar}
(131) 
_{Apr}
(83) 
_{May}
(84) 
_{Jun}
(101) 
_{Jul}
(105) 
_{Aug}
(93) 
_{Sep}
(151) 
_{Oct}
(142) 
_{Nov}
(96) 
_{Dec}
(68) 
2009 
_{Jan}
(72) 
_{Feb}
(94) 
_{Mar}
(58) 
_{Apr}
(29) 
_{May}
(48) 
_{Jun}
(67) 
_{Jul}
(86) 
_{Aug}
(46) 
_{Sep}
(81) 
_{Oct}
(90) 
_{Nov}
(84) 
_{Dec}
(112) 
2010 
_{Jan}
(69) 
_{Feb}
(108) 
_{Mar}
(91) 
_{Apr}
(61) 
_{May}
(90) 
_{Jun}
(53) 
_{Jul}
(46) 
_{Aug}
(64) 
_{Sep}
(79) 
_{Oct}
(56) 
_{Nov}
(108) 
_{Dec}
(36) 
2011 
_{Jan}
(66) 
_{Feb}
(69) 
_{Mar}
(46) 
_{Apr}
(58) 
_{May}
(73) 
_{Jun}
(45) 
_{Jul}
(24) 
_{Aug}
(17) 
_{Sep}
(25) 
_{Oct}
(23) 
_{Nov}
(19) 
_{Dec}
(16) 
2012 
_{Jan}
(7) 
_{Feb}
(31) 
_{Mar}
(12) 
_{Apr}
(27) 
_{May}
(17) 
_{Jun}
(20) 
_{Jul}
(11) 
_{Aug}
(31) 
_{Sep}
(12) 
_{Oct}
(6) 
_{Nov}
(7) 
_{Dec}
(8) 
2013 
_{Jan}
(23) 
_{Feb}
(22) 
_{Mar}
(18) 
_{Apr}
(1) 
_{May}
(1) 
_{Jun}
(4) 
_{Jul}

_{Aug}
(9) 
_{Sep}
(10) 
_{Oct}
(20) 
_{Nov}
(16) 
_{Dec}
(5) 
2014 
_{Jan}
(1) 
_{Feb}
(1) 
_{Mar}
(12) 
_{Apr}
(3) 
_{May}
(3) 
_{Jun}

_{Jul}
(4) 
_{Aug}
(2) 
_{Sep}
(8) 
_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 





1
(3) 
2
(2) 
3
(1) 
4

5

6
(3) 
7

8

9

10

11
(3) 
12
(4) 
13
(8) 
14
(4) 
15
(1) 
16

17

18

19

20

21
(2) 
22
(4) 
23
(2) 
24

25
(1) 
26
(3) 
27

28
(3) 



From: Alain Matthes <alain.matthes@ma...>  20070228 20:24:12

Le 28 f=E9vr. 07 =E0 16:52, Daniel Flipo a =E9crit : > Alain Matthes a =E9crit le 28.02.2007 16:04 : > >> i've always this problem : >> \documentclass[]{article} >> \usepackage{tikz} >> \usetikzlibrary{arrows}% >> \usepackage[frenchb]{babel} >> \begin{document} >> \begin{tikzpicture} >> \node[draw,circle,outer sep=3D0pt,minimum size=3D12pt,label=3Dbelow:$x=20= >> $] (0,0) (c) {} ; >> \draw[line width=3D0.8pt,>,>=3Dlatex] (2,0) to (c); >> \end{tikzpicture} >> \end{document} >> : is active in french also label=3Dbelow:$x$ give an error >> Perhaps an other syntax is possible ? > > Yes ;) > > \begin{tikzpicture} > \shorthandoff{:} % (local setting inside tikzpicture) > \node[draw,circle,outer sep=3D0pt,minimum size=3D12pt,label=3Dbelow:$x$]= > (0,0) (c) {} ; > \draw[line width=3D0.8pt,>,>=3Dlatex] (2,0) to (c); > \end{tikzpicture} > no :( i know it's possible but it's for a package and there is the possibility that 1) the user don't use babel 2) use babel with english.ldf There is a bug in tikz a solution is to change this % \def\tikz@...@label[#1]#2:#3\pgf@...{% % \tikz@...@after@...@path{ % \bgroup % \pgfextra{\let\tikz@...@last@...@name=3D\tikz@...@fig@...}% % node % [every label,% % tikz@...@angle=3D#2,% % #1,% % at=3D(\tikzlastnode.\tikz@...@angle),tikz@...@post]% % {#3}% % \pgfextra{\global\let\tikz@...@fig@...=3D=20 \tikz@...@last@...@name}% % \egroup% % } % } by this (J Noirel) \def \tikz@...@label {% \ifnum \catcode`\:=3D13 \expandafter \tikz@...@label@... \else \expandafter \tikz@...@label@... \fi } \def \tikz@...@label@... [#1]#2:#3\pgf@...{% \tikz@...@after@...@path{ \bgroup \pgfextra{\let\tikz@...@last@...@name=3D\tikz@...@fig@...}% node [every label,% tikz@...@angle=3D#2,% #1,% at=3D(\tikzlastnode.\tikz@...@angle),tikz@...@post]% {#3}% \pgfextra{\global\let\tikz@...@fig@...=3D\tikz@...@last@...@name}%= \egroup% } } \begingroup \catcode`\:=3D13 \gdef \tikz@...@label@... [#1]#2:#3\pgf@... {% \tikz@...@after@...@path{ \bgroup \pgfextra{\let\tikz@...@last@...@name=3D\tikz@...@fig@...}% node [every label,% tikz@...@angle=3D#2,% #1,% at=3D(\tikzlastnode.\tikz@...@angle),tikz@...@post]% {#3}% \pgfextra{\global\let\tikz@...@fig@...=3D\tikz@...@last@...@name}%= \egroup% } } \endgroup Alain Matthes 
From: Daniel Flipo <daniel.flipo@un...>  20070228 16:06:50

Alain Matthes a écrit le 28.02.2007 16:04 : > i've always this problem : > > \documentclass[]{article} > \usepackage{tikz} > \usetikzlibrary{arrows}% > \usepackage[frenchb]{babel} > > \begin{document} > > \begin{tikzpicture} > \node[draw,circle,outer sep=0pt,minimum size=12pt,label=below:$x$] > (0,0) (c) {} ; > \draw[line width=0.8pt,>,>=latex] (2,0) to (c); > \end{tikzpicture} > > \end{document} > > : is active in french also label=below:$x$ give an error > > Perhaps an other syntax is possible ? Yes ;) \begin{tikzpicture} \shorthandoff{:} % (local setting inside tikzpicture) \node[draw,circle,outer sep=0pt,minimum size=12pt,label=below:$x$] (0,0) (c) {} ; \draw[line width=0.8pt,>,>=latex] (2,0) to (c); \end{tikzpicture}  Daniel Flipo 
From: Alain Matthes <alain.matthes@ma...>  20070228 15:04:38

Hello:) i've always this problem : \documentclass[]{article} \usepackage{tikz} \usetikzlibrary{arrows}% \usepackage[frenchb]{babel} \begin{document} \begin{tikzpicture} \node[draw,circle,outer sep=0pt,minimum size=12pt,label=below:$x$] (0,0) (c) {} ; \draw[line width=0.8pt,>,>=latex] (2,0) to (c); \end{tikzpicture} \end{document} : is active in french also label=below:$x$ give an error Perhaps an other syntax is possible ? a solution not very clean is : \documentclass[]{article} \usepackage{tikz} \usetikzlibrary{arrows}% \usepackage[frenchb]{babel} \makeatletter \newif\if@... \@twoptfalse \newcommand*{\twopton}{\ifnum \the\catcode`!=13 \catcode`\:=12 \@twopttrue\fi} \newcommand*{\twoptoff}{\if@... \catcode`\:=13 \@twoptfalse \fi} \makeatother \begin{document} \begin{tikzpicture} \twopton \node[draw,circle,outer sep=0pt,minimum size=12pt,label=below:$x$] (0,0) (c) {} ; \twoptoff \draw[line width=0.8pt,>,>=latex] (2,0) to (c); \end{tikzpicture} \end{document} Alain Matthes 
From: Kjell Magne Fauske <kjellmf@gm...>  20070226 18:22:01

On 2/26/07, Eduardo M KALINOWSKI <ekalin@...> wrote: > Hi, > > Using \begin{tikzpicture}[>=latex] sets my desired default arrow tip > for that picture. But how can I set the default arrow tip for all > pictures in the document? > Using \tikzstyle{every picture} = [>=latex] at the beginning of your document should do the trick.  Kjell Magne Fauske 
From: Eduardo M KALINOWSKI <ekalin@bo...>  20070226 15:31:25

Hi, Using \begin{tikzpicture}[>=latex] sets my desired default arrow tip for that picture. But how can I set the default arrow tip for all pictures in the document?  Stay together, drag each other down. Eduardo M KALINOWSKI ekalin@... http://move.to/hpkb 
From: Ardi <bozon42@ya...>  20070226 14:52:11

Hello Mr.Fauske, thanks for the mail. **************************** MikTeX2.4 >not successful **************************** 1] I removed pgf,xcolor with MikTeX Package Manager. 2] Manually unpacked pgf1.10.tar.gz to c:\localtexmf\pgf1.10 in MikTeX2.4. 3] Run the command: initexmf u from the command line > did not help. tikz.sty cannot be found. I have read also links you mentioned but could not find any help. I will try once again update pgf,xcolor via net in MikTeX2.4 and let you know. **************************** MikTeX2.5 > successful !! **************************** I have fetched from net all packages and installed MikTeX2.5 and it works. Thanks for the help. Ardi ____________________________________________________________________________________ Have a burning question? Go to http://www.Answers.yahoo.com and get answers from real people who know. 
From: Kjell Magne Fauske <kjellmf@gm...>  20070225 18:31:19

Hello, I just wanted to inform you that Sketch 3D[1] now comes with support for PGF and TikZ. Sketch is a tool for creating simple 3D scenes for use with (La)TeX. Sketch's job is to process 3D scenes, make a 2D projection and generate a list of corresponding TikZ commands. Sketch accepts a small domainspecific language, designed for creating 3D scenes. With Sketch you can easily do things like affine arithmetics, transformations, sweeps and extrusions. Operations that are very hard or impossible to do with TeX. You can also annotate your drawings with LaTeX markup. I have written a brief introduction to Sketch, aimed at PGF and TikZ users [2]. There you'll find several examples of what you can do with Sketch and TikZ [3][4]. For more information, see the Sketch manual [5]. Enjoy! [1] http://www.frontiernet.net/~eugene.ressler/ [2] http://www.fauskes.net/nb/introductiontosketch/ [3] http://www.fauskes.net/nb/introductiontosketch/#examples [4] http://www.fauskes.net/pgftikzexamples/3dcone/ [5] http://www.frontiernet.net/~eugene.ressler/manual.html Regards, Kjell Magne Fauske 
From: Kjell Magne Fauske <kjellmf@gm...>  20070223 14:39:45

On 2/23/07, Ardi <bozon42@...> wrote: > Hello Mr.Fauske, > > it's a pity I cannot install pgf1.10.tar.gz with MikTeX2.4 > (I set and arranged many tools, packages running in this > version). > You can, but then you have to install it manually > > In case I would like to remove pgf,xcolor and add new packages > what is the right wat to do it in WindowsXP? In your Start menu, you should find a program called MikTeX Package Manager. Locate pgf in the list of package, select it and select Uninstall from the Task menu. You can do the same with xcolor. From the same program you can also add and upgrade packages. Make sure that you use an online and updated package repository. > As you know pgf1.10.tar.gz has more subdirs?? Where all these > file should go and what else has to be done for correct running? > Thanks very much for help in advance. If you can't install pgf1.10 through the package manager, uninstall old versions first. Then locate your localtexmf catalog. The default location is c:\localtexmf. Unpack pgf1.10.tar.gz somewhere in the localtexmf directory tree and then update the filename database. You can do this by running the command: initexmf u from the command line. After these steps you should be able to use PGF and TikZ. For more information, take a look at these posts on comp.text.tex and the PGF Help forum: http://groups.google.com/group/comp.text.tex/browse_thread/thread/6236cf7c18d59b1e http://sourceforge.net/forum/forum.php?thread_id=1621871&forum_id=477363  Kjell Magne Fauske 
From: Ardi <bozon42@ya...>  20070223 12:05:22

Hello Mr.Fauske, it's a pity I cannot install pgf1.10.tar.gz with MikTeX2.4 (I set and arranged many tools, packages running in this version). I have downloaded the DVD version of MikTeX 2.5 and tried yesterday only from DVD (without installation into my HD). Unfortunately default pgf,xcolor packages did not help me. Tex cannot find tikz.sty In case I would like to remove pgf,xcolor and add new packages what is the right wat to do it in WindowsXP? As you know pgf1.10.tar.gz has more subdirs?? Where all these file should go and what else has to be done for correct running? Thanks very much for help in advance. Regards, Ardi ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 
From: Chris Bourke <cbourke@cs...>  20070222 22:13:12

This is not currently possible. Check the archivesI asked this question and Till said it was something that he might think of for future revisions. To get the same effect, you may want to try drawing the final figure and then work backwards, making this invisible by making them have the same color as teh background or transparent.  Chris Bourke cbourke@... http://www.cse.unl.edu/~cbourke On Thu, 22 Feb 2007, Matthew Leingang wrote: > Hi, > > Apologies for crossposting, but I'm really asking a beamer/tikz question > here. > > I have a tree on a slide and I want to highlight branches of the tree on > separate overlays. I know that \draw is overlayaware, but I don't know > where to put the overlay specifications inside a tree. I tried using styles > that had different definitions on different overlays, but commands like > \tikzstyle<3>{style}=[...] didn't seem to create new overlays. > > Here's my tree: > > \begin{tikzpicture} > \tikzstyle{level 1}=[sibling distance=25mm] > \tikzstyle{level 2}=[sibling distance=15mm] > \node{$w$} > child {node {$x$} child {node {$u$}} child {node {$v$}}} > child {node {$y$} child {node {$u$}} child {node {$v$}}} > child {node {$z$} child {node {$u$}} child {node {$v$}}} > child {node {$t$} child {node {$u$}} child {node {$v$}}}; > \end{tikzpicture} > > I want > > * overlay 1 to have the w and x nodes and the edge between them in blue > (say) > * overlay 2 to have the x and u nodes and the edge between them in blue > * overlay 3 to have the w and y nodes and the edge between them in blue > * overlay 4 to have the y and u nodes and the edge between them in blue > > And so on. Any clues? > > TIA, > Matt > >  > Matthew Leingang > Preceptor in Mathematics > Harvard University > > http://www.math.harvard.edu/~leingang/vCard.vcf > > > >  > 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 surveysand earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Latexbeamerusers mailing list > Latexbeamerusers@... > https://lists.sourceforge.net/lists/listinfo/latexbeamerusers > 
From: Matthew Leingang <leingang@ma...>  20070222 19:58:11

Hi, Apologies for crossposting, but I'm really asking a beamer/tikz question here. I have a tree on a slide and I want to highlight branches of the tree on separate overlays. I know that \draw is overlayaware, but I don't know where to put the overlay specifications inside a tree. I tried using styles that had different definitions on different overlays, but commands like \tikzstyle<3>{style}=[...] didn't seem to create new overlays. Here's my tree: \begin{tikzpicture} \tikzstyle{level 1}=[sibling distance=25mm] \tikzstyle{level 2}=[sibling distance=15mm] \node{$w$} child {node {$x$} child {node {$u$}} child {node {$v$}}} child {node {$y$} child {node {$u$}} child {node {$v$}}} child {node {$z$} child {node {$u$}} child {node {$v$}}} child {node {$t$} child {node {$u$}} child {node {$v$}}}; \end{tikzpicture} I want * overlay 1 to have the w and x nodes and the edge between them in blue (say) * overlay 2 to have the x and u nodes and the edge between them in blue * overlay 3 to have the w and y nodes and the edge between them in blue * overlay 4 to have the y and u nodes and the edge between them in blue And so on. Any clues? TIA, Matt  Matthew Leingang Preceptor in Mathematics Harvard University http://www.math.harvard.edu/~leingang/vCard.vcf 
From: Kjell Magne Fauske <kjellmf@gm...>  20070222 09:37:23

On 2/22/07, Ardi <bozon42@...> wrote: > Hello all, > > I would like to know how to install and get pgf/tikz running > in MikTeX 2.4 or MikTeX 2.5. > As default both have pgf and xcolor installed. (13) PGF 1.10 is available through the MikTeX package manager, and therefore it is not necessary to install it manually. Try to run the MikTeX update wizard and make sure to choose an updated online repository. If this not work, try uninstalling PGF and install it again. Repositories for MikTeX 2.4 are not supported any more, so you may have to update to 2.5. >5. >May I use then dvips, dvipdfm,dvipdfmx to generate ps and pdf >resulting file? Sure. PGF also works directly with pdftex. No need to go via dvi and ps unless you have other graphics in EPS format. Hope this helps.  Kjell Magne Fauske 
From: Ardi <bozon42@ya...>  20070222 08:37:12

Hello all, I would like to know how to install and get pgf/tikz running in MikTeX 2.4 or MikTeX 2.5. As default both have pgf and xcolor installed. 1. Do I have to deinstall these packages and then copy everything from pgf1.10.tar.gz to anywhere? 2. BTW what does it mean "anywhere tex will find"? 3. Where exactly the files in subdirectories from unpacked pgf1.10.tar.gz should go if I want to follow TDS? 4. Should the command: latex examplepgf.tex or pdftex examplepgf.tex be used to generate dvi file? ********* % Sample file: note2.tex % Typeset with LaTeX format \documentclass{article} \usepackage{tikz} \usepackage{bbding} \begin{document} \begin{flushright} \today \CrossMaltese \end{flushright} \textbf{From the desk of Ardi}\\[10pt] This formula is valid:\\ \begin{center} $\delta{L}=\sum_a\frac{\partial{L}}{\partial{\vec{r}_a}}\delta{\vec{r}_a}=\vec{\epsilon}\sum_a\frac{\partial{L}}{\partial{\vec{r}_a}}$, \end{center} where it should be applied to all points of the system.\\ April~12 \emph{please} use my email address: \begin{center} \texttt{algol@...} \end{center} We are working on \tikz (5pt,0pt)  (0pt,0pt)  (0pt,5pt)  cycle; as well.\\ \end{document} ********* 5. May I use then dvips, dvipdfm,dvipdfmx to generate ps and pdf resulting file? Somehow I am lost and need a help. Thanks in advance. Kinde regards, Ardi ____________________________________________________________________________________ Need a quick answer? Get one in minutes from people who know. Ask your question on http://www.Answers.yahoo.com 
From: Mark Wibrow <M.W<ibrow@ue...>  20070221 10:19:27

Hi, It's not directly possible at the moment, but I can think of two ways: 1) Easy but Clumsy: Define macros containing tikzpictures of the symbols you require and use these macros inside the nodes of a tree. 2) Less easy but Cleaner: Create new shapes (many of the symbols are based on the circle, so the code can be copied/inherited) and place the extra code for the drawing inside the shape into the \backgroundpath or \behindbackgroundpath (see the manual for declaring new shapes). Hope this helps, Mark. Hari Sundar wrote: > Hi, > > I was wondering if anyone has used tikz to draw inventor style > scenegraphs. If not can someone help me get started in the right > direction. > > Just for reference, the scenegraph uses the symbols > > http://techpubs.sgi.com/library/dynaweb_docs/0650/SGI_Developer/books/Inventor_TM/sgi_html/figures/intro1new.gif > > and a simple scenegraph looks like, > > http://wwwevasion.imag.fr/Membres/Francois.Faure/doc/inventorMentor/sgi_html/figures/310.gif > > This looks like something that should be simple using tikz ... what > would be the best way to go about doing this right ? > > thanks, > ~Hari > >  > 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 surveysand earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > pgfusers mailing list > pgfusers@... > https://lists.sourceforge.net/lists/listinfo/pgfusers > 
From: Hari Sundar <hsundar@gm...>  20070221 00:41:10

Hi, I was wondering if anyone has used tikz to draw inventor style scenegraphs. If not can someone help me get started in the right direction. Just for reference, the scenegraph uses the symbols http://techpubs.sgi.com/library/dynaweb_docs/0650/SGI_Developer/books/Inventor_TM/sgi_html/figures/intro1new.gif and a simple scenegraph looks like, http://wwwevasion.imag.fr/Membres/Francois.Faure/doc/inventorMentor/sgi_html/figures/310.gif This looks like something that should be simple using tikz ... what would be the best way to go about doing this right ? thanks, ~Hari 
From: Hari Sundar <hsundar@gm...>  20070215 04:48:24

Hi, I have generated a simple diagram which shows a quadtree overlaid on geometric objects. I have manually drawn the quadtree and was wondering if there was a better way to generate such a figure. I just started using tikz and so am not very comfortable with it. I will be generating quite a few figures like this and so would appreciate any help which would make it more efficient ... thanks, ~Hari == \begin{tikzpicture} %% First draw the scene ... \filldraw[fill=green!40] (5,4) rectangle +(1,1); \filldraw[fill=blue!40] (1.5,1.5) rectangle +(2,2); \filldraw[fill=yellow!30] (2,6) circle (1.5); %% Now Draw the quadtree ... \draw [step=4cm] (0,0) grid (8,8) [step=2cm] (4,4) grid +(4,4) [step=1cm] (0,4) grid +(4,4) [step=1cm] (0,0) grid +(4,4) [step=1cm] (4,4) grid +(2,2) [step=0.5cm] (2,3) grid +(1,1) [step=0.5cm] (1,1) grid +(1,1) [step=0.5cm] (1,2) grid +(1,1) [step=0.5cm] (2,1) grid +(1,1) [step=0.5cm] (1,3) grid +(1,1) [step=0.5cm] (3,1) grid +(1,1) [step=0.5cm] (3,3) grid +(1,1) [step=0.5cm] (3,2) grid +(1,1) [step=0.5cm] (1,4) grid +(2,1) [step=0.5cm] (1,7) grid +(2,1) [step=0.5cm] (0,5) grid +(1,2) [step=0.5cm] (3,5) grid +(1,2) [step=0.25cm] (1,4.5) grid +(0.5, 0.5) [step=0.25cm] (0.5,5) grid +(0.5, 0.5) [step=0.25cm] (0.5,6.5) grid +(0.5, 0.5) [step=0.25cm] (1,7) grid +(0.5, 0.5) [step=0.25cm] (2.5,4.5) grid +(0.5, 0.5) [step=0.25cm] (3,5) grid +(0.5, 0.5) [step=0.25cm] (3,6.5) grid +(0.5, 0.5) [step=0.25cm] (2.5,7) grid +(0.5, 0.5) \end{tikzpicture} ==  1 (215) 662 7501 (w) 1 (215) 614 0266 (f) 1 (732) 672 1094 (m) http://www.seas.upenn.edu/~hsundar/ 
From: Mark Wibrow <M.W<ibrow@ue...>  20070214 15:55:43

Hi, This is great! Polynomial approximation *is* much more efficient. I've just dashed off a test version in TeX, and even with the necessary truncating/rounding of the coefficients to 5 decimal places, accuracy is good. The only "fly in the ointment" is that the accuracy is spoiled by the calculation of a/b. I can do this with (barely) tolerable accuracy, but as a/b needs to be squared for this approximation, the errors get compounded Current accuracy, using the polynomial approximation is typically within +/ 0.5pt for small to midrange values, but for large values eg a=900pt b=1000pt I get errors of around 5.0pt. I'll take proper look at it later (undergraduates do occasionally have to do some work...) Mark rouben.rostamian@... wrote: > "Mark Wibrow" <M.Wibrow@...> wrote: > >> rouben.rostamian@... wrote: >> >> > Till, if you are reading this, I have something to >> > offer. In an attempt to do geometry in TikZ, I have derived >> > accurate polynomial approximations (using Chebyshev >> > interpolation points) to the functions sine, cosine, >> > and sqrt. Therefore these can be computed when needed >> > (with the help of the calc package) without the need for >> > a table lookup. If such functionality can be of help in >> > adding geometry constructions to TikZ, I will be glad to >> > send them to you. >> >> I'd be interested to know if Chebyshev interpolation in TeX is more >> accurate/efficient than a NewtonRaphson approximation (with 10 >> iterations): >> >> [Nice TeX program for finding square roots >> via Newton's iteration deleted] > > Newton's method is an iterative algorithm. Accuracy is > controlled by the number of iterations. Polynomial > approximation is noniterative. Accuracy is controlled > by the degree of approximating polynomial. > > I either method, we need to decide what accuracy we need, > then apply the proper control to achieve that accuracy. > In either method, a higher accuracy requires more > computation. > > Here I will describe how to calculate the quantity > sqrt(a^2+b^2) by polynomial approximation. The algorithm > I will give below calls for exactly 4 additions and 7 > multiplications. The relative error, that is the ratio > "error/sqrt(a^2+b^2)", is around 10^5 in the worst case. > > Here is the idea. We approximate the function sqrt(1+x^2) > on the interval 0 < x < 1 by a polynomial of the form: > > P(x) = c0 + x^2 * (c1 + x^2 * (c2 + x^2 * ( c3 + c4 * x^2))) > > Assume a<b. We compute sqrt(a^2+b^2) via: > > sqrt(a^2+b^2) = b*sqrt(1 + (a/b)^2) = b*P(a/b). > > We see that this evaluation of sqrt(a^2+b^2) > requires exactly 4 additions/subtractions and 7 > multiplications/divisions. The worst relative error is > at most 1.3*10^5. I guess, but I haven't checked, that > a Newton's iteration corresponding to the same level of > accuracy will have a substantially larger operations count. > > Here are the coefficients of P(x): > > c4 = 0.01019210944 > c3 = +0.04453994279 > c2 = 0.1195159052 > c1 = +0.4993615349 > c0 = +1.000012594 > >  > Rouben Rostamian > >  > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with preintegrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.asus.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > pgfusers mailing list > pgfusers@... > https://lists.sourceforge.net/lists/listinfo/pgfusers > 
From: Kjell Magne Fauske <kjellmf@gm...>  20070214 09:37:52

On 2/14/07, Hari Sundar <hsundar@...> wrote: > Hi, > > I want to display a tikz diagram and an image side by side. I am > unable to do this. The image gets placed under the tikz diagram. I > tried using subfigure, but that too places the image under the > diagram. > > What is the easiest way to do this correctly ? Using the subfig package like this works:  \documentclass{article} \usepackage{tikz} \usepackage{subfig} \usepackage{graphicx} \begin{document} \begin{figure} \centering \subfloat[]{ \begin{tikzpicture} \draw (0,0) rectangle (3,3); \fill[blue!20] (1,1) circle (1); \end{tikzpicture}} \quad \subfloat[]{\includegraphics[width=3cm]{image}} \end{figure} \end{document}  If you want the diagram and the image to be in the same drawing you can for instance put the image in a node like this: \begin{tikzpicture}[inner sep=0pt] \node (a) { \begin{tikzpicture} \draw (0,0) rectangle (3,3); \fill[blue!20] (1,1) circle (1); \end{tikzpicture}}; \path (a.east) node[right=1cm] (b) {\includegraphics[width=3cm]{image}}; \end{tikzpicture} or you can do something like this: \begin{tikzpicture} \draw (0,0) rectangle (3,3); \fill[blue!20] (1,1) circle (1); \node at (5,1.5) {\includegraphics[width=3cm]{3dcone}}; \end{tikzpicture} Hope this helps.  Kjell Magne Fauske 
From: <rouben.rostamian@co...>  20070214 02:05:54

"Mark Wibrow" <M.Wibrow@...> wrote: > rouben.rostamian@... wrote: > > > Till, if you are reading this, I have something to > > offer. In an attempt to do geometry in TikZ, I have derived > > accurate polynomial approximations (using Chebyshev > > interpolation points) to the functions sine, cosine, > > and sqrt. Therefore these can be computed when needed > > (with the help of the calc package) without the need for > > a table lookup. If such functionality can be of help in > > adding geometry constructions to TikZ, I will be glad to > > send them to you. > > I'd be interested to know if Chebyshev interpolation in TeX is more > accurate/efficient than a NewtonRaphson approximation (with 10 > iterations): > > [Nice TeX program for finding square roots > via Newton's iteration deleted] Newton's method is an iterative algorithm. Accuracy is controlled by the number of iterations. Polynomial approximation is noniterative. Accuracy is controlled by the degree of approximating polynomial. I either method, we need to decide what accuracy we need, then apply the proper control to achieve that accuracy. In either method, a higher accuracy requires more computation. Here I will describe how to calculate the quantity sqrt(a^2+b^2) by polynomial approximation. The algorithm I will give below calls for exactly 4 additions and 7 multiplications. The relative error, that is the ratio "error/sqrt(a^2+b^2)", is around 10^5 in the worst case. Here is the idea. We approximate the function sqrt(1+x^2) on the interval 0 < x < 1 by a polynomial of the form: P(x) = c0 + x^2 * (c1 + x^2 * (c2 + x^2 * ( c3 + c4 * x^2))) Assume a<b. We compute sqrt(a^2+b^2) via: sqrt(a^2+b^2) = b*sqrt(1 + (a/b)^2) = b*P(a/b). We see that this evaluation of sqrt(a^2+b^2) requires exactly 4 additions/subtractions and 7 multiplications/divisions. The worst relative error is at most 1.3*10^5. I guess, but I haven't checked, that a Newton's iteration corresponding to the same level of accuracy will have a substantially larger operations count. Here are the coefficients of P(x): c4 = 0.01019210944 c3 = +0.04453994279 c2 = 0.1195159052 c1 = +0.4993615349 c0 = +1.000012594  Rouben Rostamian 
From: Hari Sundar <hsundar@gm...>  20070214 00:25:49

Hi, I want to display a tikz diagram and an image side by side. I am unable to do this. The image gets placed under the tikz diagram. I tried using subfigure, but that too places the image under the diagram. What is the easiest way to do this correctly ? thanks, ~Hari  1 (215) 662 7501 (w) 1 (215) 614 0266 (f) 1 (732) 672 1094 (m) http://www.seas.upenn.edu/~hsundar/ 
From: Alain Matthes <alain.matthes@ma...>  20070213 19:19:20

Le 13 f=E9vr. 07 =E0 19:37, Mark Wibrow a =E9crit : > Hi, > > OK, I haven't tried this (no LaTeX on this computer), but if i =20 > understand > the question, given two nodes/coordinates such as > > \node at (0,1) (a) {}; > \node at (2,2) (b) {}; > > If you redefine \drawcircle > > \def\drawcircle#1#2{% > \calcradius{\@radius}{\pgfpointanchor{#1}{center}}% > {\pgfpointanchor{#2}{center}} > \pgfpathcircle{\pgfpointanchor{#1}{center}}{\@radius} > } > > Then you can say > > \drawcircle{a}{b} > > to get a circle at 'a' that passes through 'b'. > > Hope this helps. > yes that helps me Greetings Alain= 
From: Mark Wibrow <M.W<ibrow@ue...>  20070213 18:37:30

Hi, OK, I haven't tried this (no LaTeX on this computer), but if i understand the question, given two nodes/coordinates such as \node at (0,1) (a) {}; \node at (2,2) (b) {}; If you redefine \drawcircle \def\drawcircle#1#2{% \calcradius{\@radius}{\pgfpointanchor{#1}{center}}% {\pgfpointanchor{#2}{center}} \pgfpathcircle{\pgfpointanchor{#1}{center}}{\@radius} } Then you can say \drawcircle{a}{b} to get a circle at 'a' that passes through 'b'. Hope this helps. mark Alain Matthes wrote: > > Le 13 févr. 07 à 15:16, Till Tantau a écrit : > >> Hi! >> >> first, Mark, thanks for the code. I'll review it asap. >> >> Concerning fp: 1) I was not aware of it when I started work on pgf >> some four years ago and 2) even then it does, indeed, seem a bit too >> slow (even slower than pgf itself...). >> >> Mark is working on a pgflibmath, so hopefully some basic things will >> be easier, soon. >> >> Best regards everyone, >> Till > > > Mark and Till thanks for your code and your package. It's a real > pleasure > to work with pgf/tikz ! > > a last question > > Mark in his code use pgf : > > \begin{tikzpicture} > > \def\firstpoint{\pgfpoint{2cm}{1cm}} > \def\secondpoint{\pgfpoint{1.5cm}{1.5cm}} > > \color{red} > \pgfpathcircle{\firstpoint}{2pt} > \pgfusepath{fill} > \pgfpathcircle{\secondpoint}{2pt} > \pgfusepath{fill} > > \color{black} > \drawcircle{\firstpoint}{\secondpoint} > \pgfusepath{stroke} > \end{tikzpicture} > > > but with tikz and nodes (or coordinate) what is the good way > to use \drawcircle : > > usually i make something like that: > > \pgfextractx{\pgf@...}{\pgfpointanchor{#1}{center}} > \pgf@...=\pgf@...% > \pgfextracty{\pgf@...}{\pgfpointanchor{#1}{center}} > \pgf@...=\pgf@...% > > is it good ? > > Greetings Alain 
From: Alain Matthes <alain.matthes@ma...>  20070213 14:29:01

Le 13 f=E9vr. 07 =E0 15:16, Till Tantau a =E9crit : > Hi! > > first, Mark, thanks for the code. I'll review it asap. > > Concerning fp: 1) I was not aware of it when I started work on pgf > some four years ago and 2) even then it does, indeed, seem a bit too > slow (even slower than pgf itself...). > > Mark is working on a pgflibmath, so hopefully some basic things will > be easier, soon. > > Best regards everyone, > Till Mark and Till thanks for your code and your package. It's a real =20 pleasure to work with pgf/tikz ! a last question Mark in his code use pgf : \begin{tikzpicture} \def\firstpoint{\pgfpoint{2cm}{1cm}} \def\secondpoint{\pgfpoint{1.5cm}{1.5cm}} \color{red} \pgfpathcircle{\firstpoint}{2pt} \pgfusepath{fill} \pgfpathcircle{\secondpoint}{2pt} \pgfusepath{fill} \color{black} \drawcircle{\firstpoint}{\secondpoint} \pgfusepath{stroke} \end{tikzpicture} but with tikz and nodes (or coordinate) what is the good way to use \drawcircle : usually i make something like that: \pgfextractx{\pgf@...}{\pgfpointanchor{#1}{center}} \pgf@...=3D\pgf@...% \pgfextracty{\pgf@...}{\pgfpointanchor{#1}{center}} \pgf@...=3D\pgf@...% is it good ? Greetings Alain= 
From: Till Tantau <tantau@tc...>  20070213 14:13:54

Hi! first, Mark, thanks for the code. I'll review it asap. Concerning fp: 1) I was not aware of it when I started work on pgf some four years ago and 2) even then it does, indeed, seem a bit too slow (even slower than pgf itself...). Mark is working on a pgflibmath, so hopefully some basic things will be easier, soon. Best regards everyone, Till Am 13.02.2007 um 13:13 schrieb Mark Wibrow: > Alain Matthes wrote: >> Thanks for your answer, that confirms what I thought, but in this >> case >> why not use fp.sty or then why not implement something like fp.sty >> but improved. It is not necessary to have all the possibilities of >> fp.sty >> It's obvious that with lua in pdftex the problem is not the same but >> with fp , many small things can be done. >> >> Alain > > Well, I don't know why fp isn't used. But I guess it's a trade off > between > accuracy and efficiency. fp is not particularly efficent, and > requires a > *huge* number of count registers, even for basic stuff. > > Mark > > > >  >  > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with preintegrated technology to make your > job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.asus.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > pgfusers mailing list > pgfusers@... > https://lists.sourceforge.net/lists/listinfo/pgfusers >  Prof. Dr. Till Tantau <tantau@...> http://www.tcs.uniluebeck.de 
From: Mark Wibrow <M.W<ibrow@ue...>  20070213 12:13:54

Alain Matthes wrote: > Thanks for your answer, that confirms what I thought, but in this case > why not use fp.sty or then why not implement something like fp.sty > but improved. It is not necessary to have all the possibilities of > fp.sty > It's obvious that with lua in pdftex the problem is not the same but > with fp , many small things can be done. > > Alain Well, I don't know why fp isn't used. But I guess it's a trade off between accuracy and efficiency. fp is not particularly efficent, and requires a *huge* number of count registers, even for basic stuff. Mark 