
Я хотел бы сделать титульную страницу в LaTeX, как ту, что я сделал в OpenOffice (прилагается), т.е. там должен быть заголовок для названия университета, название диссертации и место для небольшой картинки в правом верхнем углу. Могу ли я увидеть несколько примеров того, как сделать это проще всего?
На прикрепленном изображении показана только верхняя половина первой страницы, остальная часть пуста.
решение1
Используйте пакет fancyhdr
. Минимальный пример ниже.
\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}
Ты получишь: