1

I am trying to add four specific features to the acronym package and plug it into Overleaf:

  1. \acrounlisted - creates an unlisted acronym, which would be treated like an acronym (in that the first time it's used it would define it and then just use the acronym after that), but it wouldn't appear in the List of Acronyms.
  2. \acfirstuc - Makes the first word in the definition uppercase iff it has not yet be used--otherwise, it's just \ac.
  3. \acalluc - Makes each word in the full definition upper case (e.g., if \ac{ods} expands to "oxide dispersion strengthened (ODS)", then \acalluc would expand to "Oxide Dispersion Strengthened (ODS)").
  4. \aclc - Makes each word in the full definition lower case (e.g., if \ac{ods} expands to "Oxide Dispersion Strengthened (ODS)", then \aclc{ods} would be "oxide dispersion strengthened (ods)").

I have specific reasons for this in my thesis. I realize that unlisted would cause some problems with the link that is generated to between the acronym and the list of acronyms, so that should probably be stripped out, too.

The problem is that I'm a little bit new to LaTeX, and anything I try irreparably breaks the package. I'm using the acronym.sty file from the TDS archive on CTAN, and using \RequirePackage{} to bring in a renamed version of the .sty into my project's class file. I was trying to use \lowercase and \capitalizewords from mfirstuc. I don't know how to just capitalize the very first letter (and if it's terribly difficult, I will leave that one off), or how to properly implement these.

Is anybody willing to take a look and give me some pointers on how to modify this thing?

  • I can probably not be of great help here, but you may want to consider splitting your question into several questions for each issue. At least to me the first point is not really related to points 2-4 and so you and others could greatly benefit from separate questions there. See also tex.meta.stackexchange.com/q/7425/35864 on Meta. It might also encourage other people to help you and make it easier for them to get started if you could add a short example document with a few toy acronyms to your question (in the spirit of an tex.meta.stackexchange.com/q/228/35864). – moewe Dec 5 '18 at 7:08
  • 1
    Are you tied to the acronym package? Those things can be achieved with the glossaries package. (In fact, mfirstuc was originally part of the glossaries distribution before it was split off into an independent package.) – Nicola Talbot Dec 5 '18 at 14:51
  • Nicola, I am not tied to it, no. I will have to look into the glossaries package. Thank you for that suggestion! moewe, you have a good point. I'll have to revise this, but it will have to wait until next week. Thank you both! – Jordan A Dec 6 '18 at 16:28
  • Do you have any news for us? Is your issue solved? How? – Mensch Jun 24 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.