In resume class, when the file is created in the header is a long horizontal line.
And this line appears on every page. How can I format the header to have the line only on the first page, but not on the next?
Here is an example:
And the code for this example:
\documentclass[margin,line,a4paper]{resume}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[pdftex]{color,graphicx}
\usepackage{graphicx,wrapfig}
\usepackage{url}
\usepackage[colorlinks=true, a4paper=true, pdfstartview=FitV,
linkcolor=blue, citecolor=blue, urlcolor=blue]{hyperref}
\pdfcompresslevel=9
\usepackage{fancyhdr}
\pagestyle{fancy}
\begin{document}
I want this upper line
\section{\mysidestyle Section}\vspace{1mm}
\begin{description}
\item This is the first page. And the above line is ok.
\end{description}
\newpage
This is the next page. I don't want this line.
\end{document}
Best Answer
Use
in your preamble. The
plain
style is set as the default page style, while\thispagestyle{fancy}
(which includes the header) is set only for the first page.In the example,
fancy
andplain
are very similar. If they are not and you only want to remove the header rule, then you can add the following as part of your document starting on page two: