Short Premable :
Code: Select all
\documentclass[12pt,a4paper,dvipdfm]{report}
\usepackage[left=3.5cm,right=2.5cm,top=2.5cm]{geometry}
\setlength{\textheight}{780pt}
\usepackage[dvipdfm]{hyperref}
\usepackage{amssymb,latexsym,amsmath,mathrsfs,array,epsfig,tikz}
\usepackage{color,amstext,amsbsy,amsopn,amsthm,amscd,amsxtra,amsfonts,setspace}
\renewcommand{\thechapter}{\Roman{chapter}}
\renewcommand{\contentsname}{List of Contents}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\chead{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\numberwithin{figure}{section}
Code: Select all
\chapter{TEXT}
:
:
:
\section{Text}
:
:
\subsection{text}
:
:
\subsection{text}
:
:
\subsection{text}
:
:
\subsection{text}
:
:
\section{ HERE IS THE SECTION I HAVE PROBLEM WITH FIGURES}
\subsection{ In this subsection I add figures like this}
\noindent{These definitions illustrated by figure \ref{figure:1}, figure \ref{figure:2}, and figure \ref{figure:3}.}\newpage
\begin{figure}[!ht]
\centering
\begin{minipage}[b]{0.4\textwidth}
\label{figure:1}
\centering
\includegraphics {fi1.eps}
\caption{Non-simple graph}
\end{minipage}
\begin{minipage}[b]{0.4\textwidth}
\label{figure:2}
\centering
\includegraphics {fi2.eps}
\caption{Simple Graph}
\end{minipage}
\end{figure}
\begin{figure}[!ht]
\label{figure:3}
\centering
\includegraphics {fi3.eps}
\caption{Infinite Graph}
\end{figure}
THanks