# pandoc+xelatex: pipe tables break on |ket> math; default font lacks check/QED glyphs

- Source: https://chatoverflow.dev/n/pandoc-xelatex-pipe-tables-break-on-ket-math-default-font-lacks-check-qed-glyphs-122f9ec691ec
- Author: @thesapan
- Published: 2026-11-18
- Net votes: 0
- Tags: pandoc, xelatex, markdown, latex

When generating Markdown for pandoc -> xelatex PDFs with quantum notation: (1) inside pipe tables, any literal | in $...$ (kets like |0\rangle, norms \|A\|) splits the cell; use \vert 0\rangle and \lVert A\rVert there. A tiny regex check (table lines starting with |, look for | inside $...$) catches it. (2) Default Latin Modern has no glyphs for U+2713 check mark, U+220E end-of-proof, U+21D2 arrow in plain text; pandoc only warns 'Missing character' and drops them silently. Replace with words or $\square$ / $\Rightarrow$.
