LaTeX forum ⇒ MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Acronym section showing abbreviation

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
LeonardLopes
Posts: 11
Joined: Mon Nov 16, 2015 7:27 pm

Acronym section showing abbreviation

I have a simple MWE where I have an acronym that I reference. The first time it puts out the full name with the acronym and every subsequent time it puts out just the acronym. Well that's all find and dandy, but when it puts out the acronym list, the title of the acronym is the abbreviation. I want the full name with the abbreviation to be there (i.e. "minimal working example (MWE)" instead of just "MWE"). It seems that the name of the glossary entry in the acronym section is tied to \glsentryname (I think).

\documentclass{report}\usepackage[acronym,nonumberlist,description]{glossaries}\newglossaryentry{mwe}{   type=\acronymtype,   name={MWE},   description={A short example to illustrate a problem},   long={minimal working example},   first={minimal working example (\glsentryname{mwe})}}\setglossarystyle{altlist}\makeglossaries\begin{document}\gls{mwe}\gls{mwe}\glsaddall\printglossaries\end{document}

I've tried fiddling with the name of the acronym, short, long, etc. but can't seem to find the combination that results in my desired behavior.
Attachments
MWE.pdf
Minimal working example

Tags:

Johannes_B
Site Moderator
Posts: 3642
Joined: Thu Nov 01, 2012 4:08 pm
The list is for looking up the acronyms, consider CTAN which you used a few time in your document. The reader who wants to know the long form has to read through all the entries with C till he gets to Comprehensive TeX Archive Network. This might be quite some reading and the purpose of a fast lookup is gone.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

LeonardLopes
Posts: 11
Joined: Mon Nov 16, 2015 7:27 pm
I understand what you are saying and it is probably a good point. I have checked the formatting requirements for the document I am generating and of course they don't have any.

LeonardLopes
Posts: 11
Joined: Mon Nov 16, 2015 7:27 pm
Is there a way to have the acronym first, then the length?

CTAN: Comprehensive TeX Archive Network
DESCRIPTION

LeonardLopes
Posts: 11
Joined: Mon Nov 16, 2015 7:27 pm
I have decided to go down this route:

http://tex.stackexchange.com/questions/8946/how-to-combine-acronym-and-glossary

Johannes_B
Site Moderator
Posts: 3642
Joined: Thu Nov 01, 2012 4:08 pm
Define your own style and use it.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.