我想添加一個簡單的數字到我的乳膠代碼。我有這樣的代碼:文本在數字乳膠
\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