TimmyChan / data-science-tech-resume-template

I was just trying to make a resume... I ended up with a LaTeX template too, might as well share
Creative Commons Attribution 4.0 International
59 stars 15 forks source link

Prevent header repeating on the next pages #6

Open iamtodor opened 2 years ago

iamtodor commented 2 years ago

Hello, I would like to ask whether it's possible to prevent repeating the header on the next pages? For instance, I don't want to have a header on the second and third pages. How it can be achievable?

nathanin commented 2 years ago

https://github.com/TimmyChan/data-science-tech-resume-template/issues/3#issuecomment-1081883546

Another thing you can do is make the changes described in the comment, then define another \fancypagestyle that's more subtle, e.g.

\fancypagestyle{nextpage}{
\fancyhf{}
\lhead{%
    {\Large \name \vspace{0em}} % feel free to adjust vspace to 0 
    % {\color{highlight} \Large{\role}}
}%
\rhead{
    \href{https://github.com/\github}{github.com/\github} \\% Github
    \href{https://www.linkedin.com/in/\LinkedIn}{linkedin.com/in/\LinkedIn}
} % LinkedIn

then set

\pagestyle{nextpage} (I feel like this line sets the "default" page style, though I'm not sure exactly what's going on behind the scenes)

iamtodor commented 2 years ago

@nathanin the way from @l-gorman does not work for me. if you have a long experience, that continues from the first to the second page, then the style would just brake

iamtodor commented 1 year ago

@TimmyChan could you please take a look?

iamtodor commented 1 year ago

Hi @TimmyChan

I've got the email, with the update that there was an intention to take a look at the issue.

image
iamtodor commented 1 year ago

@TimmyChan could you please take a look and update us accordingly?

qaixerabbas commented 11 months ago

Hello @iamtodor. I was having same issues. By just adding following lines before the start of content of second page I was able to remove the header on second page. Then used vspace to remove the whitespace that was created due to removal of header on second page.

\newpage
\vspace*{-\baselineskip}
\thispagestyle{empty}
\vspace{-60px}