In order to get quick and good answers you should always provide a
minimal example that is compilable out of the box for everybody. People are rarely motivated to do that themselves (unlike me in this case, but this is only an exception here).
What you are trying to achieve can be done much easier by the inclusion of some specialized packages.
- caption for customization of captions (including margins to make them not fill the complete text width)
- subcaption (from the caption bundle) for arrangement of sub-floats in float environments
It is absolutely not necessary to put a caption into a
{quote}
environment. And using the
\centering
command is preferable over the
{center}
environment to avoid unwanted vertical space.
Incorporated into a full example this looks like the below code.
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{caption}
\usepackage[font=footnotesize]{subcaption}
\usepackage{graphicx}
\usepackage{siunitx}
%% Setup for captions.
%% For details see package manual.
\captionsetup{
font=small, % Select font size
labelfont=bf, % Select appearance of label
margin=3em, % Margin, left and right
tableposition=top % Formatting for captions above tables
}
\begin{document}
\begin{figure}[!ht]
\begin{subfigure}[b]{0.45\linewidth}
\includegraphics[width=\linewidth]{s11_smith}
\caption{$\Gamma_{in}$}
\label{subfig-1:smith}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.45\linewidth}
\includegraphics[width=\linewidth]{sopt_smith}
\caption{$\Gamma_{opt}$}
\label{subfig-2:smith}
\end{subfigure}
\caption{$\Gamma_{in}$ and $\Gamma_{opt}$ of \SI{4e10}{\micro\m} transistor for different degeneration inductances}
\label{fig:smith}
\end{figure}
\end{document}
In order to make this compilable with PDFLaTeX, I have (manually) converted the EPS images to PDF by
epstopdf. Due to a possibly flawed bounding box the resulting PDF images had to be cropped by the
pdfcrop Perl script (see attachments).
The
siunitx package is not part of the solution. It has only been used to format the physical unit inside the caption.
For a deeper understanding of the involved packages, their purpose and their capabilities, please refer to the respective manuals.
Best regards and welcome to the board
Thorsten