Code: Select all
\documentclass[12pt,letterpaper,twoside]{article}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage{textcomp}\usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry}\usepackage{setspace}\setstretch{1.0}\raggedbottom\usepackage{graphicx}\usepackage[pagestyles,medium]{titlesec}\newpagestyle{principal}{\sethead[\thepage][][\itshape\footnotesize\MakeUppercase{\thesection. \sectiontitle}]{\itshape\footnotesize\MakeUppercase{\thesection\ \sectiontitle}}{}{\thepage}\headrule}\begin{document}\begin{titlepage}\includegraphics[height=0.76666in]{logo.jpg}\title{\flushleft{\textbf{\textsf{Title of the document}}}}\maketitle\date{Winter 2015}Test\end{titlepage}\newpage\pagestyle{principal}\section{Titre de section}Test\newpageTest...\end{document}
Use the logo below (any picture will do for this example) : The logo appears at the right place on the page, but the title is on a second page. How can I make it appearing on the same page as the logo ?
I tried using the package fancyhdr, but then the header is all messed up for the rest of the document. I don't think I really need that package anyway.