Questions tagged [nodes]

{nodes} is about nodes in {diagrams}.

Filter by
Sorted by
Tagged with
12
votes
3answers
19k views

How to turn off drawing node border in PGF?

I'm trying to create a picture for Instant Insanity problem. Here is my following code: \begin{tikzpicture} \matrix[nodes=draw] { ; & \node{\LARGE R}; & ; & ;\\ \node{\LARGE R}; & \...
2
votes
2answers
3k views

TikZ: applying width to nodes programmatically, and 'Undefined control sequence pgf'

This is what I want to do: given two (horizontal) nodes, calculate the x distance between them, and produce a rectangular node with the same width as the x-distance between the nodes, placed below ...
4
votes
1answer
2k views

TikZ: How to rotate a matrix (of nodes)?

Please consider the following TikZ code: % aligning text in node: node[align=left] only in latest 2010 tikz: % http://compgroups.net/comp.text.tex/-tikz-option-for-ragged-left-text-in-node % or use ...
9
votes
1answer
3k views

Tikz Mindmap - how to get more nodes

% Author: Till Tantau % Source: The PGF/TikZ manual \documentclass{article} \usepackage{tikz} \usetikzlibrary{mindmap,trees} \usepackage{verbatim} \begin{document} \pagestyle{empty} \begin{comment} :...
3
votes
2answers
360 views

Node with tikz and bookmarks

Is it possible to link a bookmark to the command \titA in the following example? \documentclass{article} \usepackage{tikz} \usetikzlibrary{shadows} \newcommand{\titA}[1]{\begin{...
73
votes
3answers
92k views

Tikz: Multi-line text in the node description [duplicate]

I use tikz to create pictures in latex. My picture consists of set of nodes. Every node has its own text inside the node, for example, "This node is valuable": \node (mynode) [mystyle,right=of ...
9
votes
1answer
2k views

place a new TikZ node behind others

I would like to have a new TikZ node appear behind the previous one. For instance in beamer presentations for highlighting parts of code. I can do this if I place the \node before the new node and ...
26
votes
2answers
4k views

Defining a new environment whose contents go in a TikZ node

I would like to define an environment which typesets the contents in a box, and I'd like to use TikZ (I'm aware of alternatives like fancybox). So I would like something like \newenvironment{abox}% ...
14
votes
2answers
12k views

Path From and To Same Node in tikz Flowchart

I'm working on creating flowcharts directly inside LaTeX documents using tikz. I am admittedly an extreme novice with tikz, although I have quite a bit of experience using LaTeX. My problem is when ...
4
votes
3answers
2k views

How to get TikZ nodes not to change alignment?

I'm still working on rendering a nice block matrix. I've been using BMAT but it is irrelevant for the question at hand. I want to connect various entries in an array/matrix/BMAT by lines, and I'm ...
5
votes
1answer
3k views

TikZ: How to encapsulate shade in node?

I have this shaded circle: \shade [ball color=black!80!white] (0,0) circle (1); Is it possible to encapsulate it with node style and fixing the circle radius?
12
votes
2answers
3k views

How two connect any arbitrary nodes of tree in tikz

I need to be able to connect any arbitrary nodes in a tree to each other. I am using the tree package in tikz to create my tree. I cannot figure out though how to connect to nodes by let say a draw ...
25
votes
3answers
7k views

Placing nodes along an ellipse in TikZ

Is anybody aware of a simple way to place nodes at arbitrary positions along an ellipse? Ideally I would want to mimic notation like \draw (0,0) ellipse [ x radius=2, y radius = 1] node[pos=.3] {...
7
votes
3answers
4k views

How to create custom Tikz nodes?

I don't want to change style only. I want to create node that takes 3 numbers and display them with appropriate decorations. For instance: \mynode{5,6,7} Should display node with "a=5", "b=6" and "...