I have the following code (template taken from Overleaf.com for Projects/Lab Projects)



% If using on writelatex, you also need to set the document title in the document settings 
%(the cog button) because  they use the \title contents not the actual document title 

\def\papertitle{ ENTER }


\newcommand{\ans}[1]{\\ \hspace*{\fill}\framebox {#1} }

%Uncomment the line above to remove answers.





 \fancyhead[R]{\raisebox{-0.8cm}{ \includegraphics[height=2cm]{ENTER}}}



Basically it produces me with a title page with some text in the corner and a logo on the right hand side. I am wondering is there a way to only have this text and logo on the first page? Or to at least replace the logo on subsequent pages with some text? I took this code from Overleaf.com so I do not completely understand all of its functionality.

Many thanks!


The template you're using is this one: https://www.overleaf.com/latex/templates/sps-computing-template/gsxvykcjvpyn.

First of all, you have to open the file pagesettings.tex (click on the button "PROJECT" on Overleaf to show that file) and comment the line


After that, in main.tex, delete the line


and add


just after


and you're done.

This is the output from Overleaf:

enter image description hereenter image description here

  • Thanks! I played about with it some more and by putting \fancyhead[R]{} within the \newpage commands and in subsequent sections this also fixes it. – CAF Jul 21 '15 at 15:03
  • @CAF You're welcome. Remember that you can accept the answer, since it lead you to the solution you wanted (if you want). – karlkoeller Jul 24 '15 at 19:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.