Skip to main content

Questions tagged [layers]

The tag has no usage guidance.

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

Place tick scale label on top of plot contents

I came up with a pretty neat way to avoid overlap between tick scale labels and axis bounds for stacked plots by moving the tick scale labels into the axis windows, but unfortunately the lines are ...
mcmuffin6o's user avatar
1 vote
2 answers
69 views

ConTeXt: How to have a float across the top with some text below in left margin?

I used mikep's technique from ConTeXt: How can I have body text beside a bottom float caption in the margin? but now I want the floating image at the top, with the text in the left margin below. The ...
Stanley's user avatar
  • 391
4 votes
2 answers
65 views

ConTeXt: Help with leftbottom layer preset

I have a layer that covers the left margin and the text area. The leftbottom preset places the content too high on the page. It is too high by twice the value of y in the layer (in \definelayer, y=20 ...
Stanley's user avatar
  • 391
2 votes
1 answer
248 views

Grid based layout for a title page

I'm trying to design a title page for an interview. I'd like to feature on the page the title, the interviewee, an introduction text… all on a column based layout. I tried several things: ...
Alex's user avatar
  • 55
3 votes
3 answers
290 views

How to draw a PGF picture in front of any other PGF picture?

I saved the following LaTeX code in the file ~\Test.tex. \documentclass{beamer} \usepackage{tikz} \usetheme{Warsaw} \begin{document} \begin{frame}{Frame Title} \begin{tikzpicture} \draw[...
Evan Aad's user avatar
  • 11.2k
2 votes
1 answer
83 views

ConTeXt: Need help understanding \setupbackgrounds when layer is postponed

My goal is to insert a page into the body text with a different layout and with items in a layer. The MWE appears to work fine. See screenshot below. Question 1: \setupbackgrounds … has to be before \...
Stanley's user avatar
  • 391
0 votes
1 answer
49 views

ConTeXt: How do I have a box of 2-column text in a layer?

In my MWE, below, I want to have a frame, starting at the left margin, containing 2 columns of text. Instead, it has a column of the right width, but the text does not flow into the second column as I ...
Stanley's user avatar
  • 391
0 votes
0 answers
23 views

Is there a way to reevaluate the whole document twice in different OCGX layers, with some option slightly different?

I need different Layers on a Document, with the same content but different color schemes, I already know that OCGX can create layers, but I couldn't figure out how to reevaluate the document with ...
Jannes Althoff's user avatar
2 votes
0 answers
27 views

ConTeXt module like overpic in Latex

Is there an analogue of the overpic package in ConTeXt for placing letter labels on images? Not one image, as in the Wiki examples and in "It's in the details" manual, but several, as with ...
Yuri Sen'kin's user avatar
0 votes
1 answer
169 views

TikZ drawing over plot

I would like to draw the red line over the plotted points. What am I doing wrong? Here is the code: \begin{figure}[!ht] \centering\ \begin{tikzpicture} \begin{axis}[ ymin=0, ymax=4....
el_maxx's user avatar
  • 163
2 votes
1 answer
55 views

Beamer, print different layers

I have made this beamer document. \documentclass[handout,a4]{beamer} \usepackage{handoutWithNotes} \begin{document} \begin{frame} Question ? :\\ \onslide<2- | handout :0 >{ Answer 1\\} \onslide&...
Fabien C's user avatar
1 vote
0 answers
64 views

How to fix placement of layers in Apple Preview (works in Adobe Reader and others)

I am trying to create an interactive PDF where one can switch between a color and a grayscale image using the ocgx2 package. It works on Adobe (with interactive element), and displays fine in most ...
John Smith's user avatar
0 votes
0 answers
142 views

Postscript File to Place Everything in a Layer

Would like a postscript file that will place original pdf content onto a layer. Everything in the original pdf goes on a layer. Don't know how to place the stream into the ocg... This is the start of ...
KeWe's user avatar
  • 1
0 votes
0 answers
66 views

Is it possible to check whether Adobe Acrobat is used to open the pdf or not?

The question is in the title itself. I want to add some layered structure in my pdf which are shown properly only in Adobe Acrobat (and Foxit partially). Is it possible to show the layered structure ...
Martund's user avatar
  • 341
0 votes
0 answers
256 views

Changing the layer order of subfigures

I have a five-image figure that I need to fit in one vertical column. Because the tops of the images have a decent amount of white space, I introduced some negative space after each subfigure. However,...
Brandon Neth's user avatar
6 votes
1 answer
525 views

tikz: draw on top of spy

I want to draw on a tikz-spy and the new line should be covering the ones copied by the spy. E.g.: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{spy,shapes} \pgfdeclarelayer{bg} % ...
Florian's user avatar
  • 2,919
0 votes
1 answer
82 views

Curves extends beyond the axis limits when plotting on added layers

I have encountered some problem while I was trying to change curves displaying order and at the same time maintaining the legend entries order. The curves order was changed as expected, however, they ...
Ido H.'s user avatar
  • 75
1 vote
1 answer
53 views

TikZ: `behind path` Key Inoperative With Angles Library

I am using the angles library to label angles in my diagrams. I'm noticing, however, that the arc created by the angles package rests on a layer above the rest of the diagram by default, i.e., the ...
Shady Puck's user avatar
2 votes
2 answers
151 views

ocg: problem using keyval

Trying to build expandable macros using ocg layers, I am facing quite disturbing issue that I am not able to figure out and so turn here for some help of specialists... I am using a macro to insert ...
Damien Gredat's user avatar
0 votes
1 answer
265 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 ...
cis's user avatar
  • 9,037
7 votes
1 answer
1k views

Put text anywhere at the document

I am wondering whether it is possible to position any object like text or image on top or behind the existing text in the document without affecting it? That is to say, make an object float like a ...
antshar's user avatar
  • 4,652
0 votes
0 answers
176 views

How to place header a layer above text?

I've a question regarding the placement of the header. As far as I know TeX first places the header, then the body and finally the footer. The header is therefore below the body and the footer above ...
GrueneSosse's user avatar
0 votes
0 answers
71 views

Properly layering/structuring a document

I'm creating a kind of convoluted document. The idea is that I begin with a certain concept, say section 1 Food Food can then be then divided into many categories section 1 subsection 1 Meat ...
Michał Kuczynski's user avatar
5 votes
2 answers
262 views

ConTeXt: Pixel-perfect figure span across a two-page spread

Background Looking to split external figures across two pages, evenly, for a seamless layflat photobook. Problem The seam between two pages is misaligned for illustrations that span two pages. This ...
Dave Jarvis's user avatar
  • 12.1k
5 votes
1 answer
559 views

Tikz & OCG: make button cycling through different layers

I would like to have an OCG button which, when pressed, cycles through a set of OCG layers. I've tried using self-referencing OCG buttons, where each toggled the other (I tried with and without ...
Svalorzen's user avatar
  • 296
6 votes
1 answer
2k views

Stacking pdf layers

I am trying to display different boxes with a logo in it based on which PDF layers are active. See the image below In my example I only have 3, but for my actual problem I am guessing I need 3 groups....
N3buchadnezzar's user avatar
1 vote
1 answer
114 views

Error inserting image for layer in tikz-network (manual example)

Following the third example on page 35 of https://github.com/hackl/tikz-network/blob/master/manual.pdf I have been getting the following error below. Did I write something wrong in the code or omit ...
Yaacov NNNNM's user avatar
1 vote
0 answers
149 views

pgfplots: How to set “axis on top” only for abscissa and ordinate, but not for grid? [duplicate]

I try to format a ybar diagram nicely. Minimum Working Example (MWE): \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ ybar ...
Dave's user avatar
  • 3,788
2 votes
1 answer
1k views

pgfplots: "axis on top" will cross out ybar value nodes?

Assumed we have a simple ybar diagram including ymajorgrids. Minimum Working Example (MWE): \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{...
Dave's user avatar
  • 3,788
0 votes
1 answer
66 views

How to fix circles as background and write text and insert figures in the foreground in a0poster?

Please find the MWE below and kindly help me to fix my issues. \documentclass[portrait,a0b,posterdraft]{a0poster} %% posterdraft is for printing the poster on a4 size. \usepackage[paperheight=119cm,...
user168768's user avatar
0 votes
0 answers
1k views

How to Flatten & Secure PDF Files?

From my readings of past and somewhat similar threads, it sounds like there is no LaTeX code for creating a PDF that is both "flattened" and "secured". Therefore, I need to compile the PDF then use ...
WeCanLearnAnything's user avatar
21 votes
1 answer
1k views

Eraser tool for TikZ

I am asking for a style (or something similar), let us call it ERASE. The imaginary tool works as a convenient inverse clip or eraser within a scope. The specific way is asked within the comment in ...
CampanIgnis's user avatar
  • 4,634
2 votes
1 answer
445 views

TikZ: Draw in the background of tcolorbox tcboxeditemize

Based on this question I would like to add a background around multiple tcboxeditemize environments from the tcolorbox package. In my MWE the tcboxeditemize rasters remains in the background and I ...
raedma's user avatar
  • 1,804
0 votes
2 answers
873 views

TIKZ: Layering Text over Text

I'd like to create a box in tikz that contains regular text, and underneath that text, another layer of text. I can create the first layer of regular text, but I'm stumped on how to put the lower ...
Bernhard's user avatar
  • 1,278
3 votes
1 answer
120 views

select tikz layer inside path command

Is it possible to define the tikz-layer to draw on inside a path command, eg \node[on main layer] at (0,0) {foo};? It is a bit tedious to put single macros in a scope-environment.
Jürgen's user avatar
  • 2,202
3 votes
1 answer
224 views

How to make a layer show up only in the last page in ConTeXt's letter module?

Sorry for the long explanation, but here it goes: say you have a >=3 page document, and you need to put a layer only on the last page. And yes, you have your ConTeXt installation up-to-date. On the ...
acidrums4's user avatar
  • 416
1 vote
0 answers
113 views

Superimpose content to a movie in beamer [duplicate]

When using the command \movie in beamer, from the package multimedia, it appears that the movie itself appears on top of every other content, so that it seems impossible to display any content over it....
Valéry Benoit's user avatar
5 votes
1 answer
510 views

Is there a LaTeX or LuaTeX equivalent to the layers in ConTeXt or exact vertical positioning?

I'm creating a document with complex layout of tables and figures, some need to be properly aligned vertically, horizontally or placed at some specific position. I'm using minipages and I was told to ...
skan's user avatar
  • 1,028
4 votes
1 answer
291 views

Why is LaTeX causing this font to misalign on one glyph?

I was playing around with the PF Goudy Pro Initials font on LaTeX, having recently purchased it. This font is a layered initials font, in which six iterations of the same character, typeset in six ...
user avatar
2 votes
1 answer
323 views

Toggle colors with ocgx - multiple buttons

EDIT: The first description of the problem was not good enough, please note the edit at the end. Here I asked about how to toggle colors with ocgx. This was the solution: \documentclass{beamer} \...
Martin's user avatar
  • 427
5 votes
1 answer
578 views

Toggle colors with ocgx

I want to use the ocgx package to create a pdf with a button that changes its color when clicking on it from red to green to invisble to red (and so on). I tried the following: \documentclass{beamer} ...
Martin's user avatar
  • 427
8 votes
2 answers
2k views

What function does the asterisk have in beamer, '\setbeamercolor*{'?

I am working to create a style file in a separate file from the beamer .tex file. When configuring the title page with: \setbeamertemplate{title page}{ or using: \setbeamertemplate*{title page}{ I ...
Vass's user avatar
  • 1,776
4 votes
3 answers
235 views

Setting order of decorations on a path

I'm trying to make paths that are shaded to as to appear as cylinders with spherical ends. I've found a way to do this with decorations. I use vertical shading on rectangles for the path segments, ...
Carl Sorensen's user avatar
6 votes
3 answers
2k 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 ...
ebosi's user avatar
  • 11.8k
3 votes
1 answer
137 views

Change style of individual path labels?

I am working on creating a path diagram using Tikzedt. The problem I'm running into is that the path labels on these lines that are very close to each other are overlapping with the other lines, ...
fh432's user avatar
  • 31
3 votes
1 answer
210 views

Setting paragraphs inside \setlayer

I am trying to use layers to define a letterhead, but I am finding that text set using a \setlayers command often is set as a single paragraph, even when explicit paragraph layout commands are used, ...
Charles Stewart's user avatar