I am following the guide from Overleaf on how to use the glossaries package. I am trying to work it with RevTex 4.2. Below is my sample script:



        description={Is a mark up language specially suited for 
scientific documents}

        description={Mathematics is what mathematicians do}

        description={A mathematical expression}

\newacronym{gcd}{GCD}{Greatest Common Divisor}

\newacronym{lcm}{LCM}{Least Common Multiple}

\title{Why Acronyms swill not work? } 





The output of this file is only the title with no compilation errors. No glossaries or acronyms appearing. I also tried the acronyms package and again without any compilation errors I get blank output.

What is the solution?

  • You don't actually use any \gls commands, if I add \gls{gcd} and run makeglossaries I get the GCD acronym appearing in the list of acronyms. Does that work for you? Are you actually running makeglossaries, or maybe looking for \glsadd or \glsaddall?
    – Dai Bowen
    Apr 12, 2023 at 0:48

1 Answer 1


Based on this thread: Is revtex documentclass compatible with glossaries package? The problem has something to do with the "reprint" option in the revtex documentclass

\documentclass[ reprint,amsmath,amssymb,aps, ]{revtex4-2}

I manged to work around this issue by setting the option to "preprint". After running tex and the creation of the glossary files the option can be set to "reprint" again and tex runs without a problem.


  • This actually worked for me as well, setting it to preprint and then back to reprint...
    – kalle
    Oct 27, 2022 at 9:45
  • I'm pretty sure the OP's issue on this question is just the use of glossaries itself. The issue in Is revtex documentclass compatible with glossaries package? is due to twocolumn (reprint applies this) causing an aux file to be created without some of the directives needed to create the glossary. For that question this should work but will need to be done every time you're updating the glossary files.
    – Dai Bowen
    Apr 12, 2023 at 13:14

You must log in to answer this question.

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