Code: Select all
\renewcommand\cftaftertoctitle
Code: Select all
\documentclass[a4paper,12pt,twoside,openright]{report}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1.25in,rmargin=1in}
\usepackage{authblk,lineno,url,sectsty}
\usepackage[dvipsnames]{xcolor}
\usepackage{lipsum}
\usepackage{emptypage}
\renewcommand{\bibname}{References}
\usepackage{array,float,multirow,graphicx,setspace,cite,url,titlesec,tocloft}
\usepackage{datetime}
\usepackage{amsmath,amsfonts,mathtools,notoccite}
\usepackage{chngcntr,pdflscape,enumitem,algorithm,algorithmic, subcaption}
\usepackage{bm}
\usepackage[colorlinks=true, urlcolor=cyan, citecolor=blue]{hyperref}
\usepackage{cleveref}
\usepackage[acronym,nogroupskip,style=long3col]{glossaries}
\makenoidxglossaries
\setacronymstyle{long-sc-short}
%%%%%%% Header-Footer %%%%%%%%%%%%%%%
\usepackage{fancyhdr}\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE]{\rightmark}
\fancyhead[RO]{\leftmark}
\fancyfoot[C]{\thepage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\numberwithin{equation}{section}
\linespread{1.3}
\titleformat{\chapter}[display]
{\normalfont \huge \filleft \bfseries}{\chaptertitlename\ \thechapter}{8pt}{\LARGE}
\titlespacing*{\chapter}{0pt}{0pt}{10pt}
\renewcommand\cftaftertoctitle{\par\noindent\rule{\textwidth}{2pt}\par\vskip-3.0em}
\renewcommand\cftafterloftitle{\par\noindent\rule{\textwidth}{2pt}\par\vskip-3.0em}
\renewcommand\cftafterlottitle{\par\noindent\rule{\textwidth}{2pt}\par\vskip-3.0em}
\newdateformat{monthyeardate}{\monthname[\THEMONTH], \THEYEAR}
\newacronym{cad}{CAD}{Computer-Aided Diagnosis}
\newacronym{dl}{DL}{Deep Learning}
\newacronym{latex}{LaTeX}{I love LaTeX}
\begin{document}
\pagestyle{plain}
%%%%%%%%%%%%%%%%%%% Title page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagenumbering{roman}
\begin{center}
\vspace{10mm}
\Large {\textcolor{black}{\textbf{my thesis}}} \\
\vspace{10mm}
\large {\textbf{A Thesis}}\\
\vspace{3mm}
\normalsize {\textit{\textbf{Submitted in the partial fulfillment of the requirements} \\ \textit{\textbf{for the award of the degree of}}}} \\
\vspace{3mm}
\large {\textbf{\monthyeardate\today}}
\end{center}
\thispagestyle{empty}
\cleardoublepage % for the blank page
%%%%%%%%%%%%%%%%%%% Certificate page %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vspace{-2.5\baselineskip}
\begin{center}
{\bf\Large \underline{CANDIDATE'S DECLARATION}}\\
%\par
%\vspace{5mm}
\end{center}
\lipsum[2-4]
\addcontentsline{toc}{chapter}{Certificate}
\cleardoublepage
%%%%%%%%%%%%%%%%%%% Dedication page %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter*{}
\thispagestyle{empty}
\begin{center}
\vfill
{\Huge \textbf{Dedicated to \LaTeX} }
\vfill
\end{center}
\addcontentsline{toc}{chapter}{Dedication}
\cleardoublepage
%%%%%%%%%%%%%%%%%%% Acknowledgement page %%%%%%%%%%%%%%%%%%%%%%%%%%
\vspace{-6.0\baselineskip}
\textbf{\begin{flushright}
{\LARGE \textbf{ACKNOWLEDGMENTS}}
\end{flushright}}
\vspace{-0.5\baselineskip}
\noindent\rule{\linewidth}{2pt}
\lipsum[2-4]
\addcontentsline{toc}{chapter}{Acknowledgments}
\cleardoublepage
%%%%%%%%%%%%%%%%%%% Abstract page %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vspace{-4.0\baselineskip}
\textbf{\begin{flushright}
{\LARGE \textbf{ABSTRACT}}
\end{flushright}}
\vspace{-0.5\baselineskip}
\noindent\rule{\linewidth}{2pt}
\lipsum[2-4]
\addcontentsline{toc}{chapter}{Abstract}
\cleardoublepage
%%%%%%%%%%%%%%%%%%% Table of contents %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{flushright}
\tableofcontents
\end{flushright}
\cleardoublepage
%%%%%%%%%%%%%%%%%%% Table of figures %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{flushright}
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\end{flushright}
\cleardoublepage
%%%%%%%%%%%%%%%%%%% List of Tables %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{flushright}
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\end{flushright}
\cleardoublepage
%%%%%%%%%%%%%%%%%%% Table of acronyms %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\addcontentsline{toc}{chapter}{List of Acronyms}
\printnoidxglossary[type=\acronymtype,title={\huge List of Acronyms}]
\cleardoublepage
%-----
\pagestyle{fancy}
%----
%%%%%%%%%%%%%% Chapters 1 %%%%%%%%%%%%%%
\pagenumbering{arabic}
% \doublespacing
\chapter{Introduction}
\noindent\rule{\linewidth}{2pt}
\lipsum[2-4]
\section{Background and Motivation}
\gls{dl}, \gls{cad}, \cite{lamport94}. The domain of monitoring the Earth's physical, chemical, and biological systems from space is generally known as Earth Observation (EO)
\cleardoublepage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter-2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Methods}
\noindent\rule{\linewidth}{2pt}
\lipsum[2-10]
\section{Motivation}
\gls{latex} The domain of monitoring the Earth's physical, chemical, and biological systems from space is generally known as Earth Observation (EO)
\cleardoublepage
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \printacronyms
% \printnoidxglossary[type=\acronymtype,title={\huge List of Abbreviations},nonumberlist]
\addcontentsline{toc}{chapter}{References}
% \bibliography{}
\begin{thebibliography}{9}
\bibitem{texbook}
Donald E. Knuth (1986) \emph{The \TeX{} Book}, Addison-Wesley Professional.
\bibitem{lamport94}
Leslie Lamport (1994) \emph{\LaTeX: a document preparation system}, Addison
Wesley, Massachusetts, 2nd ed.
\end{thebibliography}
\end{document}
1. A horizontal rule appears below "**List of Acronyms**", just like it does for the **Table of Contents**.
2. Similarly, a horizontal rule appears below **References**.
Efforts: I have included the following line
Code: Select all
\printnoidxglossary[type=\acronymtype, title=\vspace{-1mm}{\vspace{0.7\baselineskip} \huge List of Acronyms \vspace{-0.3\baselineskip} \rule{\linewidth}{2pt}}]