{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

5
votes
2answers
385 views

Flow of current in a circuit

I am trying to create a circuit with resistors and voltage sources. I need to have each resistor labeled with their resistance (above) and the unknown current (below) flowing through the resistor. I ...
5
votes
1answer
48 views

Tikz sloped label on path

Any suggestion on how to get slanted text for the labels "Diapason", "Diapente" and "Diatessaron"? (PDFLATEX on Linux Lubuntu with texlive 2014) Thank you, A \documentclass{article} ...
3
votes
1answer
55 views

Centering a node on a path

Why the $\times 12$ is not centered on the path ? \documentclass[border=3pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[bob/.style={outer sep=0pt,text ...
0
votes
0answers
25 views

Multiline label for shape 'tape' in tikz [duplicate]

I would like to draw a tape in tikz with a multiline label in it. The normal way of just using \\ doesn't work here. MWE \documentclass[tikz,border={5pt}]{standalone} ...
1
vote
1answer
38 views

Problem of positioning and size of the additional text on tikz/gnuplot figures

I want to at my legend using tikz environment on top of my figures generated with gnuplot. I am happy with the result when I comment the part \node[anchor=center, text width=0.39cm, xshift=0cm, ...
3
votes
1answer
88 views

tikz node position

I have a diamond split in four triangles and I would like to write inside each triangle at it center and having difficulties with position. Please help me fix that problem.Thanks ...
3
votes
1answer
63 views

Multipart graph with linear and circular node patterns

I'm trying to draw a graph (PDF output of code below attached) that's a linear process, with a potentially circular element in it. As you may see in the upper picture, the the B,C,D elements aren't ...
4
votes
1answer
182 views

Different shading for multi-parted tikz node

Please consider MWE below: \documentclass{standalone} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{tikz} \usetikzlibrary{positioning,shapes,shadows,arrows} \usepackage{lipsum} ...
2
votes
1answer
73 views

Rotate Tikzpicture including nodes

Is there any simple way to rotate a whole tikzpicture environment? If I apply the tikzpicture option [rotate=ang] nodes seem to be unaffected. In other words, I want to do ...
3
votes
2answers
124 views

Tikz-Connecting nodes with multiple lines

I am trying to reproduce the following image I made in "Power point". Although, there is no difficulty in designing the boxes, I find it rather hard to properly position the red and black lines. ...
5
votes
2answers
176 views

Tikz- complicated shapes as nodes

I'm trying to reproduce the following picture In this picture, there are some shapes that are repeated. For instance 5, 6, 8, 10 and 11. My idea is to use ./style in order to define these shapes ...
2
votes
1answer
61 views

accuratelly place a node above and left of another node

I am trying to draw a box which is defined as a node, next to another node. My code is \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{ pipe/.style = { ...
2
votes
1answer
35 views

How can I place a node relative to a legend?

I'd like to place custom formatted nodes relative to the legend in a plot. The answer to Placing node relative to legend is a solution per se, but related to op's actual intent so it isn't helpful to ...
0
votes
1answer
54 views

Why is the pin's angle argument displayed as text?

I'm completely stuck with the syntax of the command options \node Here is my code line: \node [circle,fill=blue,scale=0.5,pin=60:$q_0$] at (9+90:15*4/30) {}; And it displays the same as if I had ...
4
votes
1answer
85 views

Split nodes in TikZ math nodes matrix with Beamer?

TikZ matrices and Beamer do not work smooth -- for example, we have to use ampersand replacement work around. Is there a similar work around that allow one to use \nodepart ? The MWE is this: ...
4
votes
2answers
111 views

tikz dash rectangle in nest nodes

I want to use dash rectangle in outer node but use solid rectangle in inner nodes. But my sample code below actually dashed all node for inner or outer nodes. \documentclass[tikz]{standalone} ...
2
votes
0answers
39 views

tikz align text to left inside node [duplicate]

I am trying to align node text to left but it seems below code still put the text at the center of node: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[thick] ...
13
votes
2answers
613 views

Naming the nodes of `nodes near coords` for later use

I would like to use pgfplots command nodes near coords to get a list of named node ((no1), (no2), (no3) etc.) that I can use afterwards to draw some paths that I fail to construct with pgfplots only. ...
3
votes
2answers
56 views

TikZ/ERD: node (=Entity) label on the inside

I'm trying to draw an ERD diagram. I recycled code from a couple of posts around here and added my own spice, finally ending up with: \documentclass[border=0.5in]{article} \usepackage{tikz} ...
8
votes
4answers
209 views

Tikz: Equal sized nodes with different text

I am new here to Tikz and I need to draw 2 rows of nodes that are identical in size but having different text of different length in it. Sure the upper and lower nodes should have enough room for the ...
2
votes
1answer
24 views

How to print in a node the \coordindex multiplied by a value?

I would like to print in a node the \coordindex multiplied by a value. Is it possible? now: node [ some code... ] {$\coordindex$} after (?) node [ some code... ...
14
votes
3answers
387 views

tikz, drawing a rectangle with spikes on borders

I would like to draw a scrabble board. On my long journey to do that, I would like to set nodes which I could use around the board. The grid, that I can do. Now I'am looking at coding for "triple word ...
3
votes
2answers
96 views

Scaling nodes in automata in TikZ, inside equation.

I fail to scale the nodes (which is what I initially wanted) of the following \documentclass{standalone} \usepackage{tikz} ...
1
vote
1answer
55 views

Gap between feedback edge of block diagram

How can I avoid the gaps at the branches of the feedback edges (arrows) in this block diagram? \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.10} \usepackage{tikz} ...
2
votes
2answers
233 views

Style inheritance in TikZ trees

As I read the rule for style inheritance in a tree (pgfmanual 18.4, page 215), the naked [rect] below should mean that the node labeled "empty" be rectangular. But it's not. What am I doing wrong? ...
2
votes
0answers
95 views

Beamer - Title page is perturbed when adding notes

I'm working on a Beamer presentation in which I want my notes to be along with a small preview of the current slide only (bigger than the default). I worked on the following MWE, which seems to work ...
6
votes
1answer
90 views

Arrow from brace to node

I would like to draw an arrow from the tip of a curly bracket to a node, but if I do the following, an extra arrow point is drawn just above the tip of the brace. \documentclass{article} ...
5
votes
4answers
162 views

How can I make TikZ nodes center on a particular symbol/operator?

Here is a small example document. \documentclass[a4paper]{amsart} \usepackage{tikz} \newcommand{\dju}{\mathbin{\coprod}} \DeclareMathOperator{\id}{id} \begin{document} \begin{tikzpicture}[x = ...
2
votes
2answers
127 views

How do I draw shapes inside a tikz node?

I know how to draw different shapes using tikz, like this: \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) ellipse (1 and 1.5) (0,2.5) circle (1) ...
5
votes
1answer
94 views

Change node style in a tikz picture

I'm trying to change the node style so a node looks like a cylinder with a variable height. currently i'm using this code \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage{tikz} ...
3
votes
1answer
98 views

change position of TikZ node halfway

I am trying to move the node "H" to one of the two positions shown in red below: I am not sure how to position it at 'intermediate' positions such as I am suggesting. How could this be done? Is ...
4
votes
1answer
114 views

Customizing itemize inside a node in beamer

I am working with the MWE below and I am trying to do something that seems to be easy, but I cannot figure out. \documentclass{beamer} \usepackage{tikz} ...
54
votes
1answer
7k views

Difference between “right of=” and “right=of” in PGF/TikZ

In the PGF/TikZ manual, sometimes I see the option right of=somenode instead of right=of somenode. They look very similar, but the effects are different. The distance between nodes positioned with ...
3
votes
2answers
169 views

Tikz: How to Align the Text of simple Nodes?

I tried to put up a nice little graphic, to make an example for String-Matching. My Problem is the "b" is not aligned with a and c and i can't find a way to handle this: \begin{figure}[h] ...
4
votes
1answer
89 views

Beamer Title Inside Node — Line Break

I am creating my own beamer theme, and the way I have conceived the title page needs the title to be inside a tikzpicture node, in this form: \node [anchor=center] (title) at ($(box)+(0,.25)$) {% ...
2
votes
1answer
71 views

Illegal unit of measure (pt inserted) error when using \foreach with node[pos]

I am trying to draw a path and position nodes on it and fill them using this code and it works \documentclass[varwidth=20cm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw ...
3
votes
1answer
78 views

Syntax for the node command

Look at the two diagrams at the top of page 50 and the diagram at the top of page 220 in the manual at the following web site. http://mirrors.rit.edu/CTAN/graphics/pgf/base/doc/pgfmanual.pdf I have ...
9
votes
3answers
219 views

How can I move a single node in a tikz plot?

I can't find an answer online, please help me. The following plot shows the percentage of 3 groups. The red line is the average (and needs to stay at 13.8). How can I move ONLY the node "2.9" a ...
6
votes
2answers
195 views

How to force nodes to have the same size in tikz matrices

Is there some intelligent way to have several tikz nodes have the same height and width? Consider the following example with output below. I'd like every node in each row to have the same height ...
24
votes
1answer
4k views

Creating node shapes

I am currently learning how to use TikZ/PGF to make some figures for a project report, and so I have a question: Is there is a practical way of making a particular object into a node? The object ...
2
votes
1answer
133 views

Draw nodes in ring form

I want to use this drawing of a neural network and extend it to a recurrent neural network. To do so I'd like to arrange the hidden nodes to a ring and connect every hidden node with the other hidden ...
0
votes
1answer
60 views

How can I connect centers of nodes defined using let in a foreach loop?

I want to create a star polygon using a \foreach loop to make nodes for the vertices and another \foreach loop connecting, say, every 4th node. \documentclass[12pt]{amsart} \usepackage{tikz} ...
5
votes
3answers
295 views

Tikz: How do you label a circled node to the left without collisions?

I'm trying to label a circled node in Tikz with some text to the left. The problem is it is colliding with the circle. For example I have something like: \begin{tikzpicture} \node[draw,circle] at ...
8
votes
1answer
2k views

Edge nodes, auto and node distance

Consider the following MWE \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0)--(1,1) node[auto,midway] {$A$} -- (2,0) node[auto,midway] {$B$}; ...
7
votes
5answers
2k views

TikZ Node with multiple shapes

My use case is drawing a ticked box in line with normal text like this: "Hello ☒ World." (unicode example, your mileage may vary). One solution I managed to come up with is the following rather ...
3
votes
1answer
89 views

pgfplots: node positioning

I want to place a node at the end of a curve. Since I did not find an automatic way to realize it I tried to place it manually. But the node does not appear at the expected position. It's placed near ...
9
votes
3answers
234 views

Sloped Tikz node with rotation and scale

There should be an easy way to place a sloped node along a path. Using sloped works great (as in the black text). However, if there is a rotate= applied then the text is no longer along the path (as ...
3
votes
2answers
132 views

Adding arrows to a Gantt chart?

(To-the-point question at the end of the post) I am using the following snippet to draw Gantt diagrams, taken from this source: % GanttHeader setups some parameters for the rest of the diagram % #1 ...
4
votes
1answer
64 views

TikZ: How to center the text in a node with the scrartcl class

I want to draw a probability tree. In Beamer it looks good. But in scrartcl the texts in the node are aligned right. I want the text to be centered. How can I solve this? ...
1
vote
2answers
85 views

tikz-qtree: Beginners Problems

Hello im not a Linguist and have some trouble with trees. \begin{tikzpicture}[grow'=up] \Tree [.a [.b [.c [.d e]] [.f g] ...