Sign up ×
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.

Possible Duplicate:
Insert graphic at precise place on a page

I am trying to insert my name on the top right corner of the page but outside the top margin. How can I do that? Many thanks!

share|improve this question

marked as duplicate by Gonzalo Medina, Werner, lockstep, Caramdir, Stefan Kottwitz Nov 12 '11 at 21:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

The texpos package was designed for absolute positioning. – Peter Grill Oct 6 '11 at 18:52
@PeterGrill: it's textpos ;-) – Gonzalo Medina Oct 6 '11 at 18:53
Thanks for the package name! – gamahuri Oct 6 '11 at 19:43
Are you sure you don't actually just want a header using the fancyhdr package for example? You can position to the right using that. – Raphael Oct 7 '11 at 7:20

3 Answers 3

There's a number of packages allowing you to achieve what you desire; in the answer to this question there's a list of such packages: Insert graphic at precise place on a page . Another option, not listed in the linked answer is the background package:


\SetBgContents{The Author}
\SetBgPosition{current page.north east}

share|improve this answer

Using the textpos package:


My Name
share|improve this answer
Thank you so much! Worked like a charm! – gamahuri Oct 6 '11 at 19:42

You could also use TikZ with the overlay and remember picture options:



\begin{tikzpicture}[overlay, remember picture]
\path (current page.north east) ++(-1,-1) node[below left] {Peter S. Ilie};



The lipsum package is just for blind text, the above produces

enter image description here

share|improve this answer
This is, basically, exactly what the background package does ;-) – Gonzalo Medina Oct 6 '11 at 19:25
Now that you mention it, the current page.north east should have cought my eye :) Also, looking in the background manual: "Since the commands used to modify attributes of the background material depend on the \node construct offered by the TikZ package...", so yeah, theres a package for doing what I did manually. You live and learn! – Tom Bombadil Oct 6 '11 at 20:05

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