I haven't been able to look up an answer for this.
The idea is to use the acronym with the greek letter alpha or gamma for example, while using the regular unicode greek character in the text.
The issue with acronym is that putting the unicode character in the acronym will not make it appear in the acronym section but only in the text.
Currently my solution makes it appear as a math alpha in the text :
I'm using Quarto with pdf output, thus using latex :
---
title: "quarto-test-env"
format: pdf
header-includes:
- \usepackage{acronym}
- \usepackage{upgreek}
keep-tex: true
mainfont: "Times New Roman"
---
# Acronyms
\begin{acronym}
\acro{ifng}[IFN-$\mupgamma$]{interferon gamma}
\acro{tnfa}[TNF-$\mupalpha$]{tumor necrosis factor alpha}
\acro{nfkb}[NF-κB]{nuclear factor-kappa B}
\end{acronym}
# Regular text
- \ac{tnfa}
- \ac{ifng}
I want TNF-α and not \ac{tnfa} ; IFN-γ and not \ac{ifng}.
When I use unicode characters in acronym such as \ac{nfkb}, it doesn't display in the acronym but in the regular text only.
I want to make it appear using unicode characters like : TNF-α ; IFN-γ
I'm using Times News Roman as the font.
Is there a solution for that or do I have to scrap the idea ?
Thanks for the help.
$\mupgamma$
produce the γ glyph that you want or not?$\mupgamma$
), but another problem appears.