{diagrams} is for general questions about vector graphics created programmatically inside a (La)TeX document. For questions about specific packages, use the appropriate tag, e.g. {tikz-pgf} or {pstricks}. For questions about inclusion of external graphic files, use {graphics} instead.

learn more… | top users | synonyms (1)

7
votes
2answers
735 views

TikZ: Labeling objects and referencing them

According to the TikZ manual I can use name= to assign a label to the drawings, but when I do the following: \begin{tikzpicture} \draw [ blue, thick, name=e1] (10pt,10pt) ellipse (50pt and 30pt); ...
7
votes
3answers
717 views

On lozenge diagrams

In the literature of sequence transformations, some algorithms are nicely represented as lozenge diagrams, e.g. or in an extended form, I could probably cheat and use matrix, array or some such ...
6
votes
3answers
965 views

How to generate postscript files from LaTeX pictures, with correct dimensions?

I have a document containing, among other things, some figures created using the picture environment. Now I need to create a postscript file for each figure, but if I simply copy them into otherwise ...
4
votes
1answer
481 views

Tikz and enlarging part of the draw. [closed]

I plotted a number of curves on the same figure using tikzpicture. but i am having a problem with enlarging part of the curves on the same figure. I searched for that and i found something similar on ...
27
votes
8answers
3k views

How to draw triangular grid in TikZ?

Is there an easy way to draw a triangular grid in TikZ, like this?
12
votes
3answers
2k views

Grouping objects and applying operation to the group

Forgive me for my perhaps naive questions, I am beginning to discover Tikz potentials. To ease certain operations as moving objects or transforming them, I want to know if there is a mechanism in ...
12
votes
6answers
3k views

How do I draw bar graphs in my LaTeX documents?

I have set up the TexLive distribution on my Ubuntu system. What graphics or graph-drawing package should I use to embed bar graphs in my LaTeX documents?
11
votes
4answers
2k views

Drawing arrow heads without the tails in TikZ?

I have an ellipse in a TikZ diagram and I would like to indicate a direction using an arrow head, but do not wish to draw the path leading up to the arrow head. I currently have \draw[->] (0,2) ...
28
votes
2answers
3k views

Drawing a hypergraph

What is the proper way to draw a hypergraph? Is there a package to do this, or is there an easy way to draw such diagrams with a common drawing method like tikz? I'm trying to draw something like
10
votes
3answers
2k views

Pushouts and pullbacks

How do I typeset that little symbol which indicates that a commutative square is a pushout or pullback square? I usually draw my diagrams in XY-pic, so I'd be most interested in how to do it there. ...
14
votes
4answers
1k views

What is the best way to typeset spectral sequences?

While writing articles about algebraic topology, I have had to typeset spectral sequences. These are tools for calculating homology and cohomology. Examples appear on page 10 of this book by Hatcher. ...
50
votes
2answers
7k views

Wordle-like word clouds

Wordle creates word clouds based on the frequency on words in a text, similar to tag clouds. What makes it unique is that it can lay out words in arbitrary directions without too much white space. See ...
61
votes
7answers
27k views

Typsetting UML class diagrams

What's the best way to draw UML class diagrams in LaTeX?
13
votes
4answers
5k views

What is a good way to draw Dynkin diagrams in LaTeX?

I'm about to start writing something up which includes a fair number of Dynkin diagrams, and I can think of several ways of going about it: Just draw the darn things in, e.g., InkScape, and include ...
37
votes
8answers
8k views

How to draw a torus

Is there an easy way to draw a contour image of torus below with tikz? Or for that matter with any other graphics package.
67
votes
9answers
29k views

What graphics packages are there for creating graphics in LaTeX documents?

What packages do you use and recommend for creating graphics in your LaTeX documents? As this is a community wiki post, please add your package to the accepted answer (or add a comment, and ...
53
votes
4answers
13k views

How do I insert an image in LaTeX so it looks good on print?

LaTeX documents print beautifully, but images often looks "ugly", "pixelated" or "low-res" compared to the text. By images I don't mean photos, which I rarely use, but rather diagrams, charts and ...