With that said, I have tried TikZiT which does provide a minimal user interface for dragging elements, and creating edges. But it's quite hard to understand and I haven't for example understood how to even create simple text elements. Is there a more mature version that anybody knows about, or do you guys just hand code it?
2 Answers
Check out GeoGebra (https://www.geogebra.org/). It has functionality to export to TeX. The code is messy, as much machine generated code usually is, but it is very easy to clean up and takes much of the work out of drawing geometric diagrams.
- 21
-
1
-
-
1@Werner And Asymptote (http://wiki.geogebra.org/en/Export_to_LaTeX_(PGF,_PSTricks)_and_Asymptote). Can't find those options in the web interface though, so one likely needs the desktop version. – Torbjørn T. Jun 12 '15 at 10:48
Another option is Dia http://sourceforge.net/projects/dia-installer/. It can export pgf code which compiles with the tikz package.
This is a drawing editor with lots of templated objects you can use and include in the diagram. I have had students in the past use this for UML diagrams, flowcharts, etc which they then exported to a file and used \input{filename} to get code into the LaTeX file. Or they just copied and pasted.
I personally have used it for small diagrams to put in exams and is quick and easy.
I just installed it on Win8.1 and made a quick sketch, exported as *.pgf code and successfully compiled with MikTeX2.9 using TeXmaker 4.1.1
Major disadvantages:
1) The program builds all diagrams as absolute positioning, NOTHING is done relative. And the resulting code is in the order that you did the original drawing.
2) If you plan to edit the diagram further in dia then you must also save it in the native format for dia, as you cannot import tikz/pgf code.
3) Large and complicated diagrams will be very difficult to edit in any fashion with a LaTeX IDE.
- 9,895
\foreach, the result is mathematically precise. At least more than dragging elements, which will not be precise unless there is a snap-to-grid feature which I doubt exists. – Alenanno Jun 09 '15 at 08:34@username. – Torbjørn T. Jun 09 '15 at 10:39