我想添加一个简单的数字到我的乳胶代码。我有这样的代码:文本在数字乳胶
\begin{figure}[H]
\resizebox{40pt}{!}{
\centering \includegraphics{FigureStereo.jpg}}
\caption{Epipolar Geometry}
\label{fig:cclogo}
\end{figure}
与此然而短信来对图像的顶部,也图像不居中。我做错了什么?希望这不是一个重复的问题,因为我做了相关帖子的快速检查。 编辑 这里是序言
\documentclass[draftthesis,tocnosub,noragright,centerchapter,12pt,]{uiucecethesis09}
\makeatletter
\usepackage{setspace}
\usepackage{epsfig} % for figures
\usepackage{graphicx} % another package that works for figures
%\usepackage{subfigure} % for subfigures
\usepackage{amsmath} % for math spacing
%\usepackage{amssymb} % for math spacing
%\usepackage{url} % Hyphenation of URLs.
\usepackage{lscape} % Useful for wide tables or figures.
\usepackage[justification=raggedright]{caption} % makes captions ragged right - thanks to Bryce Lobdell
\usepackage{float}
\usepackage{wrapfig}
% Uncomment the appropriate one of the following four lines:
\msthesis
%\phdthesis
%\otherdoctorate[abbrev]{Title of Degree}
%\othermasters[abbrev]{Title of Degree}
\title{}
\author{}
\department{}
\degreeyear{}
% Advisor name is required for
% - doctoral students for the ProQuest abstract
% - master's students who do not have a master's committee
\advisor{}
% Uncomment the \committee command for
% - all doctoral students
% - master's students who have a master's committee
%\committee{Professor Firstname Lastname, Chair\\
% Professor Firstname Lastname} % etc.
@ walkytalky - 尝试完全按照你的说法,但它仍然有文字在图像上,而不是中心。 – Manish 2011-06-01 21:16:20
@Manish如果你跳过'resizebox'并且只是'\ includegraphics [width = 40pt] {FigureStereo.jpg}',会发生什么? – walkytalky 2011-06-01 22:24:21
@walkytalky: - 没有.tried that ..doesnt help。文字仍然出现在图上。 – Manish 2011-06-01 22:35:34