Skip to content
Discussion options

You must be logged in to vote

What I meant is that this does seem to work for me by adding documentclass: article

---
title: "quarto-test-env"
format: 
  pdf:
    documentclass: article
header-includes:
- \usepackage{acronym}
- \usepackage{upgreek}
mainfont: "Times New Roman"
keep-tex: true
---

# 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}
- \ac{nfkb}

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Minh-AnhHuynh
Comment options

@cderv
Comment options

Answer selected by Minh-AnhHuynh
@Minh-AnhHuynh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
latex LaTeX engines related libraries and technologies
2 participants