TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know that there is tikz, but also eso-pic and textpos. I'd like to see a list of possible ways (not necessarily packages) for absolute positioning of things (which I believe amounts to "boxes") on the page, together with their advantages and disadvantages (for instance: tikz's current page node is very easy to use, but usually requires two LaTeX runs, and overhead from loading tikz if you don't need it for any other things is considerable).

Both LaTeX and ConTeXt solutions are welcome

share|improve this question
Good idea to have a reference with one method per answer. Can you please add whether this can disturb the positioning of other material on the page (unlike overlay option). Simple \put will also work BTW. – Harish Kumar Apr 5 '14 at 22:40
\raisebox{\up}[0pt][0pt]{\rlap{\hspace{\right}{anything}}} will position anything relative to the starting position, so if you start at a known absolute position (such as the upper left corner of the text area) Bob is now your uncle. – John Kormylo Apr 6 '14 at 0:04
The ConTeXt way for absolute (or relative!) is using Layers. – Aditya Apr 7 '14 at 16:02
@Aditya: I know, I even used them once or twice;). But for this big-list question to be useful for newbies, could you provide an example? – mbork Apr 7 '14 at 16:11
@mbork: I'll try to add a detailed answer. If only a day had more than 24 hours. – Aditya Apr 7 '14 at 16:13

Here is the tikz method which uses current page.south west anchor to position the text:

enter image description here

The \AbsolutePosition places the given text at the offset specified relative to the bottom left margin (whose coordinates are determined via the output of the \layout on the first page of the output.


  • The showframe package was used just to show the page margins. It is not needed in actual use.
  • The layout package was used to determine the various offsets to apply to make to coordinates relative to the bottom left margin as opposed to the actual bottom left of the page.
  • The lipsum package was used just to provide dummy text.



%% Following obtained from \layout. May need adjustment based on class and
%% page settings.  Alternatively, can set these to 0pt and then position will
%% be relative to bottom left of page.

    % #1 = tikz options
    % #2 = x (from south west corner of page
    % #3 = y
    % #4 = text
    \begin{tikzpicture}[remember picture,overlay, ultra thick]
        %\draw [shift={(#2,#3)},#1]  (current page.south west) circle (2pt) 
        \draw [#1]  ($(current page.south west) + (\BottomLeftX,\BottomLeftY) + (#2,#3)$) circle (2pt) 
                node[above right] {#4};

share|improve this answer

This method allows you to position at any (x,y) location (relative to upper left corner of paper) on the page, and can be issued regardless of where the current location is. The only requirement is that you know what the top and left margins are, which are incorporated in \atxy. It uses the everypage package.

If you prefer the origin at a different location, for example, relative to the margins, that is a trivial change.

\atxy{5in}{6.2in}{\makebox[0pt]{centered at (5,6.2)}}

enter image description here

share|improve this answer

eso-pic provides hooks into specific page locations:

enter image description here

\geometry{showframe,margin=1in}% Just for this example
  \AtPageUpperLeft{\raisebox{-\height}{\color{red}Page upper left}}%
  \AtPageLowerLeft{\color{blue}Page lower left}%
  \AtPageCenter{\makebox[0pt]{\color{green}\Huge DRAFT}}%
  \AtTextUpperLeft{\raisebox{-\height}{\color{brown}Text upper left}}%
  \AtTextLowerLeft{\color{purple}Text lower left}%


  • Single compile;
  • Foreground and/or background placement;
  • Per-page or multiple pages


  • Absolute positioning requires one of the hooks as a starting point (very minor drawback)

Using the location-hooks as a starting point, one can position content across the page.

The starred [unstarred] versions add content to the current page only [every page from then onward].

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.