-
| DescriptionI try to compile the following quarto file ---
title: "Test"
format:
  pdf:
    include-in-header:
      - text: |
          \usepackage{bm}
---
## Math with bm
$$
\bm{y}
$$So far this was working, but since yesterday it fails with the following error: Using tinytex to compile LaTeX documents which contain  I use 
 | 
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
| Add  You can also very easily look for the LaTeX error online which has plenty of thread about that particular error when using bm. First search hit: | 
Beta Was this translation helpful? Give feedback.
-
| To summarize the situation for other people who find this thread, the issue is that Quarto (through the latex templates we inherit from Pandoc) enables  So, here are some possible workarounds: 
 | 
Beta Was this translation helpful? Give feedback.
To summarize the situation for other people who find this thread, the issue is that Quarto (through the latex templates we inherit from Pandoc) enables
unicode-mathby default inxelatex, andbmdoesn't work withunicode-math.So, here are some possible workarounds:
pdf-engine: pdflatexto your document, although this will disable unicode support (becausepdflatexdoesn't support unicode)fonts.latexpandoc partial (consult our documentation)mathspec: trueto yourformat: pdf:configuration (though TBH I don't really understand what this does)