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.

I like the package acronyms very much, and I used it in my whole master thesis. I often used it just to write the same word the same in the whole work. For example I used xa for “x-Achse” but I never use the \acs. Therefore I dont want this acronym in the list. How can I change the script to just show acronyms where \acs was used in the document?

share|improve this question

migrated from stackoverflow.com Jan 15 '14 at 13:44

This question came from our site for professional and enthusiast programmers.

1  
(La)TeX-related questions are better asked at TeX - LaTeX. Your question has been flagged so that it gets migrated there. –  Alexis Pigeon Jan 13 '14 at 12:26
    
okay thanks alot –  Jinxi Jan 13 '14 at 17:00
    
Welcome to TeX.SX! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  egreg Jan 15 '14 at 13:57

1 Answer 1

If by »but I never use the \acs« you mean you haven't used the acronym at all then the answer is quite simple: use acronym's printonlyused option.

\documentclass{article}
\usepackage[printonlyused]{acronym}

\begin{document}

\begin{acronym}
  \acro{foo}{bla bla bla}
  \acro{bar}{blubber blub}
\end{acronym}

\ac{foo}

\end{document}

If by »but I never use the \acs« you mean you have used it but only with \acl and never the short version then I'd try to do a search&replace and use the starred version of \acl in addition to printonlyused:

\documentclass{article}
\usepackage[printonlyused]{acronym}

\begin{document}

\begin{acronym}
  \acro{foo}{bla bla bla}
  \acro{bar}{blubber blub}
\end{acronym}

\ac{foo} \acl*{bar}

\end{document}
share|improve this answer

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.