GeneralAdding a List of Acronyms with 'acro' package to the Table of Contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
asmithb
Posts: 24
Joined: Tue Feb 23, 2021 12:04 pm

Adding a List of Acronyms with 'acro' package to the Table of Contents

Post by asmithb »

Dear members,

I want to insert my lit of acronyms in the table of contents of my thesis. I need to add a list of acronyms right after my list of figures and tables in the table of contents. I do not want the list of acronyms as a separate section or chapter. Instead, I want the list to tell me what each acronym stands for. I am almost there. I have used the acro package and added the following codes to the table of contents.

However, the list of acronyms is printed as a chapter and not in the same format as my list of figures and tables (which is what I want). So how could I fix it? I want the code above to look exactly as the formats of \makelistoffigures and \makelistoftables, with roman numbers instead of Arabic ones.

Thank you

Code: Select all

\documentclass[12pt,twoside]{report}

\usepackage{acro}

\input acro ('acro.tex' is the file where I have my list of acronyms)

\usepackage[nottoc,notlot,notlof]{tocbibind}
\bibliographystyle{apalike}



\newpage\tableofcontents
\newpage\makelistoftables
\newpage\makelistoffigures


\newpage

\begin{document}
\addcontentsline{toc}{chapter}{List of Acronyms}
\printacronyms[include-classes=A,name=List of Acronyms, template=lof,display=all,sort=true]

%Start numbering in Arabic
\pagenumbering{arabic}

$$From this part on, I add the chapters of my thesis and its references.

\doublespacing
\input chap1
\input chap2
\input chap3
\input chap4
\input chap5

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Adding a List of Acronyms with 'acro' package to the Table of Contents

Post by Bartman »

Your crosspost is not a problem as long as you provide a link to it.

A Infominimal working example should increase the chance of getting help considerably.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Adding a List of Acronyms with 'acro' package to the Table of Contents

Post by cgnieder »

The code cannot be compiled as we don't have any of the files you're inputting.

Also you can't have \newpage and \tableofcontents and so on before \begin{document}.

The biggest problem with the code above: \makelistoftables and \makelistoffigures are undefined... they are not standard LaTeX commands so at best we can guess what they're supposed to do...
site moderator & package author
Post Reply