These two lines:
\documentclass[aps,prl,two column]{revtex4}%
\begin{document}
Produce the following error:
! Extra \endgroup.
\document ->\endgroup
\init@documenthook \set@typesize@hook \normalsize \set...
l.2 \begin{document}
?
8 Extra \endgroup. \document ->\endgroup \init@documenthook \set@typesize@hook \normalsize \set... l.8 \begin{document}
– Gal V Oct 24 '20 at 07:32revtex4is no longer developed, but it did get a maintenance update a couple of weeks ago precisely to fix this error (so updating will fix the issue). But yes, it's ancient and should not be used. – Phelype Oleinik Oct 24 '20 at 11:17revtex4-2is the current version – Phelype Oleinik Oct 25 '20 at 11:59