Linked Questions

4
votes
1answer
1k views

TikZ: “Inline” pgfonlayer? [duplicate]

Possible Duplicate: “Z-level” in TikZ When using layers in tikz I usually do the following: \begin{pgfonlayer}{background} \draw[red] (0,0)--(1,0); \end{pgfonlayer} Is there a ...
2
votes
0answers
139 views

tikz drawing layers? [duplicate]

I am using pdflatex to document as my program runs. My program prints out some tikz commands in a file, which is compiled by pdflatex offline. In some cases the order of the commmands is not what I ...
1
vote
0answers
57 views

Layer generation in TikZ [duplicate]

I'm drawing a fairly complex picture with many overlapping areas. Is there a way to pass each \draw snippet to a layer specified in the options? Or even better, based on its axis position? I know of ...
34
votes
2answers
7k views

Drawing a hypergraph

What is the proper way to draw a hypergraph? Is there a package to do this, or is there an easy way to draw such diagrams with a common drawing method like tikz? I'm trying to draw something like
27
votes
3answers
12k views

Put a node behind another in a TikZ diagram

I want to place a node, that is kind of a note, behind another node. However, I need to put the reference node before the note, so I can place the note in a relative position to the reference node. So,...
36
votes
2answers
17k views

How to draw points in TikZ?

Very often we need to draw points. Every one of us has it's favorite method to do this. What is yours ? Do you use nodes, pics, marks, ... ? In a style ? Some backgrounds In the tikz/pgf manual ...
35
votes
2answers
1k views

How do I debug pgfkeys?

I'm sure if you're reading this question you are already familiar with my love for pgfkeys. However, it is absolutely impossible to debug: \tracingmacros is a total mess, with every key expanding to ...
11
votes
3answers
2k views

How to fill a shape bounded by edge[bend right]?

I've got \node (A) at (0,2) {$A$}; \node (B) at (0,0) {$B$} edge [<-] (A) edge [<-, bend right=90] (A); How do I fill this D shape? I've got to use \filldraw, obviously, but I can't ...
11
votes
3answers
2k views

Drawing a proper shadow for overlapping objects

I draw images that are composed of several overlapping nodes. If I add a drop shadow to each node, the shadow of the second node is drawn over the first node, as seen in the picture below (which ...
10
votes
4answers
2k views

How can I set the background color of the rows and columns of a matrix node in Tikz?

I have a matrix where some cells have nodes while others don't, with rows and columns of varying size depending on the biggest nodes in them. In this matrix, I would like to have the background of ...
16
votes
2answers
2k views

Are boolean operations on TikZ shapes possible?

The Situation Many vector graphics editors (for instance, Inkscape, Adobe Illustrator and Microsoft Visio) permit the synthesis of new shapes by union, difference or intersection operators. A ...
8
votes
2answers
2k views

pgfplots - highlighting/filling an area in a data file

How does one highlight a specific domain range of a datafile in pgfplots? For example I'd like do do something like: \begin{tikzpicture}[baseline,trim axis left] \begin{axis}[ ylabel=frequency, y ...
9
votes
2answers
2k views

Plot TikZ items with respect to 3D position, not the order of appearance in the code

I have a big bunch of polygons plot in 3D with TikZ. The code is generated by a program, so it's hard for me to print the "foreground" polygons last, so that they are well printed in space. In other ...
5
votes
2answers
914 views

Tikz: How to indicate/display overlapping lines

I have the following simple picture: Is there a way to better illustrate the small overlapping interall of LS and LD? I know I could define this area by another line for example and use different ...
3
votes
2answers
2k views

Edge anchor in tikz

\documentclass[tikz,border=5pt]{standalone} \usetikzlibrary{positioning} \usetikzlibrary{fit} \begin{document} \tikzset{ box/.style = {draw, text width=4cm, rounded corners=2pt, align=center, ...

15 30 50 per page