Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
How to insert an image in the front cover of a report?

I want to insert a .eps figure on the title page of a report. This figure has to be placed after date and then some text below this figure. But I get only title, author, date on the title page. The figure and some text below it comes in next page. Could someone help me to make this figure and text also come on the title page after the date.

Below is the code I used.

\documentclass [11pt,a4paper,twoside] {report}
\usepackage[T1]{fontenc}
\usepackage[demo]{graphicx}
\usepackage{titling}
\setlength{\droptitle}{-30em}

\begin{document}
\title{LEARNING LATEX}
\author{rakesh}
\date{\today} 
\maketitle

\begin{figure}[h]
\centering
\includegraphics [scale=1, width=2cm,height=2cm] {logo.eps}
\end{figure} 

\begin{center}
dummy text1\\ dummy text2, text3.
\end{center}

\end{document}
share|improve this question
add comment

marked as duplicate by lockstep, Werner, Mico, percusse, Marco Daniel Aug 4 '12 at 23:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 1 down vote accepted

The contents issued in \date is stored in \@date and could technically be used to do or include whatever. Here's a quick example where you box the \date content into something like \mydate, which now includes the date \today, a figure and some extra text, all bundled into a tabular:

enter image description here

\documentclass [11pt,a4paper,twoside] {report}
%\usepackage[T1]{fontenc}% http://ctan.org/pkg/fontenc
%\usepackage{graphicx}% http://ctan.org/pkg/graphicx

\begin{document}
\title{LEARNING LATEX}
\author{rakesh}
\newsavebox{\mydate}
\begin{lrbox}{\mydate}
\begin{tabular}{c}
  \today \\[2cm]
  \rule{2cm}{2cm} \\[1cm]
  dummy text1 \\ dummy text2, text3.
\end{tabular}
\end{lrbox}
\date{\usebox\mydate}
\maketitle

Here is some text on the following page.
\end{document}

Vertical adjustment between the date and the other "date" content is done using the tabular \\[<len>] spacing.

share|improve this answer
    
what is this \rule ? and how do i call my logo.eps here ? –  rakesh Jul 31 '12 at 21:40
    
@rakesh: Since I don't have your image (logo.eps), I used a rectangular box (2cm x 2cm) to replace it. You can use \includegraphics[width=2cm,height=2cm]{logo.eps} in place of my \rule{2cm}{2cm} and it should work as expected. –  Werner Jul 31 '12 at 21:44
    
its working man.. thanks a lot werner.. –  rakesh Jul 31 '12 at 21:51
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.