« Return to Thread: GeoGebra export to PGF/TikZ

Re: GeoGebra export to PGF/TikZ

by Kjell Magne Fauske :: Rate this Message:

Reply to Author | View in Thread

On Mon, Sep 8, 2008 at 8:37 PM, Loïc <xlogo@...> wrote:

> Dear List,
>
> There are two months I started writing a PGF/TikZ export for the dynamic
> geometry software GeoGebra. Now, you can try a preRelease here:
>
> http://www.geogebra.org/cms/index.php?option=com_content&task=blogcategory&id=74&Itemid=59&lang=en
>
> It supports Plain TeX, ConTeXt and LaTeX,
>
> Thanks to tell me your opinion.
>
> Best
> Loïc
>

Great work! I am not  familiar with GeoGebra, but the exported TikZ
looks nice and clean.
Maybe you could add some indentation for readability? Example:

\foreach \x in {-4,-3,-2,-1,1,2,3,4,5,6,7,8}
\draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt)node[below]
{\footnotesize \x};

I find it easier to read when it is written as:
\foreach \x in {-4,-3,-2,-1,1,2,3,4,5,6,7,8}
    \draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt)
node[below] {\footnotesize \x};

For readability you should also insert spaces in the node definitions.
Instead of:

... (-1.94,6)node[anchor=south west]{$a$};

output:

... (-1.94,6) node[anchor=south west] {$a$};

Regards,
Kjell Magne Fauske

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

 « Return to Thread: GeoGebra export to PGF/TikZ