{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

2
votes
1answer
31 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... ...
8
votes
4answers
302 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 ...
3
votes
2answers
190 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
88 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} ...
14
votes
3answers
459 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 ...
6
votes
1answer
142 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} ...
2
votes
2answers
194 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
232 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} ...
2
votes
0answers
127 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 ...
4
votes
1answer
338 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} ...
3
votes
2answers
185 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] ...
2
votes
1answer
539 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
134 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 ...
4
votes
1answer
154 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)$) {% ...
6
votes
2answers
497 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 ...
9
votes
3answers
284 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 ...
2
votes
1answer
187 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
71 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} ...
3
votes
1answer
117 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 ...
3
votes
1answer
347 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
377 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
251 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
69 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? ...
4
votes
2answers
60 views

node style is only taking partial effect in a matrix of nodes

This is probably the first of two closely related questions. I have defined a style: my node style/.style={%% minimum width=\dimexpr0.60in+12pt\relax, minimum ...
2
votes
2answers
107 views

pgfplots- Adding a mark at the origin

I'm trying to show the beginning of a sketch of the graph y=xe^x, and this is what I have: \documentclass[10pt]{article} \usepackage{tikz} \usepackage{pgfplots} ...
0
votes
0answers
19 views

How to debug the “Argument of \XC@definec@lor has an extra }” error in Foreach statement? [duplicate]

First, I draw three nodes each of which has three parts. Everything is OK. The code and the image are as follows. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[]{tikz} ...
4
votes
0answers
123 views

TikZ: turn a box into a shape

I want to turn a rectangle with ports in the top and bottom into a shape I can use with a node. How can I do this? \documentclass[tikz,14pt,border=10pt]{standalone} %%%< \usepackage{verbatim} ...
5
votes
3answers
226 views

Table of x-y values with first and second order differences

I would like to code a pages of notes that has the layout shown in the picture below. My question is the most efficient way to do this with LaTeX. I would think tikz with lots of nodes and edges, but ...
3
votes
2answers
66 views

Place node above specific path segment

I am trying to put a node above a specific segment of a path that is "bent" using "|-" (kind of broken into segments). A minimal example follows here: \begin{tikzpicture} \node[rectangle,draw] ...
6
votes
3answers
446 views

Make a polygon with automatically labelled nodes according to their coordinates

The goal: Make a polygon (and a circle containing that polygon at the nodes of the polygon, without the polygon's lines) with automatically numbered nodes according to their coordinates (x,y) [which ...
1
vote
1answer
172 views

A dotted circle: control size of dots and distance between them

My MWE is: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \draw[red,dotted] (0,0) circle (2); \draw[black,thick] (5,0) circle (2); ...
4
votes
3answers
114 views

Nodes and text positioning

I want to use tikz to draw circle nodes with inside a text in math mode that has the following structure. A variable plus potentially a subscript and/or a superscript. I want the position of the ...
6
votes
1answer
209 views

ADC in tikz (circuitikz)

How it is possible to draw an ADC (analog to digital converter) with tikz library ? Some Simple ADC like this ? What is the right way to place nodes on such rectangle so that i can use it further ...
4
votes
1answer
102 views

Is there a way to forget node names between TikZ pictures?

I have a document with several TikZ pictures in it. I generally use simple names for the nodes such as: \node (A) at ..... \node (B) at ..... and so forth. Because of this I have name clashes ...
3
votes
0answers
35 views

Why does the meaning of “above” seem to change when my “shift” coordinate changes?

The only difference between these two examples is the size of the xshift. The MWE with xshift=-1.5in and xshift=-1.0in places the text where I expect, but not with xshift=-0.75in and xshift=-0.5in: ...
5
votes
1answer
114 views

Tikz fit library: fitting only one dimension and accumulating calls

The fit library is very useful for adjusting the size of a node to fit other nodes inside it. It is also useful in conjunction with shift to make a node span to the width/height of other nodes but ...
6
votes
1answer
170 views

Insert text in a pie chart

I try to insert text in nodes and need help. How to fix the placement of each text ? Thanks \documentclass[border=10pt]{standalone}%{article} ...
6
votes
2answers
202 views

Nodes near coord overlapping…how to shift up

I am using nodes near coords but as you can see the values on the bottom are overlapping. I have tried placing them manually but that hasn't worked either...How to just shift up the nodes so they do ...
1
vote
2answers
100 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] ...
7
votes
1answer
162 views

Text doesn't fit the box

I created the following picture with Inkspace and made export to tikz. The problem is that the text doesn't fit the boxes. And the arrows should be colored with a gradient, but it's not so important. ...
2
votes
0answers
88 views

Colour of edges according to edge value

I am currently modelling traffic and my map of roads consists of nodes connected with lines. For each road there is maximum capacity and amount of traffic and each road therefore has a utility value ...
1
vote
0answers
65 views

Straight lines look out thicker than diagonal [closed]

I am currently creating a graph of connected nodes i tikz. When I draw a diagonal connection using: \draw[solid] (a) --node[midway,right](){0.3} (b) the line looks much thinner than when a draw ...
4
votes
1answer
122 views

Place numbers on edges between nodes in tikz

I am creating a graph of connected nodes and I want to have numbers on all edges that connect the nodes. At the moment it looks as follows: \begin{figure}[H] \begin{tikzpicture} \node[shape=ellipse, ...
4
votes
1answer
133 views

Overlay edge between two tikz nodes

I want to have two nodes in Tikz, filled with text. Then I want an edge from one position in the first node to another position in the second node: This is what I tried: Inside the tikz nodes text, ...
3
votes
1answer
89 views

Text alignment in nodes

Why 360 is not vertically aligned with Angle ? I changed text width but it's not better ... \documentclass[tikz,margin=3pt]{standalone} \pgfkeys{/tikz/.cd, BLS/.store in=\BLS, ...
5
votes
1answer
64 views

Understanding tikz inheritance with the positioning library

I have trouble understanding the tikz inheritance model while using the positioning library. Consider the following example: \documentclass[]{scrbook} \usepackage{tikz} \usetikzlibrary{positioning} ...
1
vote
1answer
33 views

\fill left of a node using the positioning library

How can I position a \fill relative to a node? I would position a node in the following way, using the positioning library: \node (mynode) at (2,4) {text}; \node [left=of mynode] {o}; But if I try ...
5
votes
1answer
54 views

Minimum width for 2 nodes at once

In this MWE, I can put a minimu size by hand, but how determine it automaticaly: let say max width of the two nodes + 4pt on each side ? \documentclass[french]{article} \usepackage{tikz} ...
6
votes
1answer
116 views

Global use of values obtained in draw let

In one of my tikzpictures, I found an angle I labelled \n2. I would like to use this value to rotate a node. However, when I try, in the node options, rotate = \n2, I am told undefined control ...
3
votes
3answers
159 views

Size of circle path vs. circle node in \pgfdeclareshape?

I'm trying to "overload" a rectangle node as a custom shape, such that it has a circle on its south west corner. In the MWE below, I use \circsize to set the size of the circle - and for testing ...