I am using latex to write my thesis report, so i use the glossary package to generate the acronym list , but i get a small space between acronym and it description ,here is my minimal code:
\documentclass{report}
\usepackage{graphicx}
\usepackage[colorlinks]{hyperref}
\usepackage[savewrites,nopostdot,toc,acronym,symbols,nogroupskip]{glossaries}
\makeglossaries
\newacronym{CICS}{CICS}{Customer Information Control System}
\newacronym{EHDM}{EHDM}{Enhanced Hierarchical Development Methodology}
\newacronym{ASF}{ASF}{Algebraic Specification Formalism}
\newacronym{ProCos}{ProCos}{Provably Correct Systems}
\newacronym{HOL}{HOL}{Higher Order Logic}
\newacronym{LOTOS}{LOTOS}{Language Of Temporal Ordering Specification}
\newacronym{CCS}{CCS}{Calculus of Communicating Systems}
\newacronym{CSP}{CSP}{Communicating Sequential Processes}
\newacronym{RAISE}{RAISE}{Rigorous Approach to Industrial Software Engineering}
\newacronym{VDM}{VDM}{Vienna Development Method }
\begin{document}
\tableofcontents
\chapter{Sample}
This is a sample document that uses the dummy glossary entries
supplied with the glossaries bundle for testing.
\gls{ASF} \gls{CICS}
Here are all the entries (including acronyms):
\gls{ASF} \gls{CICS} \gls{CSP} \gls{ProCos}
\gls{VDM} \gls{RAISE} \gls{CCS} \gls{ASF}
\gls{HOL} \gls{EHDM}
\printglossary[type=acronym,style=tree]
\end{document}
and I get this output:
How can I change the space between the acronym entry and it description?? Can you help me please??
Best Answer
In the preamble, redefine the macro
\glstreepredesc
to whatever should precede the acronym descriptions. Without modifying it, it will expand to a single space. If you redefine it asthen the space between the acronyms and their descriptions will increase to a
\quad
.Edit: From the discussions in the comment it seems that the problem is to align the descriptions vertically. Applying the answer Glossaries: vertical aligment of acronyms' long names to the current problem leads to the following changes:
In the
\printglossary
command, usestyle=long
instead ofstyle=tree
.If you want to have the acronyms in boldface (with style
long
they are in normal font), add the following line to your preamble, after loading the packageglossaries
:To increase the space available for the description, add the following lines to the preamble, after loading the package
glossaries
: