Pandoc LaTeX Error: Unicode character ∀ (U+2200)not set up for use with LaTeX

errorspandocpdftex

I have created a minimal reproducible example. I start with:

test.md

∀x ∈ ℕ ( P(x) )

and I am running the following command:

pandoc test.md -o test.pdf

I get the following error:

Error producing PDF.
! LaTeX Error: Unicode character ∀ (U+2200)
not set up for use with LaTeX.

How can I solve this issue ?

Best Answer

You need to write your formula in math mode $...$ (as already pointed out in the comments) and you have to use a pdf engine that understands unicode.

test.md

$∀x ∈ ℕ ( P(x) )$

and

pandoc --pdf-engine=lualatex test.md -o test.pdf

enter image description here