I'm trying to implement this solution while using textpos but the textblock*s seem to land below the "background" image instead of above. Can one overcome this?

A minimal example would be:


\usepackage{lipsum, tikz}





\begin{textblock*}{10cm}(2cm, 2cm)
Invisible \lipsum[1]


3 Answers 3




The overlay option is designed for this situation, where other packages use the same \shipout mechanism, and put things ‘on top of’ the boxes which the textpos package generates.

[overlay] When using the absolute-position mode, the textblocks are placed under any other text on the page. This is normally what you want, but if you have page contents, and they have something which obscures the textblocks (for example, a block of opaque colour), then the positioned textboxes disappear. In this case, specify the option [overlay], to request that the positioned blocks of text overlay any other page contents, rather than being overlaid.

  • is it possible to have a single box typeset with the "overlay" option? I mean, all the boxes I have but one need to stay on the background. Only one need to be overlaid on top of what is on the page. Sep 16, 2021 at 13:47
  • 1
    @AntonioSesto At present (v1.10), no, this isn't possible: the overlay setting has its effect when the package is loaded, and can't be changed afterwards. It's not completely impossible that this would change in a future version, but I've no current plans for that. Sep 17, 2021 at 11:27
  • Thanks for the reply. Sep 21, 2021 at 14:50

A ConTeXt solution:

\usemodule [visual]

  [x=0mm, y=0mm, width=\paperwidth, height=\paperheight]

\setlayer [fullpage]

\setupbackgrounds [paper] [background=fullpage]


compiled result


I was unable to get textblock* to achieve your goal, so I wrote a substitute, using the everypage package, \mytextblock}{width}{x-pos}{y-pos}{content}.

The background is inserted with an \atxy{xpos}{ypos}{content}.

The current implementation only supports one textblock color per page. Let me know if that is sufficient.

In the MWE, after placing the background image, I lay down two text blocks, the second (of \lipsum[3]) is positioned to directly underlay an actual incarnation of \lipsum[3], so that one can observe that the dimensions match.

One thing that I don't know about the real textblock is whether it is supposed to overlay or underlay the actual page content. In my implementation, it underlays. If that is the incorrect behavior, then this effort is for naught.




enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .