# 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 berge.zip) 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:

\documentclass{article} \usepackage{tkz-berge} \begin{document} .... example goes here... \end{document}

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 →

Hi

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?

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 (sagemath.org), which includes a graph editor, and an exporter to tkz-graph.sty syntax.

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.