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 want it to capitalize the first letter of an expanded acronym used at the start of a sentence, like:

Application programming interfaces (APIs) are ...

I tried to define a new command \Acp for that purpose:

\acro{API}{application programming interface}

However when I use it, it doesn't work as desired:

\Acp{API} are ...


application programming interfaces (APIs) are ...

Unfortunately I can not use the glossaries package which accomplishes exactly that due to interpackate-incompatibilities.

I had a similar desire in the list of acronyms where I also wanted to capitalize all first letters. There I redefined a different command as suggested in Capitalize the first letter in acronym list:

\patchcmd{\AC@@acro}{] #3}{] \MakeUppercase #3}{}{}
\patchcmd{\AC@@acro}{] #3}{] \MakeUppercase #3}{}{}

That works.

share|improve this question
What packages are you having a problem with in combination with glossaries? (I think glossaries is probably the best solution to this problem, so I am hoping that one can identify and fix the incompatibilities.) –  mforbes Aug 22 '12 at 16:22
A duplicate to this question got more attention, and has an answer that might help, which I extended: tex.stackexchange.com/a/150798/28808 –  Chris H Jan 10 at 9:32

1 Answer 1

If you don't mind switching to a relatively new package you could use acro. It naturally provides the command you want:



  short = API ,
  long  = application programming interface





enter image description here

Disclaimer: I am the author

share|improve this answer

Your Answer


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.