0

Based on this post( List of Acronyms without line spacing), I want to create a list of appreciations. But the long text are not in the same column.

enter image description here

But this is not the result they have. I need the tabulator between the short and the longtext version (the red line).

enter image description here

This is my aacronym code:

\documentclass[a4paper,11pt]{article}

\usepackage[printonlyused,withpage]{acronym}
\usepackage{xpatch}

\makeatletter
\xpatchcmd{\AC@deflist}
  {\addtolength{\leftmargin}{\labelsep}}
  {\addtolength{\leftmargin}{\labelsep}\setlength{\itemsep}{0pt}}
  {}{}
\makeatother

\begin{document}

\pagenumbering{Roman}

\section*{Table of abbreciations}
\input{sources/abbreviations}
\pagenumbering{arabic}
Use of \ac{saas} , \ac{yum}, \ac{jar} and \ac{ear} - \ac{LONGEXP}

\end{document}

with these abbreviations.tex

\begin{acronym}[d]
\acro{yum}[yum]{yellowdog updater modified}
\acro{ear}[EAR]{Enterprise Application Archive}
\acro{war}[WAR]{Web Application Resource}
\acro{jar}[JAR]{Java Archive}
\acro{saas}[SaaS]{Software as a Service}
\acro{LONGEXP}[LONGEXP]{A long acronym to make the point}
Markup Language}

\end{acronym}

The Output resulting Table of abbreviations is shown here: enter image description here

But I need this result (Image edited with paint): enter image description here

can another package interfere with the acronym-package?

4
  • Please add a minimum code from \document{... to \end{document}. The class and the preamble are needed to answer your question. Feb 24, 2022 at 17:45
  • Pleas include the file abbreviations Feb 24, 2022 at 21:49
  • 1
    Use \begin{acronym}[LONGEXP] Feb 24, 2022 at 22:04
  • Can you write an answer with this solution?
    – Meeresgott
    Feb 24, 2022 at 22:06

1 Answer 1

2

Use

\begin{acronym}[LONGEXP]
    \acro{yum}[yum]{yellowdog updater modified}
    \acro{ear}[EAR]{Enterprise Application Archive}
    \acro{war}[WAR]{Web Application Resource}
    \acro{jar}[JAR]{Java Archive}
    \acro{saas}[SaaS]{Software as a Service}
    \acro{LONGEXP}[LONGEXP]{A long acronym to make the point}   
\end{acronym}

a

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .