Skip to content

About this blog

This blog is a continuation of my other blog.

In order to use this examples in your LaTeX documents, you first need to make sure you have TikZ installed. Then you need to get tkz-arith.sty, tkz-graph.sty and tkz-berge.sty from here (they are included in and install them “where LaTeX can find them” (if you do not know what that means, you can just put them in the same directory as your document).
Then, you can paste the examples in a document such as:
.... example goes here...

and compile it with pdflatex.

UPDATE: This is old news, but tkz-berge and tkz-graph are now in CTAN, in texlive 2011, and in MikTeX. See tkz-berge and tkz-graph.

3 Comments leave one →
  1. Davood permalink
    September 4, 2010 3:54 am

    you have a useful weblog.
    I need a software that I can draw a graph and export that to latex tikz.
    Can you help me?

    • Rafael permalink*
      September 11, 2010 11:19 pm

      I think there are several options for editing graphs in .dot format, and then you could use dot2tikz. Or for a more complicated but far-reaching solution, you could use Sage (, which includes a graph editor, and an exporter to tkz-graph.sty syntax.

  2. mama josie permalink
    March 9, 2013 2:50 pm

    FYI: The most recent tkz-graph.sty file in CTAN has one issue I’ve noticed: If you set a global LabelStyle option of fill=white, then this style doesn’t get applied when creating \Loop edges. Furthermore, \Loop edges don’t seem to have a nice way of affecting the angle/curvature of the edge — doing something like “bend left=30” gives very messed up results.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: