我正在尝试将页面顶部到目录、图片列表和表格列表的距离调整为与章节标题相同的距离。我正在写\documentclass{报告}
我可以按如下方式最小化章节标题空间,但不确定如何将其应用于我的 ToC、LoF 和 LoT,它们目前都从页面顶部向下近三分之一处开始。
任何建议都将不胜感激。谢谢!
\usepackage[paperheight=28cm,paperwidth=22cm,
tmargin=25.4mm,bmargin=25mm,lmargin=38.1mm,rmargin=25.4mm,heightrounded]{geometry}
\usepackage{graphicx,siunitx,pdflscape}
\usepackage{tocloft}
%Remove Chapter numbering
\setcounter{secnumdepth}{5}% Show down to subsubsection
\setlength{\cftchapindent}{-20pt}% Just some value...
\usepackage{xpatch}
\makeatletter
\xpatchcmd{\@chapter}{\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}}{%
\addcontentsline{toc}{chapter}{\protect\numberline{}#1}}{\typeout{Success}}{\typeout{Failed!}}
\makeatother
\usepackage{hyperref,amsmath,amssymb,graphicx,wasysym,paralist,textcomp}
\usepackage[round]{natbib}
\usepackage[english]{babel}
%Change the name of the TOC from Contents to Table of Contents
\addto\captionsenglish{
\renewcommand{\contentsname}
{Table of Contents}
}
\usepackage[babel]{csquotes}
\usepackage[nottoc,numbib]{tocbibind}
\usepackage{setspace}
\usepackage{blindtext}
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}
\usepackage{caption}
\usepackage{float}
\usepackage{etoolbox}
\AtBeginEnvironment{thebibliography}{\interlinepenalty=10000}
\usepackage{lineno}
\setcounter{tocdepth}{5}
\usepackage{indentfirst}
\usepackage[font=bf]{caption}
%format chapter heading distance from the top of the page
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titlespacing*{\chapter}{0pt}{-50pt}{40pt}
\begin{document}
\newpage
\tableofcontents
\newpage
\listoftables
\newpage
\listoffigures
\clearpage
\newpage \chapter*{ABSTRACT}
\phantomsection\addcontentsline{toc}{chapter}{ABSTRACT}
Some text here
\newpage
\chapter[CHAPTER 1: Introduction]{}
\section{Section}
\end{document}