I am using following commands for page number in the upper right corner 0.5
inch from the top and 1
inch from the right edge of the paper. How to update the below mentioned command to get that setting.
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyheadoffset{0cm}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhead[R]{\thepage}
\fancypagestyle{plain}{%
\fancyhf{}%
\fancyhead[R]{\thepage}%
}
eso-pic
andbackground
etc. Are you interested?