{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)

59
votes
1answer
2k views

PowerPoint's “Smart Art” for TikZ?

This question led to a new package: smartdiagram I haven't been using PowerPoint for years, but today I immediately fell in love with its "Smart Art" feature (2010 version of PowerPoint). The ...
0
votes
1answer
573 views

modernCV template in LyX - how can I include a picture? [closed]

I'm using LyX in Linux and saved the protected and edited template under my given name to workspace. The assigned picture is to be 64pix (as in template) and renamed to CV-image. nevertheless, i get ...
18
votes
2answers
558 views

How to Draw a Partitioned Circle in TikZ?

I want to draw something like this: I know everything apart from that circle. This is my code: \documentclass{article} \usepackage{tikz} ...
0
votes
0answers
55 views

xy-pic trouble with svjour3 [closed]

I'm attempting to compile in svjour3 a tex file which compiles without any trouble in article. However, my \xymatrix code block doesn't compile properly in svjour3, and I get the error ...
1
vote
1answer
84 views

Problem with \xymatrix in svjour3 [closed]

I attempt to compile the following \newcommand{\arb}[1]{\ar@<-.15ex>[#1]\ar@<.15ex>[#1]\ar@<-.075ex>[#1]\ar@<.075ex>[#1]\ar[#1]} \[\xymatrix{ & ...
18
votes
2answers
2k views

Making a labeled Klein bottle using TikZ or pgfplots?

I'd like to be able to draw the following cell complex structure on the (three-dimensional embedding of the) Klein bottle using LaTeX. I am pretty pleased with my hand-drawn rendition, but LaTeX is ...
0
votes
1answer
96 views

Error messages with diagonal arrows [closed]

When I copy and paste the corrected code for example in this question, I get the following error message: xymatrix 2x2 ! Missing number, treated as zero. to be read again \/ ...
2
votes
1answer
199 views

Drawing delta-complexes (essentially labeled directed graphs) with TikZ? [duplicate]

Possible Duplicate: TikZ: How to draw an arrow in the middle of the line? How can I draw delta-complex diagrams like ones on this page from Hatcher's book: Source: ...
7
votes
2answers
284 views

Create a diagram to display composition of functions

So as to produce exercises about compositions of function, I would like to produce something like this (ugly) picture. From LaTeX point of view, the syntax could be like this : \compoDiagram[$G ...
2
votes
1answer
160 views

Numbering trees/diagrams in tikzpicture

I want to number my trees/diagrams according to section number and at the center and bottom of them. Like Diagram 1.1 Here is a simple one that I wrote. \usepackage{tikz} \usepackage{amsfonts} ...
9
votes
2answers
544 views

Draw a railway network in Tikz

I need to make several diagrams of a railway network, each of them representing different scenarios. Here is an ugly example of what I want: And here my first attempt to reproduce it: As you can ...
3
votes
2answers
469 views

TikZ: Drawing the same data with scatter plots and parallel coordinates

I am new to TikZ and trying to recreate the following image (which was created in R): (Translation: correlation = +1, correlation = -1, two clusters, circle, normal distribution) Each "column" ...
5
votes
2answers
553 views

Big block matrix with tikz

I know this is very similar to plenty of questions. The matrix below s actually bigger, so I realized that I had to use tikz. In this array, A, A',…,L', T are square matrices, and I filled with ...
2
votes
0answers
150 views

Large block diagrams with auto positioning

I need to make some (large) maintainable block diagrams. Some small diagrams I already made using Tikz, but I always need to specify the placement of every block. Now for large diagrams this could be ...
6
votes
1answer
256 views

how to add arrow between arrows, how to put an arrow on a second arrow

I have big problems to get model of evolution. I do not even know how to start. If some one show the samle code of something similar, I would be grateful \documentclass{minimal} ...
11
votes
1answer
329 views

Fake sheet effect

How can recreate this effect in LaTeX?
7
votes
2answers
532 views

Workflow diagram

I would like to make a workflow diagram like this: I found TikZ, but the sequence diagram example seems a bit obscure…
4
votes
2answers
359 views

Typsetting big matrix (but keeping A4 size)

This question is a slight variation of Compiling a BIG matrix, but I need to write a matrix in a A4 or letter size paper; it is a block 48x48 matrix but I can put lot of $0_2$ and $0_4$'s in order to ...
8
votes
1answer
273 views

String diagrams for monoidal functors a la McCurdy

Almost surely you don't know who Micah McCurdy is, but here is a sample of his diagrams, on pages 20-21, for example, or page 27 for something fancier. I asked him how he did them, and unfortunately ...
8
votes
2answers
645 views

inclusion arrow in TikZ

How can I give shape to some arrow in tikz, to draw the inclusion arrow? I read a similar question How to typeset inclusion arrow? with given answer, but the answer didn't really used tikz and I ...
0
votes
0answers
19 views

Putting text on the left and a picture on the right [duplicate]

Possible Duplicate: Beamer text and image on the same slide I want to put some text on a slide along with a picture. But I want the text to be on the left and the picture to be on the ...
10
votes
2answers
1k views

Labeled Number Line

I am transferring a professor's .doc files to LaTeX so that we can do more sophisticated formatting and I ran across a problem. I would like to recreate this number line in LaTeX. Help with which ...
2
votes
1answer
170 views

listplot and postscript

Is there a possibility with listplot to make lines from a point which is defined? Example... Fileinput: -0.013,0.471 0.044,-0.294 -0.069,0.446 0.025,-0.385 0.038,-0.448 0.073,-0.365 0.375,0.045 ...
3
votes
2answers
82 views

How to put a picture to the top right of a page?

I have written in TeX the following: \section{A} ... somethingA ... \begin{picture}(100, 100)(-250, -110) \includegraphics[scale=1]{face.png} \end{picture} \section{B} ... somethingB ... I have ...
2
votes
1answer
241 views

is it possible to include tikz picture from a file

I have a tikz picture in a tex file \begin{figure}[ht!] \begin{center} \resizebox{.4\textwidth}{!}{\begin{tikzpicture}[ .... \end{tikzpicture}} \end{center} \end{figure} The ... portion is quite ...
9
votes
1answer
501 views

Style question: serif or sans fonts in figure and chart text?

Question for you design-y types: I like to use a serif font for all my text (title, headings, body). What I'd like to know is whether you think that I should go with a serif or sans serif for text in ...
11
votes
2answers
613 views

Using Tikz to draw a Hash Table

I need to try to replicate a similar structure to this but am a novice when it comes to tikz. I'm not sure whether to use chains, explicit node positioning, etc. And, in my experience of drawing ...
1
vote
2answers
147 views

Multicolumn and graphics

If you try to comment what i have marked you will see the heading picture step one page back respect the title why? Here is the picture. The code is from this post. \documentclass[% ...
3
votes
1answer
82 views

How to put some special diagram in the subscript of a letter?

I'm a newer by using Latex. I don't know how to code the following equation. Can you give me some helpful suggestions? _____ ______ | | |___ |____ ...
3
votes
1answer
136 views

How to shift arrow in diagram

I need to shift this diagonal arrow (in bottom box) down. \xymatrix@R.8pc@C.8pc{ \bullet \ar[rrr]^{i'^{!}} \ar[ddd]_{Th(\Omega_{f'})} &&& \bullet \ar[ddd]^{Th(\Omega_{f})} \\ ...
1
vote
1answer
316 views

Commutative diagram with curved arrows, colour, and changing the style of arrows

I am using xy matrix and I would to curve an arrow over other arrows in a diagram, at the same time as setting some of these curved arrows to equal and changing their colour. This is what I have so ...
15
votes
1answer
864 views

Waterfall Chart

For displaying the total effect of a series of values, a waterfall chart can be useful. For example this chart, taken from The Economist, illustrates estimated efficiency potentials in the UK public ...
3
votes
1answer
232 views

Adjust spacing between specific rows with \xymatrix

I have the following diagram: \[ \xymatrix @!=1pc { & Z \ar@{.>}[d]^{\exists!h} \ar@/_1.2pc/[ddl]_{p'} \ar@/^1.2pc/[ddr]^{q'} & \\ & X \times_S Y \ar[dl]_p\ar[dr]^q & \\ X ...
3
votes
1answer
156 views

OpenType, extensible arrows, and diagrams

Does the OpenType font format provide support for extensible arrows (as in \xrightarrow)? If so, is it true that it would be unicode-math's job to make this functionality available in TeX? This ...
4
votes
0answers
191 views

Triangulated Toruses in Sketch [closed]

I want to be able to use sketch to generate an image like this: I am able to get the torus okay using nested sweeps as demonstrated in the tutorial, but my attempts to draw the diagonals using ...
1
vote
0answers
380 views

Draw set mapping diagrams [closed]

I'm trying to draw some set mapping diagrams with LaTeX. Do you know any packages that can do this? I tried searching online but I couldn't find anything useful.
9
votes
3answers
2k views

Is there any way to type LaTeX code directly into the text boxes Inkscape?

I use Inkscape on Windows 7 platform. The principle to enter integrals and other mathematical symbols in Inkscape seems that the best thing to do and write them in a LaTeX compiler and cut them in ...
3
votes
1answer
112 views

Objects in Commutative Diagram DCpic

I have the diagram of the folllowing form: \begindc \obj(1,1){$A$} \obj(3,1){$B$} \obj(3,3){$C$} \mor(1,1)(3,1) {$f$ }[\atright,\solidarrow] \mor(1,1)(3,3) {$g$ } \mor(3,1)(3,3) {$h$ ...
1
vote
1answer
294 views

Adding tikzpicture layers that can be viewed sequentially in the output (Motzkin graphs)

In a Beamer presentation it's possible to add elements to a tikzfigure on a page sequentially so that the viewer doesn't have to take in all of the complexity at once. You cannot use the Beamer ...
3
votes
1answer
98 views

Errors when trying to draw a commutative diagram using an xymatrix

Why is the following code not compiling? \[ \xymatrix{ A \ar[rd]^{g \circ f} \ar[r]^f & B \ar[d]^g\\ C} \] I'm trying to get a commutative diagram with 3 objects (A, B and C) ...
7
votes
1answer
309 views

How to create a symbol for LMB (left mouse clicking) or RMB (right mouse clicking) in LaTeX?

I'm searching now since 2 weeks for a LMB (left mouse click) or RMB (right mouse click) symbol in LaTeX. I saw it once in a manual, but I couldn't find it any more... Now I want to write a manual and ...
6
votes
1answer
289 views

TikZ picture overlaps with text (not wanted)

I am new to TikZ and I can't explain the following behavior when I compile this (with pdflatex or lualatex): \documentclass[ fontsize=12pt, DIV=calc, %draft, %parskip=half, ...
2
votes
0answers
150 views

What is most effecient way to draw a graph in LaTeX? [duplicate]

Possible Duplicate: LaTeX for Graph Theory? For the first time, I was going to draw a graph in LaTeX. (I was intended for a graph similar to the following) Graph Theory is an important ...
5
votes
1answer
153 views

Intercalate pictures and items in beamer presentations

I'm preparing a presentation in which I'd like to have pictures in a new slide between \items. The final result should look like: Slide 1: I want to discuss: 1) Cars Slide 2: [Picture of a car] ...
4
votes
2answers
391 views

Kiviat diagram with axis labeled and different sizes

I am trying to use the package tkz-kiviat to draw a kiviat. The following example produces the image below: \documentclass[]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
0answers
225 views

Drawing to indicate algorithms [closed]

I'm looking for one good drawing so as to symbolise algorithms. The idea is to use this drawing like one symbolic icon. Have you some ideas ?
5
votes
1answer
278 views

commutative diagram having drawings as objects

I need to draw a commutative diagram having drawings as objects, like in this link which is also shown below. I have some problems: xy-pic "slants" the objects; "matrix" library in TiKZ is not ...
0
votes
1answer
439 views

How to draw a diagram for packets scheduling in networks or task scheduling?

I would like to draw a diagram for packets scheduling in networks similar to the this one: The same type of diagram (or very similar) can be used also for tasks scheduling. Can you please indicate ...
6
votes
1answer
301 views

How can I vertically align the labels in a tikz diagram

I have drawn the above diagram with diagonal arrows in TikZ, but the labels look like they have been placed on a curve instead of next to each other. I think I understand why they are placed like ...
15
votes
3answers
2k views

Is there a way to control whitespace around a TikZ picture?

When I draw a tikzpicture that includes paths, I get quite a bit of extra whitespace added around the elements of the picture. Depending on the elements the figure contains, this can work out in some ...

1 2 3 4 5 10