Text FormattingText and Image Placement on Title Page

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
sabahmed
Posts: 36
Joined: Thu Aug 04, 2011 8:55 pm

Text and Image Placement on Title Page

Post by sabahmed »

Code: Select all

\begin{center}
My Research Title
\newline\newline\newline
\begin{figure}[htb]
\centering
\includegraphics[scale=0.75]{mcslogo.png}
\end{figure}
\newline
by  \newline
MyName\newline\newline\newline\newline\newline
\begin{center}
Thesis report submitted to XXX
\newline\newline
October 2011
\end{center}
i have to form a title page of my report. i want all the txt and logo on this page to be in center of page. i have use

Code: Select all

\newline
to add empty spaces between text or logo.The problem is that as i insert logo the text just after it i.e. name it alignment is disturbed;its not in center. but as i remove

Code: Select all

\newline
every thing comes in center but then i cant get the spaces (or empty lines) between text and logo.
need help :(
Last edited by sabahmed on Mon Oct 10, 2011 8:41 am, 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.

Frits
Posts: 169
Joined: Wed Feb 02, 2011 6:02 pm

Re: Text and Image Placement on Title Page

Post by Frits »

Instead of \newline you can try \vspace{...}, in which "..." needs to be replaced by a measure for the amount of whitespace you want, e.g. \vspace{10mm} or \vspace{5px}.
howtoTeX.com - Your LaTeX resource site (Tips, Tricks, Templates and more!)
Follow howtoTeX on twitter
sabahmed
Posts: 36
Joined: Thu Aug 04, 2011 8:55 pm

Re: Text and Image Placement on Title Page

Post by sabahmed »

thnx problem solved :)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Text and Image Placement on Title Page

Post by localghost »

Just for the record. On your title page you don't need a float environment for your image. So just drop it. Finally you don't want the logo to float.


Thorsten
Post Reply