How do I modify the \acro command from the acronym package in order to capitalize the first letter in the acronym list but still keeping a lower case letter in the text.
The accepted solution in: Capitalize the first letter in acronym list from isn't working. The alternative solution also doesn't work.
\usepackage[utf8]{inputenc}
\usepackage{acronym}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\AC@@acro}{] #3}{] \MakeUppercase #3}{}{}
\patchcmd{\AC@@acro}{] #3}{] \MakeUppercase #3}{}{}
\makeatother
%%% Alternative way (commented out because you may not have the package)
% \usepackage{regexpatch}
% \makeatletter
% \xpatchcmd*{\AC@@acro}{] #3}{] \MakeUppercase #3}{}{}
% \makeatother
\begin{document}
\begin{acronym}
\acro{T}{test}
\end{acronym}
This is a \ac{T}.
\end{document}
Output:

Overleafis a cloud basedLaTeXsystem, and they have separate support group... – MadyYuvi Dec 17 '20 at 14:11acronym. – Disenchanted Lurker Dec 18 '20 at 11:10