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

5
votes
1answer
78 views

Help with a diagram in LaTeX

How can I draw this in LaTeX without colour (only black and white)? I managed to get my code to represent every part but I need the arrow in the middle \begin{tikzpicture}[sharp corners=2pt,inner ...
11
votes
4answers
280 views

Drawing graphical model without a package

I would like to draw the following graph: without using any TikZ style library. I have tried putting \phantom to make X and Y aligned, it did not work (don't know why). Additionally, putting ...
1
vote
0answers
73 views

unusual distance between the paragraphs ,how to fix

Hi all as you see in the screenshot, I have put no distance command like \ or vspace but the latex has opted to make this space, I use texmaker as the environment and here is part of the code I ...
1
vote
1answer
45 views

combination between axis and multi figures

how can I combine a figure of multi images with two axis(x and y)axis like the following attached photo
3
votes
1answer
20 views

How to prevent texstudio from completing “arrowvert”

I'm drawing commutative diagrams using tikz-cd, using texstudio. However, every time I write "\arrow[", texstudio replaces that with "\arrowvert[". This is really annoying. Can I change that ...
4
votes
1answer
105 views

Generating modular diagrams with TikZ

I am looking for a better way to create images like the following: I want to make diagram with blocks and ports (the things with Greek letters) so that I can do the following: Not have to space ...
0
votes
0answers
26 views

String diagrams with strid tool using n-ary mult

Does anyone know how to use the strid tool to make an n-ary mult element?
3
votes
1answer
91 views

Loop arrow in xypic

I am trying to get a loop arrow in an xypic diagram, and I just can't. For now, I have the following: \[\xymatrix{ p^{-1}(U_{\alpha})\ar[rr]^-{\tau_{\alpha}} & & U_{\alpha}\times\mathbb ...
2
votes
1answer
47 views

Tikz block diagrams triang

I would like to produce a block diagram similar to the image attached, but I can't get the adder blocks right. Is there a function/command to create a summer block with a plus and a minus in it. Also ...
4
votes
0answers
51 views

Brat for NLP in latex

I was wondering if there is any package for text annotation in Latex like Brat. This is the kind of result I would like to obtain in a figure: Is there a way to achieve that by using brat or some ...
0
votes
0answers
36 views

how to make diagram of composition of two functions

I want to picturize composition of two functions using circles for their domain and codomain. But I do not how to do it. please help me.
3
votes
1answer
100 views

Commutative diagrams side by side using tikz

How can I put two commutative diagrams besides each other using the tikz package? \documentclass{article} \usepackage{tikz} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} ...
3
votes
1answer
79 views

Concentric ellipses with TikZ

I am hoping to recreate the image you see below in tex (the original here was done in Word). After snooping around for some time, I see that this should be done using the Tikz package. However, I ...
-1
votes
1answer
66 views

Drawing and writing something up and down corner inside a square [on hold]

In LaTeX, how can I write something up and down (corner) inside a square? I know how to draw a square, but I don't know how to put them. More, what will I do if I have more than one square? Thanks a ...
4
votes
3answers
128 views

Two parallel curved edges in Tikz (Or, one curved edge with two colors side-by-side)

I'm working on a series of (linguistic) diagrams in which nodes are connected by lines. Some lines need to bend to go around other nodes. Each diagram has 16 nodes and lots of lines (>50). ...
3
votes
1answer
64 views

Distance between arrows and nodes in tikzcd [on hold]

How can I adjust the default distance between arrows and nodes in tikz-cd? I prefer a global solution, but a local solution would also be fine. I think the default distance is a little bit too large ...
5
votes
2answers
70 views

spacing in tikz

I'm trying to typeset the naturality property of the cap product, I'm hoping to achieve something like this: but the best I can do is something like this: \begin{equation*} \begin{tikzcd} ...
3
votes
2answers
74 views

Unobedient diagrams and a way to resume caption enumeration

The code at the bottom of this question yields this image. Zooming this image at a relevant place shows the following. As you can see the last three diagrams are broken (in (vi) and (vii) 2 is ...
5
votes
2answers
261 views

How to draw quivers?

I'm trying to draw graphs and especially quivers, for instance the quiver made of one vertice and one loop upon it. A simple way please ? (PS. not sure about the tag) Edit : To be clear a quiver is ...
-1
votes
1answer
154 views

How to draw Block diagram like this in LaTeX

I know basic LaTeX I tried to draw a block diagram similar to the one shown in diagram but I am unable to do it as one block is inside another I am getting problem in rendering. Please suggest any ...
2
votes
3answers
222 views

TikZ - inscribe a rectangle into a triangle

Say we have a given isosceles triangle (for example sides of lengths 8,12,12) and a given segment length a, smaller than the triangle's base (e.g. a=6). How can I draw such a rectangle inscribed ...
4
votes
2answers
68 views

This tikz-diagram has crooked arrows

Consider the diagram arrows in the following example: \documentclass[a4paper,10pt,psamsfonts]{amsart} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
4
votes
1answer
54 views

How to position a picture by its corner [duplicate]

I'm new with LaTeX and Tikz. I would like to include a picture on my document by positionning its north west corner on the north west corner of my page. \begin{tikzpicture}[remember picture, ...
4
votes
3answers
187 views

Regular polygon and tkz-euclide

Is there any slick way to create an n-sided (n is some arbitrary integer, e.g. n = 23) regular polygon, inscribed into a circle, using tkz-euclide? Or do I have to use the plain TikZ functions (not ...
2
votes
0answers
74 views

How (if it possible) to do a certain type of scheme in latex [closed]

I am in the middle of writing something exposing various interactions between various properties that have certains objects in some theory in mathematics. I would like to summerize this in a graphe, ...
6
votes
2answers
66 views

How to draw Cu-ATSM compound?

I am trying to draw the following compound in tex using chemfig but I am only getting part of it and do not know how to finish the compound. This is what I got using \documentclass{article} ...
3
votes
1answer
129 views

Center TikZ node relative to path

I made this diagram in latex, but I can not center the item 'j', corresponding to line 38. Could anyone help me?The diagram of the script is listed below. I tried to use midway on the 38 line, but he ...
5
votes
1answer
160 views

Smart Art diagram

I want to update the Smart Art diagram down below: to the following one: . My source code for the first one is: \documentclass[12pt,a4paper,landscape]{article} \usepackage{tikz} ...
1
vote
0answers
48 views

Wrong pdf output size

I'm trying to create an image (.pdf) that should be filled with black and white thick lines. The code I'm using is working pretty good except for the fact that the matrix output size is not correct ...
5
votes
3answers
219 views

Creating a simple table diagram with arrow annotation

Many investent fund factsheets have a simple risk diagram as below, along with the annotation: How would one recreate this in TeX? I though of using a table but perhaps some sort of tikz picture ...
5
votes
2answers
158 views

Place TikZ picture over top of text

I'm designing some letterhead using LuaLaTeX (interchangeable with XeLaTeX at this point) where I want my signature and name to be drawn like this: The signature is a TikZ drawing, the text is ...
3
votes
1answer
64 views

Drawing a B/W grating

I'm trying to create a .tif or .jpg image that will be used in full screen mode. The image should be filled with black and white thick lines. I need to set a width variable so I can create different ...
0
votes
1answer
39 views

How to use DIA? [duplicate]

I'm new at Latex, and I'm trying to make a photo diagram. And i have found the program "Dia" and wants to know how it works, i have tried to read the Manuel, but I'm not entirely sure of how it ...
5
votes
4answers
505 views

How to draw infinite earring with TikZ?

I want to draw an infinite earring, i.e., each circle centerd at $(\frac{1}{n},0)$ with radius $\frac{1}{n}$ for each $n\in \mathbf{N}$. The figure will be the following: I have used the ...
-1
votes
3answers
368 views

I am trying to draw this picture with latex

I have recently presented statistics of breast cancer and made a powerpoint image: Please notice that the icons are not exactly the same (I was lucky enough to find similar icons with different ...
35
votes
9answers
4k views

Drawing the dragon curve

I'd like to draw the dragon curve (or paper-folding curve) in a programmatic way. For example, create a sequence representing the curves, and then parse the sequence to draw the curve. The sequence ...
3
votes
3answers
565 views

Drawing the map of Guinea, Liberia and Sierra Leone together

I would like to ask if some could help me draw the maps of a portion of West Africa i.e. Guinea, Liberia and Sierra Leone using LaTeX? Thank you.
1
vote
0answers
41 views

How to label an arrow in a commutative diagram [closed]

I'm writing my thesis using LaTeX. I need to add a commutative diagram with labels on arrows. Let me say that I'm writing my text in Italian using the babel package. Here a minimal example to ...
1
vote
0answers
95 views

Drawing a TiKz Diagram within a Table [closed]

Any ideas on how to draw a TiKz diagram within a table? I made this example of what I need to typeset in Word: I'd love to hear any suggestions, even if it requires reformatting.
5
votes
1answer
297 views

Draw (very basic) network topology using tikz

I'm trying to draw some very basic Network topologies and thought that I'd try using Tikz for it. So I thought that I'd make a start and then ask for help, as I've got to do 5 of these and there's ...
1
vote
1answer
68 views

Indexation Lag for LateX

Good morning! because I am using Latex the first time maybe one could help me in with this picture :) It would be great!! Thank you so much :)
7
votes
1answer
164 views

Drawing a diagram with long arrow

I have drawn this diagram. But I don't know how to make the arrow between d and e more long, so the diagram become more well-arranged. \documentclass{article} \usepackage{tikz-cd} \begin{document} ...
1
vote
1answer
78 views

An example about diagrams and graphs with Tikz on manual V2.10 Page 70 fails [closed]

My question is that I cannot compile the codes provided on page 70 in the TikZ Manual V2.10. I just add some packages but it cannot compile. Can anybody help? My codes are shown as below: ...
4
votes
1answer
65 views

saving output as .eps

How to save output of LaTeX file as .eps file rather than .pdf? I want to put a figure in LateX file and enter some text in it. Then I want to save output as .eps format rather than in form of .pdf. ...
4
votes
1answer
35 views

xypic bending arrows whith non-default shafts

I have troubles trying to bend double arrows in XYpic. Here is my code at the moment: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{ \ar@2 `r[r] [dr] & \\ & & ...
1
vote
0answers
33 views

Tool to draw diagram [duplicate]

Please, I am writing a scientific paper and I use latex. I have some figures to draw and insert it into the paper. I would like to benefit from your experience. What tool I can use to draw my figures ...
0
votes
0answers
48 views

How to include the tikz, multicol styles in central European Journal class?

I want to include some diagrams using the styles tikz and multicol in central European Journal class. But the class not supporting these styles. How to resolve it. Here the class file available ...
5
votes
1answer
90 views

How to fix naive solution for elements grouping?

I'm trying to create elements grouping .pic: have children of unknown layout (doesn't even has to be node structure, it could even be plot, or tree ) act like a node - anchor it as one element, ...
1
vote
0answers
55 views

How to define node blocks as composition from inside out?

I've found a Q/A about how to create group nodes to blocks. It works, but exact opposite way as I needed. It defines internals and then draws blocks around them. I need to define block with ...
0
votes
2answers
135 views

How many LaTeX characters have Unicode equivalents, and which characters and mathematical character combinations cannot be represented by Unicode?

I would like to know how many LaTeX characters, including all the special math symbols, can be represented by Unicode. Would I be right to say, that nowadyas, LaTeX's strangths over Unicode are mainly ...