{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.
1
vote
1answer
50 views
Help With TikZ: Recreating Diagrams from e/m Ratio Experiment—Helmholtz Coils and Circuitry
I have two images I need to recreate in TikZ. The first is that of Helmholtz coils and their spacing in the experiment:
And the second being the wiring for the coils:
My (very) Minimal working ...
3
votes
1answer
77 views
Which package should I use for doing a diagram like this in latex
which package should I use for doing a diagram like this in latex:
8
votes
3answers
162 views
Parallel lines on a grid and circle best practices?
I am a TeX/LaTeX noob, but I am learning rapidly. I am about to attempt to draw the following figure using LaTeX/TeX/TikZ I already have a, (I think) good working knowledge of how to draw circles, ...
5
votes
6answers
167 views
Representing Hasse diagram of the Green order
I need to represent graphs like the one below using xypics. They arise as the Hasse diagram of the Green order of finite semigroups (specifically finite Left Regular Bands) with the homomorphism to ...
4
votes
1answer
117 views
Constructing dag-like diagrams
I want to draw diagrams that look a bit like this. Mathematically, you could describe them as directed acyclic graphs with dangling arcs. They're somewhat reminiscent of route diagrams.
Desired ...
3
votes
1answer
86 views
Drawing a big commutative diagram in tex
I am trying to draw a big commutative diagram for my paper. The diagram is quite easy, it looks like a 4 by 8 matrix but the labels of the vertices and those of the arrows are quite large. For this ...
9
votes
1answer
286 views
Recreating a Cathode Ray Tube Diagram in TikZ?
Could someone help me produce this diagram in TikZ?
This is the code I have right now.
\begin{tikzpicture}
\draw (3.5, 3.5) circle (130 pt);
\draw[blue, very thick] (-1, 3.5) parabola (5.5, 1.5);
...
0
votes
0answers
78 views
Irregular Flowchart using tikz
I have to draw a flowchart similar to Watch the original flowchart here
I have made some changes using the answer provided in this question Flowchart in tikz
and using this code in middle of my tex ...
0
votes
0answers
62 views
Package error in tikz
I took an example of a code of flow chart in tikz and tried it but i am encountering an error.
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
...
0
votes
0answers
22 views
let latex decide where to place a picture in multicol environment
I have a three column text with floating pictures. The whole latex code is made by scripting. The pictures are sometimes badly placed, so that the text is streched out (vertical space in between ...
2
votes
1answer
100 views
Contract Bridge diagrams with LaTeX
I write bridge diagram with LaTeX. Source file is in PBN format.
Hand is for exampe QT2 98 J962 AKJ6. How this string change to
\pika Q102\srdce 98 \karo J962 \tref AKJ6 ?
To begin \pika, first space ...
3
votes
1answer
44 views
Reference for a commutative diagram
How to give a number (for later reference) to the following diagram?
\begin{displaymath}
\xymatrix@!C{ \{ \prod_{g \in A} \OO_g \} \ar@{->>}[r] & {
\{\prod_{g \in A^{\prime}} \OO_g \} }\\ ...
3
votes
1answer
121 views
How to draw a diagram with boxes of text inside each other and have them laid out automatically?
How do I make a diagram of the following structure where each element is a box with text and possibly sub-elements.
Here is an example of the desired structure. The sizes and alignment of the boxes ...
1
vote
0answers
68 views
Why can I compile a tikzpicture perfectly in one chapter but not in another? [closed]
I am having trouble with including a tikz flow chart in my code.
In my preamble I have included
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{shapes,arrows}
and this is the flow chart:
...
1
vote
1answer
82 views
Wrapping text around a pdf
I am making a poster and have an image which is of PDF format. I want the picture to be to right of the block it is in and the text to run down the left hand side of it?
I have searched but can not ...
0
votes
1answer
48 views
Missing number treated as zero [closed]
I am getting Missing number treated as zero error when I type the following code in my document. But when I wrote it in a new document, everything seems OK.
$\xymatrix{
A \ar[d] \ar[dr] \ar[r] & ...
6
votes
3answers
229 views
Brace diagram in TikZ
I apologize if this has already been covered in some other posts, but I couldn't find it anywhere and I'm not even sure if "brace diagram" is the correct name in English.
I have found some examples ...
13
votes
5answers
697 views
Design of an asteroid belt in TikZ
How can I construct an asteroid belt in TikZ? That is my question: I get everything right, but I do not know how to make the asteroid belt.
I have no code to add besides the preamble with TikZ ...
0
votes
1answer
141 views
“\caption outside float” error
I am trying to have a caption in a commutative diagram using the xypic package. But it is not working. I have written the code below:
\documentclass[a4paper,12pt]{article}
\usepackage{xypic}
...
7
votes
1answer
58 views
Hiding arrow in xymatrix?
I want to enlarge a xy-diagram. Using the \invisible command, I got some strange spacing. That's why I decided to redraw the complete diagram using the \only and the \phantom command. But there is an ...
1
vote
0answers
107 views
Drawing lozenges in Tikz
I'm creating a simple flowchart using Tikz, and I'd really like the "decision" nodes to be lozenge-shaped (think "tilted parallelogram") rather than square, in order to fit text better.
Here's a ...
2
votes
2answers
91 views
Displayed Math in tikz-cd diagrams
I have been using tikz-cd package to produce diagrams however I'm not finding a way to use displayed math within it. My point is that when I use the product sign for instance inside of it, it simply ...
2
votes
1answer
77 views
How to make a commutative diagram smooth?
I have drawn the following diagram:
using the following command:
\documentclass[11pt,twoside,a4paper]{book}
\usepackage[margin=1.5in]{geometry}
\usepackage{xypic}
\begin{document}
\xymatrix{
...
6
votes
2answers
158 views
TikZ matrix decoration
What I'm trying to achieve is a code structure to draw this kind of diagram:
I need to decorate a two-rows matrix grouping one or more columns with a square bracket above them, and then again with ...
0
votes
1answer
49 views
How to exclude the picture's path? [closed]
I imported a picture and LaTeX created pdf well. The problem is the path (like C:/users/file_name/....jpg) is above the picture in the pdf file. How can I exclude that?
6
votes
1answer
135 views
Create a Frequency Allocation Diagram
I need to reproduce a frequency allocation diagram in TeX. I prefer TikZ but open to PSTricks. I can create a simple bar allocation char using \node but unsure how to create layered blocks like the ...
6
votes
2answers
143 views
How to elegantly create a pyramid hierarchy in tikz
I want to create a pyramid hierarchy in tikz with smooth sides (unlike this step-pyramid) and place text in each level. Shown below is how I am currently doing this, is there a better way?
...
2
votes
1answer
70 views
Multithread integral function executing picture
I need to make a picture that should look like
I saw a similar question here but the red function line appears neither when I use --shell-escape nor when I use --enable-write18. I use TeXstudio, by ...
0
votes
0answers
35 views
Using diagrams inside an AMS theorem environment [closed]
I am using the following skeleton code:
\usepackage{amsthm}
\usepackage[balance,small,nohug]{diagrams}
...
\newtheorem{theorem}{Theorem}
...
\begin{theorem}
\begin{diagram}
A & \rTo & B ...
7
votes
1answer
131 views
Family tree with multiple marriage ties
I'm trying to build a family tree, and among the many examples I've found online this one has been the most useful:
How can I improve this family tree in TikZ?
However, there are two things I cannot ...
21
votes
5answers
336 views
Easier way to make permutation diagrams?
I prefer using figures created inside TeX, but I only know very labor-intensive methods. The following creates a permutation diagram for (6,3,2,4,1,5) with some colors and additional symbols.
I'm ...
5
votes
1answer
129 views
IDE for generating Flowchart LaTeX code
Is there any IDE that allows you to draw flowcharts and generate the LaTeX codes?
I've searched on google but came accross TikZ which is only a library? Is there any IDE support?
4
votes
2answers
63 views
How to use \textwidth (or any variable) in a picture environment
I don't understand why this doesn't work. I am getting a compile error. Am I missing something?
\documentclass[12pt,a4paper]{article}
\begin{document}
\begin{picture}(0,0)
...
5
votes
1answer
132 views
ellipse intersecting a circle
I am trying to draw an ellipse which intersects the sphere of influence, that is, the dashed circle around the moon. The ellipse needs to pass through (-170.864:.7cm) location along the v0 vector and ...
2
votes
0answers
174 views
How to draw a bow-tie risk diagram
I'd like to draw some bow-tie diagrams, which are diagrams for modelling risk, particularly for businesses like oil and gas and transport.
In the centre, there is a "top event", and there are zero or ...
3
votes
1answer
49 views
Bad label placing in kiviat diagram
Shouldn't resizebox should resize the label along with the whole picture? How can I avoid the label put above the arrow? (Other than rotating the image, which I don't want to do.)
...
4
votes
1answer
66 views
Chronology adds arbitrary gaps
I'm trying to display a timeline in my document using the package chronology, however it does weird things.
I'm using the following code:
\begin{chronology}[5]{0}{30}{4ex}{\textwidth}
...
0
votes
1answer
140 views
Comic strip in TeX
I am creating figures using Stykz.
Every frame (should have customisable resolution) consists of
stick figure
2 or more text boxes
Frame outline (will be best if looks handdrawn)
I want to fit ...
1
vote
1answer
71 views
Insert dynamic graphs
Is it possible to insert dynamic graphs into your LaTeX document?
For example, let's say I want to add ABC Enterprise's turnover into my LaTeX document for each month. Could I do something like ...
4
votes
0answers
75 views
Is it possible to draw schematic of coordinate transformations with translation and rotations
I am new to latex and have been fighting my way through my thesis. At the moment, I am trying to draw this with LaTeX.
If you happen to know how to draw this or if you could direct me to start, I ...
1
vote
1answer
85 views
How do I make Bayesian networks?
I am trying to tek up a Bayesian network with nodes, edges, and truth tables next to each node like this:
What tools can I use to make something like that? Perhaps some package from the TikZ ...
1
vote
2answers
67 views
picture width problem
I need to make the picture with the width of one column in two column paper, and I wrote \linewidth but it doesn't work as shown below; it's smaller than the width and also it is very small. I need to ...
3
votes
1answer
64 views
How can I set the node size for a TikZ image to be the same for all nodes?
I'm attempting to draw a Kripke structure in TikZ and while I'm successful for the most part, I'm not quite satisfied with the result. Here is my preamble:
\documentclass[10pt,letterpaper]{amsart}
% ...
1
vote
0answers
59 views
RGB EPS figures appear as CMYK in LaTeX
When I make EPS figures in Matlab and/or Illustrator, they look RGB, however, in the DVI file and in the subsequent PDF or PS file it appears CMYK. When I open up the figures outside of LaTeX, they ...
6
votes
1answer
94 views
Piecing together a diagram from other files
I'm in \documentaclass[landscape]{article} and I'm trying to figure out how I can put together a bunch of figures I've created (with the generous help of TSE users) on this document.
What I'm trying ...
2
votes
1answer
86 views
Smartdiagram error when compile
I want to use the smartdiagram but by some reason a get a error:
! Undefined control sequence. \smartdiagram code #1#2->\StrCut
{#1}{:}\diagramtype \option \IfNoValueTF {#... l.6
...
5
votes
3answers
97 views
code for commutative diagrams
There are some diagrams which are little bit complicated, I use array package to draw basic ones I mean square ones. but is it possible to draw any diagram by [array] package?
for example
can you ...
3
votes
1answer
222 views
How to draw industry schematic diagram in LaTeX?
Is it possible to create the following diagram in LaTeX ? I am interested in the main body, any colour inside the box is fine.
2
votes
1answer
48 views
Labeling diagonal arrows with the diagrams package
As far as I can tell, the following code
\usepackage[balance,small]{diagrams}
...
\begin{diagram}
&& X && \\
& \ldTo^\Phi & & \rdTo^\Psi &\\
Y &&&& Z
...
15
votes
5answers
485 views
Draw a chain of beads
I would like to reproduce this kind of figure:
I'm wondering what's the best way to achieve that with TikZ.
My guess is to draw an element composed of a circle + a link and to link this element ...


