Graphics, Figures & TablesLogo on the Front Page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Logo on the Front Page

Post by azizever83 »

Hi all,

I want to know how can I include the logo of the uni in the front page of my thesis. I tried some trick but they did not work .

Thanks

Recommended reading 2024:

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

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

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

Logo on the Front Page

Post by localghost »

azizever83 wrote:[…] I tried some trick but they did not work. […]
Then you can certainly show your efforts in form of a self-contained and minimal example.


Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Logo on the Front Page

Post by Stefan Kottwitz »

As Thorsten said, please provide more information...
azizever83 wrote:I tried some trick
What did you try, and why it's a trick? There are common ways. If you would tell us what you did, we possibly could tell you what was wrong.
azizever83 wrote:but they did not work
If something doesn't work, it would always be good if you would tell more details: error message and description for example.

So, I can just tell you, use the graphicx package and the command \includegraphics.

Stefan
LaTeX.org admin
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Logo on the Front Page

Post by azizever83 »

Hi,

I said a trick, because I found some pages say that there is no a specific way to do that :).

Anyway, here is my code below:

Code: Select all

\documentclass[12pt]{book}
\usepackage{arabtex}
\usepackage{utf8}
\usepackage{graphicx}
\usepackage{fancyhdr}

\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[R]{\includegraphics[scale=1]{UoWlogo.png}}
\pagestyle{plain}

\title{My Product Description}
\author{azizever83}
\date{}

\begin{document}
\maketitle
\thispagestyle{fancy}
\chapter*{Overview}
\end{document}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Logo on the Front Page

Post by Stefan Kottwitz »

You use the image inside a fancyhdr command. Does that mean that you would like to include the logo on every page, not only on the front page? If that is the case, i.e. if you would like to see the logo also on pages with an empty page style as well, you could redefine that style, such as

Code: Select all

\fancypagestyle{empty}{%
  \fancyhf{}% clear header and footer
  \fancyhead[R]{\includegraphics{UoWlogo}}% include the logo
}
Stefan
LaTeX.org admin
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Re: Logo on the Front Page

Post by azizever83 »

Hi Stefan,
I works fine, but it appears also in the appendixes. How can I hide it from the appendixes pages?
Thanks
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Logo on the Front Page

Post by Stefan Kottwitz »

For example by

Code: Select all

\fancypagestyle{empty}{%
  \fancyhf{}% clear header and footer
}
right before the appendix.

Stefan
LaTeX.org admin
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Logo on the Front Page

Post by azizever83 »

Hi Stefan,
I don't know how say thanks for you for the great effort that you provide for me and for the other members of this forum. '
\textbf{Thanks a lot}
Post Reply