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

16
votes
3answers
2k views

Drawing a circuit structure in LaTeX

I want to create the following structure in LaTeX: Unfortunately I couldn't find a similar example in the pgf manual using the same symbols. An answer just showing basically how to produce a ...
10
votes
2answers
586 views

How to ensure consecutive diagonal arrows form a straight line?

How can I ensure that consecutive diagonal arrows in a tikz-cd commutative diagram spanning many rows and columns lie on a straight line (as is automatically the case for consecutive horizontal arrows)...
8
votes
1answer
1k views

Tikz: Avoiding line segments in snake path

I am using tikz to draw Feynman diagrams, and I learned how to draw a curved snake path. The problem is that in general line segments are present (I'd like to avoid them). I found a couple of post ...
13
votes
2answers
6k views

Curved waved lines with TikZ

I'm trying to write a code for Feynman diagrams with TikZ (I know it is a common subject in the forum). I found very useful posts. However, I would like to draw a curved waved line \documentclass{...
7
votes
1answer
760 views

Fine-tuning a commutative diagram

I am trying to type the following simple commutative diagram in LaTeX. I have the basics, but I need for the V to be centered, and for the arrow under the g to be in the opposite direction. \begin{...
25
votes
1answer
5k views

TikZ picture shapes

I am very new to the TikZ package, and I need to draw some flow chars by using the following shapes. However I couldn't figure out how to draw the 4th and and 6th ones below. It would be very nice (...
4
votes
1answer
344 views

xymatrix: Arrows badly placed when used with large nodes

I find that using xymatrix with large nodes results in awkwardly placed arrows: MWE: \documentclass{book} \usepackage{xypic} \begin{document} \xymatrix{ \textbf{Natural Numbers} \ar@/_/[r] &\...
5
votes
1answer
420 views

array and line how to draw?

I want to know how can I draw the line that appears in the right of the image below, and also how can I write this array that appears in the left of the picture.
5
votes
2answers
573 views

Big diagram in LaTeX with the help of PGF/TikZ

I managed to make this big diagram in Inkscape adding the codes in LaTeX using the plugin textext. See this question for more. I wish I knew how to draw the big diagram about dual linear spaces ...
3
votes
1answer
3k views

Subfigures side by side not working

I am trying to set two figures side by side while using the picture environment instead of includegraphics as shown in most examples here. Unfortunately they are displayed stacked and I do not know ...
13
votes
1answer
670 views

Design that imitate Google browser

I would like to write some tutorials about HTML, and I would like to do it efficiently without using too many screenshots. What I would like to obtain is a frame which looks like a web browser, such ...
6
votes
2answers
2k views

Small grid with no labels

How do I remove all labeling from a small grid to be used for a math test? I have created the grid with \graphpaper but get coordinate labels that I don't want.
12
votes
2answers
2k views

Is there is a package so you can add text with visual effects like “WordArt” from “Word”

I am elaborating a business card style for LaTeX but I found out that even if I have the style and margin for the cards I can not make it look "pretty" like other text editors without overusing text-...
9
votes
1answer
782 views

Circular sequence diagram (tikz?)

Apologies in advance for the slightly-crappy camera phone picture: I'd like to include some figures like this in something I'm working on. I've just started learning tikz, which seems like it could ...
0
votes
1answer
306 views

What files should I prepare to make commutative diagrams in TeX Writer? [duplicate]

I am using an iPad app TeX Writer and would like to draw a commutative diagram. I can use amscd in the app but it is not sufficient for the diagrams I want to draw. To include new package, I need to ...
6
votes
1answer
900 views

Getting vdots in graph tree

\documentclass[12pt]{article} \usepackage{amsmath} \usepackage{tikz} \tikzstyle{vertex}=[auto=left,circle,fill=black!25,minimum size=20pt,inner sep=0pt] \begin{document} \begin{tikzpicture} ...
6
votes
3answers
320 views

Is it possible to shade an area of a picture using the xcolor package?

I want to shade an area of of picture I have created in the environment \picture. Is there anyway I can shade this by setting it between co-ordinates? i.e. could I shade in blue the area between (1,1),...
3
votes
1answer
592 views

parallel arrows in pb-diagram

It is possible to get two parallel maps (one pointing to the left, the other to the right) between two nodes using pb-diagram? I know it can be done with TikZ, and maybe with some other package, but I ...
14
votes
1answer
21k views

Online LaTeX diagram graphical editor

Is there an online tool that generates the corresponding LaTeX code of a diagram which can be drawn using a graphical interface? A tool such as latexdraw but only using a web browser (like Detexify)?
2
votes
3answers
466 views

programs for creating diagrams

Does anybody know of some programs I can use to make diagrams that look like the following I would use the above diagram directly, however due to copyright issues, this is not an option for me. ...
6
votes
2answers
583 views

Create a table for an athletic knockout event

I have used LaTeX for fairly large documents in the past but not for diagrams. I would like to create a table describing a knockout athletic event, for instance like the one found here in HTML. How ...
8
votes
2answers
658 views

Pretty lists for sorting algorithms

I would like to obtain easily something like in this picture so as to illustrate several sorting algorithms. To produce one line, I would like to use one command of the following kind where the ...
3
votes
1answer
148 views

TeX, free floating, anchors

I want to achieve the following: I want a single page to consist of N "regions." Each region has a x-start, y-start, and a \hbox (denoting the contents of the region). Furthermore, for each region, ...
2
votes
1answer
2k views

Drawing membership functions and fuzzy sets with LaTeX

How can I visualize in LaTeX Fuzzy Logic diagrams such as the following picture? Also how I can visualize sets? Is the better way to show Fuzzy diagrams as an image?
9
votes
1answer
2k views

Create a ring diagram in TeX

To make it short, I am searching for a 2D variant of this plot How to design a 3D donut pie chart with pgf-plot? Especially the label for each segment are important for my application. I don't need ...
0
votes
2answers
261 views

How to print part of .tex code to pdf

My friends send me this .tex code, but it is only part of the code. I need your help to edit this code into a full document, because when I insert this code to TeXworks it does not compile into a pdf ...
6
votes
1answer
448 views

Pictures from Inkscapes pdf+LaTeX export positioned wrong in nodes

Sometimes I use Inkscape to add some graphical elements and text to my pictures. Inkscape allows to export this as pdf+LaTeX, where the pdf contains the picture and all graphical elements and the ...
4
votes
2answers
659 views

Draw two rectangles, one on top of the other, with an angle between them

I'd like to make two rectangles on top of each other with an angle between them, and I'd like them both to have 4 or 5 vertical lines running down them, and a highlighted point where two of them ...
3
votes
1answer
816 views

Overlapping tikz nodes with background fadings

Following the first tutorial in the TikZ manual, I tend to take steps to improve the legibility of tick labels when placed over gridlines. I prefer to use a fading rather than a plain white rectangle. ...
12
votes
1answer
2k views

How to draw a 3d curved manifold in tikz

I'm trying to draw something like this: How would I go about it in tikZ? For example, how do I draw the curved gray manifold?
6
votes
1answer
670 views

How to show the “commutate” symbol inside a diagram in LyX?

I am using this code $$ \xymatrix{ z\in\ar@{|->}[d] & \mathbb{C}\ar[r]^{f}\ar[d] & \overline{\mathbb{C}}\\ {}[z]\in & \mathbb{C}/L\ar[ru]_{\hat{f}} } $$ to generate this ...
4
votes
2answers
382 views

Sourcecode on the left, Nassi–Shneiderman on the right (float?)

I’d like to place a Nassi-Schneiderman diagram into my LaTeX document but also to have the source code for the shown algorithm beside it. Drawing the diagram worked just fine using the StrukTeXpackage,...
6
votes
1answer
266 views

How do I realize an arrow representing “line numbers” in LyX?

I want to draw an arrow, who shall represent line numbers like in the following screenshot. I struggeled with xymatrix, but this doesn't seem to be the right approach. Any ideas?
6
votes
2answers
591 views

Automatic scaling of kiviat diagrams

\documentclass[twoside,a4paper,12pt]{article} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage[upright]{fourier} \usepackage{tkz-kiviat,numprint,fullpage} \usetikzlibrary{arrows} \...
6
votes
2answers
517 views

Tikz Composite Midpoint Rule Horizontal Lines

I have 'written' the following code to get the attached diagram but am unable to draw horizontal lines above the even notes, i.e. x-2j and x-2n as well as x-0 and x-2. This was extremely straight ...
35
votes
3answers
2k views

Draw a coat of arms in LaTeX

Over at academia.sx we are trying to create a community ad to try and get us promoted out of beta. We are looking to create a university type coat of arms/seal. I have seen some really great artwork ...
5
votes
2answers
949 views

Best option to create vector graphics with LaTeX labels

I would like to create some vector graphics for my LaTeX documents. The graphics would often contain mathematical expressions that would should be typeset using LaTeX. As far as I know, my best ...
18
votes
2answers
6k views

Best Drawing software for engineering/scientific illustrations with LaTeX?

I will be writing my Master's thesis in Aeronautical Engineering and was wondering about the following: I will have lots of illustrations such as parts of aircraft, mechanical components, ...
4
votes
2answers
396 views

How could I create a diagram that looks like this?

I am trying to create a diagram for a document that illustrates a table. (Below is an example of how I would like it to look.) What tools should I use to replicate this?
80
votes
1answer
7k 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 idea ...
20
votes
2answers
1k 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} \usetikzlibrary{shapes,shapes.geometric,arrows,fit,calc,...
1
vote
1answer
258 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{ & \arb{rr}^<<<<{}=...
19
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 ...
5
votes
1answer
294 views

How can I create a dynamic geometry file in Tex?

I have a file containing \documentclass[10pt]{article} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \pagestyle{empty} \begin{document} \definecolor{uququq}{rgb}{0.25,0.25,0.25} \definecolor{tttttt}{...
1
vote
1answer
212 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 \/ l....
3
votes
1answer
583 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: http://www.math.cornell....
7
votes
2answers
1k 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
504 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} \...
10
votes
2answers
1k 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 ...
4
votes
2answers
1k 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" ...