Text Formattingformatting titlepage

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

formatting titlepage

Post by sgp »

Hi all,
I started writing title page for my thesis. When i use \usepackage{fullpage} which i require for other pages, the titlepage looks a bit ugly. is there a way to prevent full page for titlepage and make it work for all other pages. Also one more doubt, i want to write only preface in one page and that too in the center of the page, and rest of the page left empty. is there a way to do this.
Last edited by sgp on Sat Jul 31, 2010 1:55 pm, edited 1 time 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.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

formatting titlepage

Post by localghost »

sgp wrote:[...] When i use \usepackage{fullpage} which i require for other pages, the titlepage looks a bit ugly. is there a way to prevent full page for titlepage and make it work for all other pages. [...]
The fullpage package is not recommendable. The geometry package offers structures for easy page setup and its modification within a document. Just refer to its manual.
sgp wrote:[...] Also one more doubt, i want to write only preface in one page and that too in the center of the page, and rest of the page left empty. is there a way to do this.
Depending on the used document class, an adapted abstract environment should do.


Best regards
Thorsten
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Re: formatting titlepage

Post by sgp »

hi thorsten,

thanks for the reply. using \begin{abstract} ... \end{abstract} works fine. but its producing a heading named abstract, can you tell me how to remove it.

thanks in advance,
regards,
sgp.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: formatting titlepage

Post by Stefan Kottwitz »

Hi sgp,

if you would tell us your document class we could show how to change it. The abstract environment is implemented by the class.

Stefan
LaTeX.org admin
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Re: formatting titlepage

Post by sgp »

hi stefan,

i am using \documentclass{report}.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

formatting titlepage

Post by Stefan Kottwitz »

In that case and if you don't use the twocolumn option you could use the quotation environment instead of abstract. \quotation is used internally, have a look if it gives the same output but without the heading.

Code: Select all

\begin{quotation}
  abstract text
\end{quotation}
Stefan
LaTeX.org admin
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Re: formatting titlepage

Post by sgp »

@stefan. that solves the problem, but the justification is different. what could be the reason.

regards,
sgp.
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Re: formatting titlepage

Post by sgp »

@stefan
i found out. i used \begin{quote}. it worked. thanks for the reply.

regards,
sgp.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

formatting titlepage

Post by Stefan Kottwitz »

Interesting, because report uses \quotation. Excerpt rom report.cls:

Code: Select all

\if@titlepage
  \newenvironment{abstract}{%
      \titlepage
      ...
     {\par\vfil\null\endtitlepage}
\else
  \newenvironment{abstract}{%
      \if@twocolumn
        \section*{\abstractname}%
      \else
        \small
        \begin{center}%
          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
        \end{center}%
        \quotation
      \fi}
      {\if@twocolumn\else\endquotation\fi}
\fi
But quote is fine as well of course.

Stefan
LaTeX.org admin
Post Reply