# Text in the top-right margin on every page

I am trying to put my name in the top-right margin on every page. How could I do this?

-
add comment

## 2 Answers

Use \rhead{Eldila} with the fancyhdr package.

-
add comment

Depends on the document class or package. Here an example that uses scrpage2:

\documentclass{article}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\ohead{abc}
\begin{document}
\null
\end{document}

-
add comment