Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there a way to increase the margin between abbreviation and explanation in the acronym glossary?

I've got some long abbreviations that are bigger than the standard margin and mess up the layout. (Like "XML-RPC", for example.)

I only found \setlength{\nomlabelwidth}{.20\hsize}, but that belongs sadly to nomencl. Is there something similar for acronym?

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

Page 3 of the package documentation:

For example, if HBCI is the longest acronym used, the list should start with \begin{acronym}[HBCI]

share|improve this answer
    
Damn to slow ;-) –  Marco Daniel Sep 7 '11 at 12:15
    
omg, thank you both! didn't expect it to be so easy... :) –  jellyfish Sep 7 '11 at 13:12
add comment

You used the environment acronym which has an optional argument:

\documentclass{article}
\usepackage{showframe}
\usepackage[colorlinks]{hyperref}
\usepackage[printonlyused,withpage]{acronym}
\begin{document}
\acresetall
\section{Intro}
as \acs{CDMA} \qquad\acf{CDMA}

\acs{test} \qquad\acf{test}

\section{Acronyms}
\begin{acronym}[Text with the largest label]
 \acro{CDMA}{Code Division Multiple Access}
 \acro{test}{Text Text Text Text Text Text Text Text Text Text Text Text 
             Text Text Text Text Text Text Text Text Text Text Text Text }
\end{acronym}
\end{document}
share|improve this answer
    
thanks for your help, too, please! –  jellyfish Sep 7 '11 at 13:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.