# 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?

Use \rhead{Eldila} with the fancyhdr package.
Depends on the document class or package. Here an example that uses scrpage2:
\documentclass{article}