LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [Latex] Insert image before titlepage (https://www.linuxquestions.org/questions/linux-software-2/%5Blatex%5D-insert-image-before-titlepage-457534/)

chief_officer 06-23-2006 07:10 AM

[Latex] Insert image before titlepage
 
Friends,

Is it some way to insert an image before the title page? With title page I mean the page which has document title, author name, date etc...

Regards,

Tinkster 06-24-2006 04:01 PM

Not really by means of LaTeX itself - not if you don't modify the .sty you're
using as a basis.

Or you could look at
http://tug.ctan.org/cgi-bin/ctanPack...y?id=coverpage



Cheers,
Tink

chief_officer 06-25-2006 05:06 AM

Dear Tinkster,

Thank you very much for your invaluable reply. I did exactly what I'm told in the document [coverpage.pdf; such as installing by latex CoverPage.ins] but I receive a "File: `CoverPage.sty' not found" error.

The CoverPage.sty and CoverPage.cfg files are under /usr/share/texmf/tex/latex/CoverPage and /usr/share/texmf/tex/latex/base directory.

These directories are read by latex, but I don't know what I am doing wrong.

Regards,

spirit receiver 06-25-2006 05:33 AM

Try running texhash (as root) first.

chief_officer 06-25-2006 12:54 PM

[SOLVED][Latex] Insert image before titlepage
 
Friends,

Thank you once again for your kind attention.

@spirit receiver: texhash did the trick.

I have solved my initial problem as follows:

Code:

\begin{document}

Following 4 lines put a figure on the first page, the cover page:

\begin{figure}             
\centering
\includegraphics{logo.png} 
\end{figure}

Following 7 lines put the author, title and date on the second page. If you do not put the \author,
\title and \date commands in tabular environment, then you will have a graphics at the top of the page and author,
title and date fields at the bottom. They will be displayed in the same page!


\begin{center}
\begin{tabular}{c}
\author{Myself}
\title{Some title}
\date{2006-05-30}
\end{tabular}
\end{center}

From thereon, it is the usual stuff:

\maketitle
\tableofcontents
\pagebreak



All times are GMT -5. The time now is 02:56 PM.