I am using the following code to create List of Acronyms in my thesis. But the index and its description are overlapping. How to add suitable space between them?
\documentclass[12pt, a4paper, oneside]{CIITThesissV1}
\usepackage{placeins}
\usepackage{soul}
\usepackage{acro}
\usepackage{mfirstuc}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage{subdepth}
\usepackage{multirow}
\usepackage{framed}
\usepackage{sectsty}
\usepackage{graphicx}
\usepackage{graphics}
%\usepackage[table]{xcolor}
\usepackage{lscape}
\usepackage{amsfonts}
\usepackage{amstext}
\usepackage{amssymb}
\usepackage[english]{babel}
\usepackage{parskip}
\usepackage[export]{adjustbox}
\usepackage{pbox}
\usepackage{hhline}%%%
\usepackage{pdfpages}
\usepackage{rotating}
\usepackage{times}
\usepackage{epsfig}
\usepackage{booktabs}
\usepackage{float}
\usepackage{url}
\usepackage{nomencl}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{color, colortbl}
\usepackage{lipsum}
\usepackage{setspace}
\usepackage{afterpage}
\usepackage{pdflscape}
\usepackage{pstricks}
\usepackage{subfigure}
\usepackage{titlesec}
\usepackage{cases}
\usepackage[titles,subfigure]{tocloft}
\usepackage{apacite}
\usepackage{amsmath}
\usepackage[hypcap=false]{caption}
\usepackage{authblk}
\usepackage{rotating}
\usepackage{pifont}
\usepackage{url}
\usepackage{array}
\usepackage{enumitem}
\usepackage{bookmark}
\usepackage{arydshln}
\usepackage{booktabs}
%\usepackage[ruled,linesnumbered]{algorithm2e}
\usepackage{hyperref}
\usepackage{algorithm}
\usepackage{algpseudocode}
%\usepackage[noend]{algpseudocode}
\usepackage{longtable}
\usepackage[toc,page]{appendix}
\usepackage{matlab}
\usepackage{listings}
\lstset{breaklines=true}
\usepackage{lineno}
\usepackage[acronym]{glossaries}
\usepackage{titlesec}
\usepackage{tikz,pgfplots}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\acsetup{
index = false,
list-long-format = \makefirstuc ,
list-name={LIST OF ACRONYMS},
list-style = lof ,
list-heading = lof, %because I want the list with same style as LOF
extra-style = toc
}
\DeclareAcronym{DBSCAN}{
short = DBSCAN ,
long = Density-Based Spatial Clustering of Applications with Noise ,
short-plural ={s} ,
long-plural = {s},
class = general ,
short-format = \scshape ,
index = DBSCAN
}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titlespacing*{\chapter}{0pt}{0pt}{30pt}
\setlength\cftbeforechapskip{10pt}
\renewcommand\cftfigafterpnum{\vskip8pt\par}
\renewcommand\cfttabafterpnum{\vskip8pt\par}
\renewcommand\cftchapafterpnum{\vskip8pt}
\renewcommand\cftsecafterpnum{\vskip8pt}
\makeatletter
\pretocmd{\chapter}{\addtocontents{toc}{\protect\addvspace{15\p@}}}{}{}
\pretocmd{\section}{\addtocontents{toc}{\protect\addvspace{15\p@}}}{}{}
\makeatother
\makeatletter
\def\BState{\State\hskip-\ALG@thistlm}
\newenvironment{figurehere}{\def\@captype{figure}}{}
\makeatother
\renewcommand\cftchapfont{\textbf\normalfont}
\renewcommand\cftchappagefont{{\normalfont}}
\AtBeginDocument{\renewcommand\contentsname{TABLE OF CONTENTS}}
\AtBeginDocument{\renewcommand\contentsname{\leftline{LIST OF FIGURES}}}
\titleformat{\chapter}[display]
{\bfseries\Large}
{\vspace{0.005cm}\centering \Large\bfseries{Chapter \thechapter}}
{1ex}
{\bfseries\Large\centering}
\begin{document}
\pagestyle{fancy}
\fancyhf{}
\rhead{\textbf{\textit{Annex M1}}}
\lhead{}
\rfoot{ \thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancypagestyle{plain}{
\fancyhf{}
\fancyfoot[OR]{\thepage}
\fancyfoot[EL]{\thepage}
\renewcommand{\headrulewidth}{0pt}
}
\include{cover9_abstract} %please consider that I am writing some text here, and using \ac{DBSCAN} to include acronym
\renewcommand{\contentsname}{TABLE OF CONTENTS}
\tableofcontents
\include{tables}
\include{figures}
\addcontentsline{toc}{chapter}{List of Acronyms}
\setlength\cftparskip{-2pt}
\setlength\cftbeforechapskip{0pt}
\printacronyms[sort=true]
\clearpage
\end{document}
And I am using \ac{DBSCAN} for example in Abstract.
The list is printing fine, but I dont know how to adjust the space between acronym index and its description. It is giving me the following ouput.
Also, I want to underline LIST OF ACRONYMS heading using \textwidth.
Kindly help.


\DeclareAcronymcommand in your preamble. Lastly, the documentclass is also missing. – leandriis Dec 27 '19 at 09:58\acsetupand\DeclareAcronymare commands fro theacropackage. You don't load this package in your preamble but you loadglossariesinstead. The latter has its own commands. Please clarify which package you actually want to use. You will also need\usepackage{mfirstuc}in order to use\makefirstuc. – leandriis Dec 27 '19 at 10:01acro,nomenclandglossaries. Do you really use all of them? Lastly, also make sure, thathyperrefis the last package in your preamble. (There are only a few exceptions to that.) You can also removegraphicsand replace\usepackage{xcolor}\usepackage{color, colortble}with a simple\usepackage[table]{xcolor}. – leandriis Dec 27 '19 at 10:12CIITThesissV1is not a standard class. Please check if the problem persists if you use a standard class. If so, your MWE can use this standard class (such asarticle). If not, please include a link to theCIITThesissV1.clsfile. – leandriis Dec 27 '19 at 10:14