<div>Hi Pranjal,</div><br><div>The Python code is just calling latex in the background (via the pyx library -- <a href="https://pyx-project.org/" title="https://pyx-project.org/">https://pyx-project.org/</a> ), so you download the style files and put them in the latex search path. There will be a standard location on your system, but you can add a local one, e.g. in your home directory, by putting something like "export LATEXINPUTS=$HOME/mytex//" in your .bashrc and creating a ~/mytex directory with package files in (the double-slash means that location will be searched recursively)</div><br><div>I'm afraid that due to lack of time, I'm not able to develop pyfeyn anymore, and evolutions in the latex ecosystem mean that other approaches such as TikZ may work better these days. But it should still be runnable -- good luck!</div><br><div><signature id="initial"><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px"><div><strong>Dr Andy Buckley, Senior Lecturer & Royal Society Research Fellow</strong></div><div>Particle Physics Experiment Group, University of Glasgow, UK</div></div></td></tr><tr><td style="vertical-align:top"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px"><div><div></div><div></div></div></div></td></tr></tbody></table></div></signature></div><div class="gmail_quote_attribution">On May 7 2021, at 9:22 pm, Singh, Pranjal <prsingh@davidson.edu> wrote:</div><blockquote><div> </div><div class="WordSection1"><div class="MsoNormal"><font style="font-size:11pt">Hello Reader,</font></div><br><div class="MsoNormal"><font style="font-size:11pt"> </font></div><br><div class="MsoNormal"><font style="font-size:11pt">Hope you are doing well. My name in Pranjal Singh and I am an undergraduate Physics major at Davidson College. I am currently working on a project for class and hoping to use the PyFeyn package for visualization of Feynman diagrams, however, I am having trouble with the LaTeX hepnames and the hepparticles and maybemath packages.</font></div><br><div class="MsoNormal"><font style="font-size:11pt"> </font></div><br><div class="MsoNormal"><font style="font-size:11pt">I know how to work in Python but am unfamiliar with using LaTeX packages within python. After downloading the LaTeX packages, I am uncertain on how to incorporate the .sty files into the code. I was hoping for some guidance on the matter as I would really love to use the PyFeyn package. Thank you. Have a great weekend!</font></div><br><div class="MsoNormal"><font style="font-size:11pt"> </font></div><br><div class="MsoNormal"><font style="font-size:11pt">Sincerely,</font></div><br><div class="MsoNormal"><font style="font-size:11pt">Pranjal Singh</font></div><br><div class="MsoNormal"><font style="font-size:11pt"> </font></div></div><div>_______________________________________________</div><div>PyFeyn mailing list</div><div>PyFeyn@projects.hepforge.org</div><div>https://www.hepforge.org/lists/listinfo/pyfeyn</div></blockquote>