Code: Select all
\documentclass[11pt]{article}
\usepackage{fancyhdr}
\fancyhf{} % clear all header and footers
\renewcommand{\headrulewidth}{0pt} % remove the header rule
\rhead{\thepage}
\setcounter{page}{2}
\pagenumbering{arabic}
\pagestyle{fancy}
Code: Select all
\documentclass[11pt]{article}
\usepackage{fancyhdr}
\fancyhf{} % clear all header and footers
\renewcommand{\headrulewidth}{0pt} % remove the header rule
\rhead{\thepage}
\setcounter{page}{2}
\pagenumbering{arabic}
\pagestyle{fancy}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
\thispagestyle
many times, would be usingCode: Select all
\fancypagestyle{plain}{\pagestyle{fancy}}
Code: Select all
\makeatletter
\let\ps@plain\ps@fancy
\makeatother
Code: Select all
\fancypagestyle{plain}{\pagestyle{myheadings}}
Code: Select all
\pagestyle{myheadings}
Code: Select all
\thispagestyle{myheadings}
Code: Select all
\thispagestyle{myheadings}
Doesn't need to be all your code. In fact very much better and very helpful to give you precise advice would be aCJFugate wrote:Sorry, I'm really bad at describing my problem on a forum without dumbing all of my code on there.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p