tag:blogger.com,1999:blog-32075272.comments2022-05-21T20:41:50.222-05:00Graph Theory in LaTeXRafaelhttp://www.blogger.com/profile/12472535264735416143noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-32075272.post-35426985488981937962012-06-06T20:35:35.094-05:002012-06-06T20:35:35.094-05:00I am getting the following error:
" ! Undefi...I am getting the following error:<br /><br />" ! Undefined control sequence.<br />l.115 \SetVertexNormal<br /> <br />? " Can you help me? Thanks.Srinoreply@blogger.comtag:blogger.com,1999:blog-32075272.post-2325588960719455952012-05-08T08:59:48.060-05:002012-05-08T08:59:48.060-05:00As mentioned in other posts here in this blog, you...As mentioned in other posts here in this blog, you have to install tkz-graph.sty. tkz-berge.sty and its dependencies. Probably the easiest way is to update your TeX disctribution. The packages needed are included with the most recent versions of both MiKTeX and TeX Live.Rafaelhttps://www.blogger.com/profile/12472535264735416143noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-75896660913770038232012-05-08T07:52:52.011-05:002012-05-08T07:52:52.011-05:00Hi I am trying to create circulant graphs in LaTeX...Hi I am trying to create circulant graphs in LaTeX and used your example but am receiving many error messages. First of all I am using \usepackage{tikz} and when I tried \usepackage{tkz-berge} it says that it is not found. If I don't use the package it says that \GraphInit[vstyle=Art]<br />\SetUpEdge[style={->,>=angle 45,bend right=10},color=red]<br />\grCirculant[RA=3]{9}{1,-2,3,-4}<br />are all Undefined control sequences.<br />Any help is much appreciated!!Catrionanoreply@blogger.comtag:blogger.com,1999:blog-32075272.post-30371169068600716312011-10-18T10:51:35.435-05:002011-10-18T10:51:35.435-05:00I have updated another post in my new blog, see: h...I have updated another post in my new blog, see: http://graphtheoryinlatex.wordpress.com/2011/01/21/doing-more-with-vertices/, showing one way to have multiple labels on one vertex.Rafaelhttps://www.blogger.com/profile/12472535264735416143noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-32871511040878319192011-10-18T02:00:36.750-05:002011-10-18T02:00:36.750-05:00Thanks. While you are at it, I wonder if I can ask...Thanks. While you are at it, I wonder if I can ask another question. Is there a way to have a node with label both inside it and outside? I want to have a node identifier inside the node and the actual label above it, but have not been able to figure out if this can be done.M. Tamer Özsuhttps://www.blogger.com/profile/09829900873506367131noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-39538097811875366752011-10-17T17:06:07.367-05:002011-10-17T17:06:07.367-05:00@M. Tamer Özsu:
I can reproduce the problem, prob...@M. Tamer Özsu:<br /><br />I can reproduce the problem, probably it is due to changes in tkz-berge. I'll look into it and post an update. Thanks for your report!Rafaelhttps://www.blogger.com/profile/12472535264735416143noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-52015512036751490202011-10-17T14:54:22.317-05:002011-10-17T14:54:22.317-05:00I am having a trouble running your code. It gives ...I am having a trouble running your code. It gives me the following error<br /><br />Argument of \Vertices@NoStar has an extra }.<br /> <br /> \par <br />l.9 ...=4,dir=\SO,LabelOut=true,Ldist=5pt]{B,C,D}}<br /><br />on line <br /><br />\Vertices[x=1.5,y=4,dir=\SO,LabelOut=true,Ldist=5pt]{B,C,D}}<br /><br />I have cut-and-pasted the code and enclosed it within<br /><br /><br />\documentclass{article}<br />\usepackage{tkz-berge}<br />\begin{document}<br /><br />\end{document}M. Tamer Özsuhttps://www.blogger.com/profile/09829900873506367131noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-63202916545314513602011-10-03T10:47:59.229-05:002011-10-03T10:47:59.229-05:00Hi! I just came across your blog! I'm writin...Hi! I just came across your blog! I'm writing my dissertation and need to make some directed graphs (preferably with labels on the nodes). Your examples are very helpful. Thank you!Jessicahttps://www.blogger.com/profile/03976768543274004631noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-40782987881379043052011-03-12T05:35:42.383-06:002011-03-12T05:35:42.383-06:00Thx it helped me a lotThx it helped me a lotAnonymoushttps://www.blogger.com/profile/11210806800796648159noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-86672220599533383382010-10-19T22:23:34.184-05:002010-10-19T22:23:34.184-05:00@Grant
I'm not sure what the problem is, sinc...@Grant<br /><br />I'm not sure what the problem is, since the following compiles just fine for me:<br /><br />\documentclass{article}<br />\usepackage{tikz}<br />\pagestyle{empty}<br />\listfiles<br />\begin{document}<br />\begin{center}<br />\begin{tikzpicture}[style=thick]<br />\foreach \x in {0,1,...,5}<br />{<br />\draw (5-\x,0) -- (1,1);<br />}<br />\end{tikzpicture}<br />\end{center}<br />\end{document}<br /><br /><br />with this versions:<br />(the pgf package that comes with texlive in Ubuntu)<br /><br /> *File List*<br /> article.cls 2007/10/19 v1.4h Standard LaTeX document class<br /> size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)<br /> tikz.sty 2008/02/13 v2.00 (rcs-revision 1.27)<br /> pgf.sty 2008/01/15 v2.00 (rcs-revision 1.12)<br /> pgfrcs.sty 2008/02/20 v2.00 (rcs-revision 1.21)<br /> pgfrcs.code.tex<br /> pgfcore.sty 2008/01/15 v2.00 (rcs-revision 1.6)<br />graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)<br /> keyval.sty 1999/03/16 v1.13 key=value parser (DPC)<br />graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)<br /> trig.sty 1999/03/16 v1.09 sin cos tan (DPC)<br />graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live<br /> pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX<br /> pgfsys.sty 2008/02/07 v2.00 (rcs-revision 1.31)<br /> pgfsys.code.tex<br />pgfsyssoftpath.code.tex 2008/01/23 (rcs-revision 1.6)<br />pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4)<br /> xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)<br /> color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive<br /> pgfcore.code.tex<br />pgfcomp-version-0-65.sty 2007/07/03 v2.00 (rcs-revision 1.7)<br />pgfcomp-version-1-18.sty 2007/07/23 v2.00 (rcs-revision 1.1)<br /> pgffor.sty 2007/11/07 v2.00 (rcs-revision 1.8)<br /> pgffor.code.tex<br /> tikz.code.tex<br />supp-pdf.mkii<br /> ***********Rafaelhttps://www.blogger.com/profile/12472535264735416143noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-60642469136374646072010-10-19T22:02:12.242-05:002010-10-19T22:02:12.242-05:00Your post is really helpful to me. But there is on...Your post is really helpful to me. But there is one problem I couldn't sort out. You can put \x+15 to do the addition and \x-15 to do the subtraction. However, what I need is to do something like "15-\x". I tried this, but it didn't work. Are you able to assist me this? Could you send me an e-mail to generalrao@hotmail.com if you know the answer. Thanks a lot.Grantnoreply@blogger.comtag:blogger.com,1999:blog-32075272.post-3604547300889492372010-02-14T05:08:52.773-06:002010-02-14T05:08:52.773-06:00Genial post and this mail helped me alot in my col...Genial post and this mail helped me alot in my college assignement. Say thank you you as your information.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-32075272.post-78168581629752922852010-01-06T16:26:34.853-06:002010-01-06T16:26:34.853-06:00Your blog keeps getting better and better! Your ol...Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-32075272.post-90483009752271921422009-08-02T23:35:17.294-05:002009-08-02T23:35:17.294-05:00This example does not work with the most recent ve...This example does not work with the most recent versions of Alain's packages. I will delete the examples and replace them with current ones soon.Rafaelhttps://www.blogger.com/profile/12472535264735416143noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-15794199767015603312009-08-02T23:33:22.595-05:002009-08-02T23:33:22.595-05:00@ tiko
You don't give any details about your
s...@ tiko<br />You don't give any details about your<br />system and what exactly is that you tried.<br />From the little that you say, I think that you have an old TeX.Rafaelhttps://www.blogger.com/profile/12472535264735416143noreply@blogger.comtag:blogger.com,1999:blog-32075272.post-64688548199863352152009-08-02T06:43:26.742-05:002009-08-02T06:43:26.742-05:00it was encountered an error etex.sty
! Package ete...it was encountered an error etex.sty<br />! Package etex Error: This package may only be run using an etex in <br />(etex) extended mode.<br />Help, please.tikonoreply@blogger.comtag:blogger.com,1999:blog-32075272.post-10522720448922111482009-05-19T23:10:37.564-05:002009-05-19T23:10:37.564-05:00Thank you for this suggestion. I have a question t...Thank you for this suggestion. I have a question though, is it possible with tkz-graph to draw a vertex with a label inside the node AND another one outside?<br />Thank youAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-32075272.post-63127653121826504562008-12-24T11:47:00.000-06:002008-12-24T11:47:00.000-06:00I've been trying for 2 days to get these files to ...I've been trying for 2 days to get these files to work. I get a pgf error "shape H not found". I've been unable to diagnose the problem, except that it takes "H" from the first edge definition. <BR/><BR/>Please respond to gerheim@cox.net.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-32075272.post-1160435087057586852006-10-09T18:04:00.000-05:002006-10-09T18:04:00.000-05:00Miguel Pizaña sent the following comment, which du...Miguel Pizaña sent the following comment, which due to some ignorance of mine on the way Blogger behaves, did not appear<BR/><BR/><I>Oh!!! So (2:3) is in polar coordinates but (2,3) is in cartesian coordinates! That's cool.</I><BR/><BR/>Yes! However, for some reason one has to write a unit of length in polar coordinates, that is (2:3cm), and not just (2:3). In Cartesian coordinates, the unit of length is cm by defaultRafaelhttps://www.blogger.com/profile/12472535264735416143noreply@blogger.com