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

2
votes
3answers
33 views

commutative diagram without arrow code

I am new to LaTeX. It will be helpful if someone gives me a simple LaTeX code for the following diagram The problem here is: I know the code for commuting diagrams like this only when there is the ...
3
votes
3answers
78 views

a commutative diagram compatible with group actions

I'm trying to draw the following commutative diagram using xymatrix: \documentclass{article} \usepackage[all]{xy} \begin{document} $\xymatrix{A \ar[rr] & & B \\ & C \ar[ul] ...
0
votes
0answers
37 views

Drawing Sequential Function Chart Diagrams in LaTeX

Anybody knows if there is any LaTeX package besides Grafcet that can be used to make SFC diagrams? e.g: Thank you in advance!
0
votes
0answers
29 views

How to generate these “subframes” in tex?

Below is a picture in a double-column paper. Essentially I want to generate a picture like this, putting my four figures into it. So here is my quick question, how to generate the "frame" structures ...
5
votes
1answer
74 views

Tikz for Gabriel and Auslander-Reiten quivers

In the context of representation theory, direct graphs —known there as quivers— appear all the time. Here are a few samples (from the book of Assem, Simson andSkowroński) First, a couple of gabriel ...
0
votes
2answers
117 views

Block diagram using TikZ

I am trying to draw the following block diagram using TikZ... No way :( Can anyone help me? Thank you so much!!!
1
vote
1answer
63 views

How can I create particle-in-a-box diagrams in LaTeX?

Interested in creating particle in box diagrams at various energy levels and dimensions. Does anyone have source code to do so or suggestions of good packages to use?
2
votes
2answers
128 views

Creating figure (cycle) in latex

I want to make a figure the same or similar to this one: I really have no clue on how or where to start as I have very little LaTeX experience. I would be very grateful if somebody could help.
0
votes
2answers
93 views

Trying to Write on image

I was trying to edit a diagram and add a dimension line , as you see in the attached image,but I could not reach the arrows appropriate to draw the same arrow, if it's possible to do that in Latex , I ...
31
votes
7answers
2k views

Generate analog clock with numbered face, add seconds, Roman numerals

Looking at the excellent answers here, I can't help wondering how I can accomplish two apparently simple modifications: I wanted to be able to generate a traditional Roman-number clock; It would be ...
16
votes
1answer
242 views

How to get intersection points of a self intersecting path?

(Tricky question.) I'm trying to get intersection points of one individual/arbitrary curve instead of searching intersection points among many curves. We can get intersection points of two different ...
1
vote
1answer
45 views

Diagram with exact sequences

I have to draw the diagram in the following picture: I'm trying to use this code but I cannot draw the vertical part. \begin{tikzcd} 0 \arrow[r] & L(-D) ...
5
votes
1answer
101 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
527 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 ...
0
votes
1answer
104 views

Recreating diffraction image with TikZ

I'd like to recreate the image below of an electron beam passing through -- and being diffracted by -- a carbon target onto a curved screen using TikZ. Unfortunately it looks a bit beyond my skill ...
1
vote
0answers
83 views

unusual distance between the paragraphs ,how to fix [closed]

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
50 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
27 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
133 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
28 views

String diagrams with strid tool using n-ary mult [closed]

Does anyone know how to use the strid tool to make an n-ary mult element?
3
votes
1answer
104 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
55 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
52 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 ...
5
votes
0answers
117 views

Visualisation of planes within hypercubes in LaTex? [on hold]

The 3rd hypercube is the cube below where planes cover the space in different ways. The 4th hypercube can be considered as many connected 3rd hypercubes. You are interested in planes, the example is ...
0
votes
0answers
39 views

how to make diagram of composition of two functions [duplicate]

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
110 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
85 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
71 views

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

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
149 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
77 views

Distance between arrows and nodes in tikzcd [closed]

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
78 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
77 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
283 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
156 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
225 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
75 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
55 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
199 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
75 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
67 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
153 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
171 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
224 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
177 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
67 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
44 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
518 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
385 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 ...
36
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 ...