LaTeX Mastering Latex to Drawing Diagrams

Click For Summary
SUMMARY

This discussion focuses on creating diagrams in LaTeX, specifically for arrow theoretic diagrams in category theory. The recommended tools include PSTricks for basic drawings, TikZ for a comprehensive library of diagramming options, and the Xy-pic package for typesetting category theory diagrams. Additionally, Graphviz is suggested for automating the layout of graphs, although it may be more complex than necessary for simpler diagrams.

PREREQUISITES
  • Familiarity with LaTeX typesetting
  • Understanding of category theory concepts
  • Knowledge of TikZ and PSTricks packages
  • Basic experience with Graphviz for graph visualization
NEXT STEPS
  • Explore the PSTricks documentation for basic diagram creation
  • Learn how to use TikZ for advanced diagramming techniques
  • Read the Xy-pic user’s guide for typesetting category theory diagrams
  • Investigate Graphviz for automated graph layout and visualization
USEFUL FOR

LaTeX users, mathematicians, and educators looking to create precise diagrams for academic papers or presentations, particularly in the field of category theory.

tgt
Messages
519
Reaction score
2
How to do that?
 
Physics news on Phys.org
what would you like to do?? an example would be helpful in answering the question.
 
Dr Transport said:
what would you like to do?? an example would be helpful in answering the question.

some arrow theoretic diagrams such as in category theory.
 
OK, so you the most basic things you can do with the latex's own picture environment. But there are other, more advanced options. The most popular might be the the http://tug.org/PSTricks/main.cgi/", because it definitely works with pdf output (and, well, I know it better than pstricks ...).

All of these let you basically draw pictures by describing them. tikz even has a pretty huge library for specific tasks.

I don't quite know what you mean by "arrow theoretic diagrams", but if you want to connect boxes with arrows, you might want to look at http://www.graphviz.org/" . This is a graph visualization tool. It does not use (La)TeX syntax at all, but it can produce eps or pdf output to include in your documents. Good thing about graphviz is that you only need to specify the logical relationships, then graphviz does the whole layout for you.

hope that helps,
/W
 
Last edited by a moderator:
tgt said:
some arrow theoretic diagrams such as in category theory.

For typesetting diagrams as in category theory, the Xy-pic package is generally the way to go, and it is standard enough that most tex distributions include it (though you could of course download it yourself). The user's guide is well written, and you can usually find an example that does what you want and emulate that.

For other sorts of diagrams, I second the recommendation of pgf. However, while it is true that Graphviz is able to automate a lot of the work that goes into laying out a diagram (specifically, a graph), it usually is more trouble than it is worth unless you have a lot of nodes, or if you want to automatically generate a diagram from some program's output.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K