Questions tagged [pgflayers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
45 views

TikZ: Page with several grids

I want to create a worksheet like that on a DIN A4 paper (21cm x 29.7cm): The margins round about should be something like 15mm (plusminus); the main thing is that I get as many grid-boxes as ...
1
vote
2answers
51 views

tikzpicture behind text

Is there a way to push a tikzpicture behind text? MWE: \documentclass{article} % -- packages \usepackage{tikz} \usepackage{pgf} \pgfdeclarelayer{background layer} \pgfdeclarelayer{foreground layer} ...
2
votes
2answers
73 views

Rectangle over Tikzpicture with independent positioning

I think my problem is very simple, but yet I haven't found an apropriate solution. I want to have a tikzpicture which will on the next slide be overlayed by some other content tikz content. For ...
2
votes
1answer
101 views

Use custom layers with fillbetween

I would like to have two layers behind the background layer: waybackgroundlayer and boundingboxlayer and also use the fillbetween. The MWE below uses \AxisEnvironmentFig to graph the curves. The * ...
0
votes
1answer
96 views

fill between and axis on top causes title to be behind grid lines

I want to color an area between two plots using the fillbetween library. Additionally, I want my grid lines on top of the plot (i.e. "axis on top", like in pgfplots' area style; I can't use area style ...
0
votes
1answer
83 views

Tikzpicture / PGF layers rendering in the margin

Alrightly folks, I have one that has stumped me thoroughly and hopefully one of you beautiful brilliant people can help me out. I am attempting to use tikz/pgf to enable me to use absolute ...
3
votes
2answers
480 views

How to generate a node that is always on top in TikZ?

I have the following code, but the node is always hidden by the vertical line. How can I solve this (world and first are hidden by the vertical line)? \documentclass[]{article} \usepackage{...
2
votes
1answer
480 views

TIKZ Matrix nodes filled with colour afterwards and set to background

I have a (maybe easy) problem in formatting a matrix in tikz. In the first step I ordinary filled my matrix with nodes inside the matrix environment. After finishing my matrix I use the fit ...
0
votes
1answer
84 views

boxed Flowcharts

i want to draw a tikzpicture like this: i tried using the following packages: layers, matrix, fit+background but i am pretty new to tikz and can't make it work the initial idea was to draw the boxes ...
1
vote
1answer
290 views

Beamer overlay and Tikz onlayers issue

The angles should appear on the second slide, but they don't. \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{angles} \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \...
1
vote
0answers
153 views

pgfplots: Put xlabel on layer below axis line

Based on How do I make label (node) to appear in front of markers in pgfplots?, I would like to put the xlabel on a white background on a layer above axis grid and below axis lines. I guess this ...
14
votes
1answer
4k views

PGFPlots: Understanding how to draw plots on different layers and arrange them

I have gone through previous questions [1,2,3], but I still couldn't figure out how to draw plots on different layers and change their order of drawing. For this MWE, I would be grateful if I could ...
2
votes
1answer
182 views

Tikz-Uml hidden lines

I have problems with drawing an use-case diagram with tikz-uml. There is no problem if I only use tikz-uml, but if include the smartdiagram package too. I've had some errors telling me that the ...
5
votes
3answers
462 views

TikZ: Place different elements of a same path on various layers

I have different elements (say, a node and a filled circle) defined using a single path: \path (0,0) node [blue] {some text} [fill, red] circle [radius = 1]; Issue: I would like to put one ...
5
votes
1answer
967 views

pgfplots layer issue

I'm trying to define my own layer set which enables plots above gridlines, but below the axis lines, ticks, etc. I've made the MWE based on chapter 4.27.2 of the pgfplots manual. However it's not ...
3
votes
2answers
199 views

Putting node content over a node label

I use labels to place icons within my TikZ pictures: \begin{tikzpicture}[ switch/.style={label=center:{\includegraphics[width=1.5cm]{switch.png}}}, cloud/.style={label=center:{\includegraphics[...
2
votes
1answer
356 views

Ticks vanish in pgfplots if groupplot is combined with set layers and axis on top

I am trying to use set layers to get the grid behind the tick labels and axis on top=true to get the axis on top of the plot lines. If I use these settings in a groupplot neither the ticks nor their ...
3
votes
2answers
744 views

How to have an invisible layer in tikz?

Back in the day (2014), I've had some code posted in Drawing a styled node invisibly (phantom / off-screen)?, which is reposted below. Then it apparently compiled; with my current texlive 2014 (...
8
votes
1answer
473 views

Problems combining clip, layer and pic when multiple instances are included in the same tikzpicture

I'm having trouble figuring out how I am supposed to combine (or if I am supposed not to combine) pics, clipping and layering when more than one instance of a pic is included in a single tikzpicture ...
4
votes
1answer
420 views

How to set node on line on a different layer than line?

Is it possible to declare, that node on lines are on the main layer regardless that lines are in background layer? For example: With the following MWE: \documentclass[12pt,tikz,border=3mm]{...
3
votes
1answer
128 views

Why the background of a pgf fitting node with minimum width equal to another (backgrounded) fitting node's width is shifted?

I have two pgf fitting nodes: one below the other, left aligned, with different (unpredictable) widths, and I'd like them be backgrounded, with backgrounds of the same width. For this, I got help ...
3
votes
1answer
3k views

pgflayer: background and foreground and tikz: pattern for water

I am attempting to draw a barrel floating in water. I am trying to use pgfonlayer so that when the water line intersects the barrel, the line will be removed. Also, I looked through small section in ...