
Gostaria de fazer uma frontpage em LaTeX como a que fiz no OpenOffice (anexo), ou seja, deveria ter um cabeçalho para o título da universidade, título da tese e espaço para uma pequena foto no canto superior direito. Posso ver alguns exemplos de como conseguir isso com mais facilidade?
A imagem anexa mostra apenas a metade superior da primeira página, o restante está em branco.
Responder1
Use o pacote fancyhdr
. O exemplo mínimo está abaixo.
\documentclass{article}
\usepackage{fancyhdr}
\usepackage{graphicx}
\renewcommand{\headrulewidth}{0pt} % this is the line thickness under the header - 0pt for no line
\renewcommand{\footrulewidth}{0pt} % and above the footer
\pagestyle{fancy} % to apply your fancy header and footer
\lhead{University of X\\ {\small Faculty of X}}
\rhead{\includegraphics[height=35pt,keepaspectratio]{noimage}}
\setlength\headheight{40pt} % you might want to modify this number so it does not show overfull boxes, if you have bigger image or more text in the header
\begin{document}
\section*{This is the title of the thesis}
\subsection*{A study on how to make front pages with \LaTeX}
\end{document}
Você vai ter: