Text Formattingbook | Title not showing up

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
latexLatex
Posts: 2
Joined: Sun Jan 08, 2012 9:11 pm

book | Title not showing up

Post by latexLatex »

Hello all, I am new to latex. In my main file I am using the code:

Code: Select all

\documentclass{book}

\includeonly{part_1,part_2,part_3,part_4}

\begin{document}
\title{myTitle} 
\author{myName}
\include{part_1}
\include{part_2}
\include{part_3}
\include{part_4}
\end{document}
part_1.tex, part_2.tex, part_3.tex, and part_4.tex all show up, however the title and author do not show up on the document. Does anyone know how to resolve this issue? Thank you
Last edited by Stefan Kottwitz on Sun Jan 08, 2012 10:17 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: book | Title not showing up

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Just use \maketitle before you include the files.

Stefan
LaTeX.org admin
latexLatex
Posts: 2
Joined: Sun Jan 08, 2012 9:11 pm

Re: book | Title not showing up

Post by latexLatex »

thank you very much for the response :) That fixed my problem
Post Reply