1k views

Best practice for creating TikZ pictures with nested elements

Context I want to create several diagrams to illustrate processes. They are not technically complex. However, they consist of several nested elements. First, macro-elements are relatively positioned. ...
3k views

tikz : how to refer to a node, in nested nodes

The following MWE displays 2 nested boxes. The alignment is done by refering to the inside box, through the name of the node "inbox" \documentclass[12pt, a4paper]{scrartcl} \usepackage{tikz} \begin{...
3k views

Problem with overlay when a tikzpicture is inside another tikzpicture

update i discovered lately this question where Nickolay Kolev uses \tikz inside a tikzpicture environment. A lot of users think that is a wrong practice and I agree that is very strange but sometimes ...
1k views

How to avoid nesting of tikzpicture?

I have to draw the probability distribution function (PDF) in the following MWE multiple times in a figure as well as across multiple figures. I have read the following questions: Problem with ...
3k views

How to cross out a child of a node in a tikz tree?

Consider this simple tikz tree: \documentclass{article} \usepackage{tikz} \usetikzlibrary{trees,shapes,snakes} \begin{document} \tikzstyle{mynode} = [text width=4em, text centered] \begin{...
3k views

How to typeset a TikZ picture inside a node?

The contents of a node are drawn in text mode. Is there a way, short of introducing a tikzpicture environment, to draw a picture inside a node? Nesting tikzpicture environments is problematic, also ...
3k views

Set total width of TikZ node / Resize lrbox

I am currently preparing a poster for a conference and decided to use 'beamerposter' for that purpose. As I don't really like the standard templates I decided to go after a design similar to this one:...
2k views

How can I use overlays in beamer when producing graphs with dot?

I usually describe graphs with graphiz and I enjoy dot2tex which produces the corresponding TikZ code. To explain an algorithm in a presentation, I need to uncover the nodes and edges of a graph step ...
598 views

How can I remove the white space within a cloud in TikZ?

I am trying to produce a figure which contains a cloud drawn around a set of images. The code I have so far is: \node [draw, cloud, cloud puffs=20, aspect=2, inner sep=0cm] (pathways) {\begin{...
376 views

Minipage layered over a TikZ image

I have a minipage of some text, and an image created in TikZ. The image has a bunch of white space in it, and I'd like to overlay part of the text on top of the image's white space. This is similar to ...