I would like to draw feynman diagrams with Tikz Feynman but I have some rendring problem :
Here the file with the first exemple of the documentation
\documentclass[11pt,french,letterpaper]{article}
\usepackage{amssymb,amsmath,amsfonts,babel,lmodern}
\usepackage[compat=1.0.0]{tikz-feynman}
\begin{document}
\feynmandiagram [horizontal=a to b] {
i1 -- [fermion] a -- [fermion] i2,
a -- [photon] b,
f1 -- [fermion] b -- [fermion] f2,
};
\end{document}
And the rendering :
Which is not what I expect !
The expected result from the doc :
Any idea ? Thank You
Edit: Ok problem solve, TikZ Feynman need to be compile with LuaLatex (and I was compiling with pdflatex)
Best Answer
Problem solve.
Tikz need Lualatex for a proper rendering as explain in the documentation :