GeneralProblem with Title page Using Report Class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
cda
Posts: 4
Joined: Thu Feb 14, 2008 2:00 pm

Problem with Title page Using Report Class

Post by cda »

For some reason Latex is creating a blank page after my title page and this blank page includes the headers and page numbering. Does anybody know how can I remove this blank page or at least remove the header and page number to make it completely blank.

I have tried to use the \thispagestyle{empty} command but nothing happens.

At the same time I am trying to include several authors in my title page using \and in between author names but as soon as I add more than one author latex automatically moves my title page to the second page of the report and leaves the first page completely blank. To make things even worse, the title page now appears with headers and page numbers and the \thispagestyle{empty} does not work either.

Could someone please help me to get rid of these two problems?

I'm including an example of my code below:

Thank you very much in advance.

Code: Select all

 
begin{document}

\title{Technical Report\\Project Name\\ 
  \textcolor{blue}{Project Name 2}\\[4 cm]
\normalsize Prepared for:\\[0.30 cm]
\large Client Name\\[1 cm]
\large (Version 1.0 - DRAFT)\\[3 cm]}
\author{Myself \ and Second Author\\My Company}
\date{February 11, 2008}
\maketitle

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Problem with Title page Using Report Class

Post by gmedina »

Without relevant parts of your preamble is difficult to provide effective help. Please post a minimal working example showing the undesired behaviour.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
cda
Posts: 4
Joined: Thu Feb 14, 2008 2:00 pm

Problem with Title page Using Report Class

Post by cda »

Minimum Working Example Attached!!

Thanks.

Code: Select all

\documentclass[fleqn,12 pt,titlepage,fancyhdr]{article}
\usepackage{color}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{} % clear all fields
\fancyhead[RO,LE]{\slshape \rightmark}
\cfoot{\sffamily{\textcolor{blue}{Company Confidential}}}
\rfoot{\thepage}
\renewcommand{\footrulewidth}{0.4 pt}


%********** Footnotes **********
\renewcommand{\footnoterule}{\rule{5cm}{0.2mm} \vspace{0.3cm}} %increases the distance of footnotes from the text
%\deffootnote[1em]{1em}{1em}{\textsuperscript{\normalfont\thefootnotemark}} %some moe formattion on footnotes
%*******************************

\addtolength{\skip\footins}{3mm}
\addtolength{\textwidth}{1.5cm}

\pagenumbering{Roman} % To number the preface pages in Roman Capital Numbers

\begin{document}
\title{Simulation of Combustion Tube \\Experiments using Product Name\\ 
  \textcolor{blue}{The 2008 Company1-Company2 Benchmark}\\[4 cm]
\normalsize Prepared for:\\[0.30 cm]
\large CLIENT\\[1 cm]
\large (Version 1.0 - DRAFT)\\[3 cm]}
\author{Engineering Group\\
Address line 11\\
Address line 12\\
Address line 13
\and
Project Advisors:\\
Address line 21\\
%Address line 22\\
Address line 23}
\date{February 11, 2008}
\maketitle

\end{document}

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Problem with Title page Using Report Class

Post by gmedina »

A simplified version of your code (I supressed some options and commands that were not relevant), with some modifications:

Code: Select all

\documentclass[12pt,twoside]{article}
\usepackage[textwidth=16cm]{geometry}
\usepackage{xcolor}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{} 
\fancyhead[RO,LE]{\slshape \rightmark}
\cfoot{\sffamily{\textcolor{blue}{Company Confidential}}}
\rfoot{\thepage}
\renewcommand{\footrulewidth}{0.4 pt}
\setlength{\headheight}{16pt}
\usepackage{blindtext}

\title{Simulation of Combustion Tube \\Experiments using Product Name\\ 
  \textcolor{blue}{The 2008 Company1-Company2 Benchmark}\\[4 cm]
  \normalsize Prepared for:\\[0.30 cm]
  \large CLIENT\\[1 cm]
  (Version 1.0 - DRAFT)\\[3 cm] }

\author{Engineering Group\\
  Address line 11\\
  Address line 12\\
  Address line 13
  \and
  Project Advisors:\\
  Address line 21\\
  Address line 22\\
  Address line 23}

\date{February 11, 2008}

\begin{document}

\pagenumbering{Roman} 

\maketitle
\thispagestyle{empty}
\clearpage

\Blindtext

\end{document}
Remarks: 1) In your case, you do not really need the titlepage option.
2) If you are using the RO,LE modifiers of fancyhdr, then you must use the twoside option.
3) Make all the modifications to the page layout using the geometry package.
4) Make those modifications before defining the headers and footers; better yet, before loading the fancyhdr package, so this package can be aware of those modifications.
5) I would suggest you to use the xcolor package instead of color.
6) The blindtext package was loaded only to automatically generate some text.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply