在点 1.1 相关性上,它大于 1 英寸.....
\listfiles
%\documentclass[12pt]{IEEEtran}
%\documentclass[12pt,reqno]{thesis}
\documentclass[12pt,reqno]{siugrad51}
%\documentclass[14pt,reqno]{article}
\usepackage[margin=1in]{geometry}
\geometry{top=1in,left=1in,bottom=1in,right=1in}
%\pagestyle{empty}
\linespread{2}
%\usepackage{blindtext}
\setlength{\parindent}{3em}
\setlength{\parskip}{1em}
\raggedbottom
\usepackage[titles]{tocloft}
\setlength{\cftbeforechapskip}{3pt}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{makecell}
%\usepackage{titletoc}
\usepackage{appendix}
%\usepackage[nottoc]{tocbibind}
%\DontPrintSemicolon
%`{\nomname}{LIST OF ABBREVIATIONS}
%\makenomenclature
\graphicspath{{images/}}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png,.PNG, .eps, .tiff}
%\urlstyle{same}
\setcounter{secnumdepth}{7}
%\setcounter{tocdepth}{7}
\usepackage[document]{ragged2e}
\usepackage[bookmarks=false]{hyperref}
\usepackage{titlesec}
\usepackage[titletoc,title]{appendix}
\usepackage{titletoc}
\usepackage[nottoc]{tocbibind}
\setcounter{secnumdepth}{7}
\setcounter{tocdepth}{7}
\titlecontents{chapter}[0em]{\medskip}
{\MakeUppercase{\chaptername}\enspace \thecontentslabel.\enspace}
{}
{\titlerule*[1pc]{.}\titlerule*[1pc]{.}\contentspage}
%------------------------------------------------------
\begin{document}
%\pagestyle{myheadings} \markright{\today}
%\pagenumbering{alph}
\pagenumbering{roman}
\setcounter{page}{-2}
%\input Title
%---------------------------------------------------------
% Continue with the front-matter pages in the following
% order: Copyright (opt.), Thesis/Dissertation Approval
% Page, Abstract (required for theses and dissertations),
% Dedication (opt.) Acknowledgments (opt.),
% Preface/Foreword (opt.), Table of Contents,
% List of Tables (if any), List of Figures (if any).
%---------------------------------------------------------
%% Comment out any of the commands below to eliminate
%% whichever page you won't need in your paper.
\addtocontents{toc}{\vspace{-0.45in} \underline{CHAPTER} ~\hfill \underline{PAGE}\par}
%\addtocontents{toc}{{CHAPTER}{PAGE}\par}
\renewcommand\listfigurename{LIST OF FIGURES}
\renewcommand\listtablename{LIST OF TABLES}
\addtocontents{lot}{\vspace{-0.45in} \underline{TABLE} ~\hfill \underline{PAGE}\par}
\addtocontents{lof}{\vspace{-0.45in} \underline{FIGURE} ~\hfill \underline{PAGE}\par}
%\listoftables % comment out if no tables
\renewcommand{\numberline}[1]{#1~}
\tableofcontents
{%
% \let\oldnumberline\numberline% <<<<<<<<<<<<<<<<
% \renewcommand{\numberline}{\tablename~\oldnumberline}%<<<<<<<<<<<<<<<<
\listoftables%
}
{%
% \let\oldnumberline\numberline% <<<<<<<<<<<<<<<<<<<<
% \renewcommand{\numberline}{\figurename~\oldnumberline}%<<<<<<<<<<<<<<<<
\listoffigures%
}
%---------------------------------------------------------
% Set page numbers to arabic (1,2,...), and include
% the paper sections in the following order: Introduction
% (if any), Chapters, Bibliography (references), and Vita.
%---------------------------------------------------------
\newpage
\pagenumbering{arabic}
\setcounter{page}{1}
%\raggedright
\parindent=.35in
%---------------------------------------------------------------------------------------------------------------%
%------------------------------------------------SECTION------------------------------------------------%
%---------------------------------------------------------------------------------------------------------------%
\chapter{Introduction}
\begin{table}[htb]
\begin{center}
\caption{Correlation Coefficients of the Compared Frameworks in Terms of the Success Rate } % title of Table
\label{table:correlation1} % is used to refer this table in the text
{\footnotesize
}
\end{center}
\end{table}
\end{document}
答案1
我修正了前导码设置以避免规格冲突。
为了清楚起见,我删除了 MWE 中已经注释的行并标记了修改过的行。
最后我把错误改成\vspace{...}
了\hspace{...}
% !TeX TS-program = pdflatex
\listfiles
\documentclass[12pt,reqno]{siugrad51}
\usepackage[margin=1in]{geometry}
\geometry{top=1in,left=1in,bottom=1in,right=1in}
\linespread{2}
%\setlength{\parindent}{3em} % commented
\setlength{\parskip}{1em}
\raggedbottom
%\usepackage[titles]{tocloft} % commented
%\setlength{\cftbeforechapskip}{3pt} % commented
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{makecell}
\usepackage{appendix}
\graphicspath{{images/}}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png,.PNG, .eps, .tiff}
\setcounter{secnumdepth}{7}
\usepackage{ragged2e} % changed
\usepackage[bookmarks=false]{hyperref}
\usepackage{titlesec}
%\usepackage[titletoc,title]{appendix} % commented
\usepackage{titletoc}
\usepackage[nottoc]{tocbibind}
\setcounter{secnumdepth}{7}
\setcounter{tocdepth}{7}
\titlecontents{chapter}[0em]{\medskip}
{\MakeUppercase{\chaptername}\enspace \thecontentslabel.\enspace}
{}
{\titlerule*[1pc]{.}\titlerule*[1pc]{.}\contentspage}
%------------------------------------------------------
\begin{document}
\pagenumbering{roman}
\setcounter{page}{-2}
%\input Title
%---------------------------------------------------------
% Continue with the front-matter pages in the following
% order: Copyright (opt.), Thesis/Dissertation Approval
% Page, Abstract (required for theses and dissertations),
% Dedication (opt.) Acknowledgments (opt.),
% Preface/Foreword (opt.), Table of Contents,
% List of Tables (if any), List of Figures (if any).
%---------------------------------------------------------
%% Comment out any of the commands below to eliminate
%% whichever page you won't need in your paper.
\addtocontents{toc}{\hspace{-2.5em}{CHAPTER} ~\hfill \underline{PAGE}\par} % <<<<<<<<<<<<<<<<< changed to hspace
\renewcommand\listfigurename{LIST OF FIGURES}
\renewcommand\listtablename{LIST OF TABLES}
\addtocontents{lot}{\hspace{-2.5em}\underline{TABLE} ~\hfill \underline{PAGE}\par}% <<<<<<<<<<<<<<<<< changed to hspace
\addtocontents{lof}{\hspace{-2.5em}\underline{FIGURE} ~\hfill \underline{PAGE}\par}% <<<<<<<<<<<<<<<< changed to hspace
%\listoftables % comment out if no tables
\tableofcontents
\listoftables%
\listoffigures%
%---------------------------------------------------------
% Set page numbers to arabic (1,2,...), and include
% the paper sections in the following order: Introduction
% (if any), Chapters, Bibliography (references), and Vita.
%---------------------------------------------------------
\newpage
\pagenumbering{arabic}
\setcounter{page}{1}
%\raggedright
\parindent=.35in
%---------------------------------------------------------------------------------------------------------------%
%------------------------------------------------SECTION------------------------------------------------%
%---------------------------------------------------------------------------------------------------------------%
\chapter{Introduction}
\begin{table}[htb]
\begin{center}
\caption{Correlation Coefficients of the Compared Frameworks in Terms of the Success Rate } % title of Table
\label{table:correlation1} % is used to refer this table in the text
{\footnotesize
}
\end{center}
\end{table}
\end{document}