I was trying to answer tikz-feynman: edge labels when I encountered an odd problem:

Why is the first diagram slightly egg shaped? Without the lines left and right it is round. Please don't tell me this is because it had been easter this weekend :)

% !TeX TS-program = lualatex


\feynmandiagram[horizontal=b to d] {
    a -- b,
    b -- [quarter right] 
    c -- [quarter right] 
    d -- [quarter right] 
    e -- [quarter right] 
    d -- f,

\feynmandiagram[horizontal=b to d] {
%   a -- b,
    b -- [quarter left] 
    c -- [quarter left] 
    d -- [quarter left] 
    e -- [quarter left] 
%   d -- f,


enter image description here

A list of package versions I use:

 *File List*
 article.cls    2018/09/03 v1.4i Standard LaTeX document class
  size10.clo    2018/09/03 v1.4i Standard LaTeX file (size option)
tikz-feynman.sty    2016/02/05v1.1.0Feynman diagrams with TikZ
    tikz.sty    2019/02/02 v3.1.1 (3.1.1)
     pgf.sty    2019/02/02 v3.1.1 (3.1.1)
  pgfrcs.sty    2019/02/02 v3.1.1 (3.1.1)
everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
 pgfcore.sty    2019/02/02 v3.1.1 (3.1.1)
graphicx.sty    2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    2014/10/28 v1.15 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg    2016/06/04 v1.11 sample graphics configuration
  luatex.def    2018/01/08 v1.0l Graphics/color driver for luatex
  pgfsys.sty    2019/02/02 v3.1.1 (3.1.1)
pgfsyssoftpath.code.tex    2019/02/02 v3.1.1 (3.1.1)
pgfsysprotocol.code.tex    2019/02/02 v3.1.1 (3.1.1)
  xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)
   color.cfg    2016/01/02 v1.6 sample color configuration
pgfcomp-version-0-65.sty    2019/02/02 v3.1.1 (3.1.1)
pgfcomp-version-1-18.sty    2019/02/02 v3.1.1 (3.1.1)
  pgffor.sty    2019/02/02 v3.1.1 (3.1.1)
ifluatex.sty    2016/05/16 v1.4 Provides the ifluatex switch (HO)
 pgfopts.sty    2014/07/10 v2.1a LaTeX package options with pgfkeys
epstopdf-base.sty    2016/05/15 v2.6 Base part for package epstopdf
infwarerr.sty    2016/05/16 v1.4 Providing info/warning/error messages (HO)
  grfext.sty    2016/05/16 v1.2 Manage graphics extensions (HO)
kvdefinekeys.sty    2016/05/16 v1.4 Define keys (HO)
 ltxcmds.sty    2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
kvoptions.sty    2016/05/16 v3.12 Key value format for package options (HO)
kvsetkeys.sty    2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty    2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
pdftexcmds.sty    2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
   ifpdf.sty    2018/09/07 v3.3 Provides the ifpdf switch
epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
  • I get a very different output than you do, which is definitely not your fault. Rather, in general I find that the automatic graph drawing algorithms seem to make things harder than simplifying them. – marmot Apr 25 at 14:08
  • I don't get neither a circle not an egg, but sort of squares with arc borders. – Ulrike Fischer Apr 25 at 14:08
  • @marmot & UlrikeFischer Interesting! Maybe I use some old package version or something. I added a list just in case. – Snobbish Hi-rep users Apr 25 at 14:17
  • @valerie I could very well be that I am using older packages than you do. I have been watching this for a while now, see e.g. here, and my personal conclusion is that, unfortunately, this graph drawing stuff is in this context too fragile, so I personally do not use them (the more so since arXiv doesn't support lualatex anyway). – marmot Apr 25 at 14:21
  • @marmot Ah, ok. I don't use it myself, so I better stay away from it – Snobbish Hi-rep users Apr 25 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.