{nodes} is about nodes in {diagrams}.
2
votes
0answers
36 views
Nodes near coords gives Undefined Control Sequence
I have the following example of a graph. I want to place the items in the table "Restart" next to the nodes. Everything works until I add "nodes near coords", I get a bunch of errors saying "Undefined ...
2
votes
3answers
68 views
Drawing a root-less graph of nodes with shared children
My aim is to produce a graph as illustrated by the code below: ( I am not yet allowed to post pictures)
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}[node distance=4cm]
...
1
vote
0answers
36 views
Define tikz node based on pagenodes
I want to define a tikz node called current grid area based on the nodes defined by the tikzpagenodes package. This node is a rectangle that contains the 4 nodes defined in the package; current page ...
2
votes
1answer
48 views
How to define the default vertical distance between nodes?
Use positioning can control the individual vertical position of nodes. But is there any way to control the default vertical spacing?
\documentclass{article}
\usepackage[utf8]{inputenc}
...
0
votes
0answers
39 views
TikZ triming text based on an other node placement
I am using tikz to create a page layout comprising different nodes, each node containing a bit of text.
The nodes are placed relative to each other.
What I would like to achieve is that for some ...
7
votes
2answers
125 views
Create custom node to draw this
I'm very very new to tikz, I've already done this:
With this code:
\documentclass{article}
\usepackage[spanish,es-noquoting]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
...
2
votes
1answer
62 views
What is the nodename.number in the following example?
What is the nodename.number in the following example? For example a.345? Changing number arbitrarily rotates the arrows. How to decide on the numbers so that it remains parallel ?
...
6
votes
1answer
87 views
Pgfplots: Drawing Arrows Along Contour Plots
I would like to draw "stealth" arrows in place of the "0" labels along the trajectory in the phase portrait pictured below. I decided to draw the trajectory using the contour functionality of ...
3
votes
1answer
85 views
Tikz vertical alignement text and shape
I want to vertically align sans serif font with a rectangle. The following code show the problem:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary[positioning]
...
2
votes
0answers
67 views
TikZ fit nodes with non-regular shape
I am seeking a better way of doing the following: fitting nodes with a non regular shape, like it is in the MWE. So that I can give a label to the fitted nodes.
\documentclass{standalone}
...
0
votes
0answers
87 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 ...
4
votes
1answer
57 views
Tikz positionning on the baseline
I have the following piece of code
\begin{tikzpicture}
[mainbullet/.style={rectangle, minimum size=0.3cm,draw=orange!100, fill=orange!100,thick}, %
maintitle/.style={rectangle,opacity= 0.5}, %
...
5
votes
1answer
113 views
Align pinned nodes in PGFplots
I'm working with plots generated from matlab2tikz and I have several plot lines close to each other. Labeling them is proving difficult, but I believe a good looking solution could be to list the ...
1
vote
1answer
96 views
Using Tikz Fit to draw a node covering a Tikz chains
A chain of nodes is drawn using tikz chains. I would like to draw a rectangle node covering the chain nodes (or, multiple rectangle nodes covering subsets of them). I am using tikz fit.
...
2
votes
3answers
71 views
Adding nodes to specific positions and without circles around them(but only labels)
Based on a previously asked question by me I already have the following code:
\documentclass [11pt,a4paper] {article}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{amsmath,tikz}
...
1
vote
0answers
113 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 ...
0
votes
0answers
60 views
Problem with left arrow on a flowchart [closed]
I'm making a flowchart for a thesis on math, and i'm having problems doing the straight arrow on the left side. Can someone give me a light about it?
The problem is in
\draw [line] (caixa2.west) ...
3
votes
1answer
67 views
pgfplots: Positioning “node near coord” at the bottom of the bar
I would like to position nodes near coords at the bottom of the corresponding bar, right by the X axis.
Here's what I've got now:
\documentclass{report}
\usepackage{pgfplots}
\begin{document}
...
2
votes
0answers
19 views
node at sloped path and/or not respecting every path/.style [duplicate]
I'm producing a schematic Nyquist plot, and I want to create an arc between the x-axis and a straight line, which should be denoted PM (phase margin). I use the intersections library to find the ...
1
vote
1answer
82 views
how to draw double circle nodes in tikz more clear?
I like the drawing final states in Peter Linz's Book, more clear than final states in tikz. can do it with apply an option in tikz, or other packages?
5
votes
2answers
93 views
Typesetting digraph with weighted edges, varying vertex size, multiple lines in vertex
I would like to draw the graph displayed in the following picture with TikZ and also do some modifications:
Firstly I want to carry the labels of the nodes to the inside as a second line.
For ...
3
votes
2answers
88 views
anchor arrow start position
Attached below is the minimum working example. I would like the arrow to end at the
west anchor of the node "operation". I tried anchor and few other possibilities but they don't seem to affect the ...
2
votes
0answers
48 views
Placing a node on top of lines in TikZ [duplicate]
I'm using TikZ to draw a polytope/simplicial complex and I'd like to label the vertices with their names (which are numbers). However, in the picture below, the node seems to be placed behind the ...
1
vote
2answers
95 views
[Tikz-]Qtree: force direction of single child to left or right?
I'm trying to draw a tree that has internal nodes with only one child, but which must be oriented.
/
\
/\
\
/\
Instead of the typical qtree where said children just "hang":
...
1
vote
0answers
34 views
How to set node label position with anchor [duplicate]
Actually, I write some notes about programming with Tikz and reading Jake's answer to this question, I asked myself how tikz places the "node label".
I would like to reproduce:
...
4
votes
2answers
158 views
Adjusting font size with TikZ picture
Taking from the PGF manual,
\begin{tikzpicture}
\draw [help lines] (0,0) grid (3,3);
\coordinate (a) at (rnd,rnd);
\coordinate (b) at (3-rnd,3-rnd);
\draw (a) -- (b);
\node (c) at (1,2) ...
1
vote
1answer
67 views
How do I set top left position as the anchor for a node (TikZ)
Is there a way to position a node in terms of left/right coordinates of bounding rectangle? It appears to me that I can only specify center position.
5
votes
1answer
183 views
Drawing parallelogram with fixed angle, width and height?
I want to draw parallelograms with fixed angle, width and height, but it seems that trapezium in PGF/TikZ cannot specific the height without changing angles.
\documentclass[tikz]{standalone}
...
5
votes
0answers
123 views
Custom, space-saving ellipse as TikZ node shape?
in some applications, one wants to use ellipses as node shapes in figures, e.g., when in the literature on a subject typically uses ellipses to denote certain things in figures. The problems with ...
14
votes
3answers
256 views
How can I set the tikz label anchor explicitly?
I want to add a label to a node, but "inside" the node. Something like this:
The manual seems to indicate it might be possible, although no actual key is named.
The ... anchor point for the ...
3
votes
1answer
93 views
Node placement problem
This is my first question in tex.stackexchange. It might be relatively simple problem but I am having difficulties with the placement of the nodes inside graphics.
The problem is that when I try to ...
7
votes
1answer
85 views
decoration nodes not being placed on the circle they are intended to be on
I "placed" some nodes on a circular path but they aren't showing up in the correct place and they aren't even on the circle.
What is going wrong?
\begin{document}
\usepackage{tikz, pgfplots}
...
6
votes
1answer
91 views
circle node on an ellipse
I want to put this node on an ellipse at about the 35% mark
\node[draw, circle, inner sep = .08cm, scale = .75] (location) {2};
\documentclass{article}
\begin{document}
\usepackage{tikz}
...
3
votes
2answers
191 views
Drawing a rectangular shape with a border around it in TikZ
Could anyone please tell me how do I draw a rectangular shape with a black border around it?
I want that for all my rectangles in the following TikZ picture:
\documentclass[tikz]{standalone}
...
10
votes
2answers
198 views
TikZ: shade also the border of a node
I would like to shade a node and the border of the node.
The following code works but I don't like it very much that I have to draw something after the node on the background layer. I would prefer a ...
3
votes
1answer
76 views
multiline label for node
Is there way of producing multiline label for node:
\node[label=below:{unit\\cell}] (one){\tikz{\draw (0,0)rectangle (1,1);}};
The example produces "wrong" label output: untitcell
However, ...
4
votes
1answer
220 views
Size of TikZ ellipse node
When I set the minimum size of an ellipse in a tikzpicture environment, it expands into a circle if the inner content does not grow as large as the ellipse shape itself.
Is there any way around it?
...
4
votes
1answer
79 views
Creating a strikeout command
I am trying to create a command that works in mathmode which simulates a strikeout diagonally while leaving the math display intact.
\documentclass{article}
\usepackage{amsmath,amssymb}
...
8
votes
1answer
337 views
TikZ: adding nodes to a circular diagram from smartdiagram package
This is what I would like to achieve:
My MWE is below:
\documentclass{article}
\pagestyle{empty}
\usepackage{lmodern}
\usepackage{smartdiagram}
\usetikzlibrary{shapes.geometric}
...
2
votes
0answers
162 views
How to draw clipart icons in tikz?
Is there a way to draw clipart icons in tikz?
Or is there a way to export them or should I use some other software for this purpose?
I want to draw the following 5 icons:
4
votes
1answer
93 views
Fill a node shape
I am trying to fill a custom shaped node but as can be observed in the example below the fill does not occur naturally rather it uses its default shape to fill. Any insights?
...
4
votes
1answer
96 views
Positioning node at end of line
The following code fails to do what I want:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,calc}
\begin{document}
\tikz{%
\draw (0,0) -- (\textwidth, 0) node[draw, inner ...
3
votes
2answers
188 views
Overriding node draw style inherited from every node style messes up positioning
I have been trying to draw a tree with TikZ. All nodes should be circles, so I use the every node style. There are some additional labels on some nodes, which have to be exceptions. I have tried this:
...
5
votes
2answers
129 views
TikZ, node with multiple lines around
I want to draw a circle node using tikz that has more than two lines around. I found this question: TikZ - multi-color double circle node with its very good accepted answer. Unfortunately, I have no ...
7
votes
2answers
174 views
How put tick and cross mark around a node in tikz?
I want to draw something like this:
This is my tikz code:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{trees}
\tikzstyle{bag} = [text width=8em,
text ...
3
votes
1answer
166 views
TikZ node positioning in Beamer ignores x coordinate
I have the following frame in beamer:
\begin{frame}{Language}
\begin{block}{}
\begin{align*}
\onslide<1->{
&\text{Types} & T &::= B | T \to T \\
}
...
4
votes
1answer
212 views
Tikz: How to split Nodes and position Text in it
I have a really big problem:
I need a TikZ node that looks like that:
but i have no idea how to split the node like that. Esecially the "more text" is a big problem. All i tried ended in errors. ...
2
votes
1answer
148 views
TikZ node in normal text
I would like to place a TikZ node inside normal text to get the fancy boxes. But the box is on the same baseline. I would like to get the text on the baseline. What can I do?
\documentclass{article}
...
8
votes
1answer
154 views
Automatically place right angle indicator on normal vector
I'm trying to draw a normal vector on a curve, and use the usual "dot in an arc" symbol to indicate that. Here is what I have so far, which looks alright, but needed manual adjustment of angles and ...
3
votes
1answer
137 views
generate schematic diagram with shapes and curved path
I wish to generate the following figure:
So far I have managed:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\begin{document}
\begin{tikzpicture}[transition/.style = ...



