I'm currently using TikZ-Feynman in order to generate Feynman diagrams, which works great so far; however, I'm currently stumped on how to do the following thing:

What I need is a sum of diagrams in a row, similar to a sum of vacuum polarizations when calculating running couplings for QED. Unfortunatly, I can not change the spacing between vertices [or can I?] so putting more than 10 vertices in a row is impractical and doesn't fit the paper.

\vertex (a1) ;
\vertex[right =of a1] (a2);
\vertex[right =of a2] (a3);
\vertex[right =of a12] (a13);
\vertex[right =of a13] (a14);
\diagram* {
%Fermion & Gauge boson lines enter here

How do I solve this?

closed as unclear what you're asking by Symbol 1, Werner, Zarko, Stefan Pinnow, egreg Mar 21 '17 at 18:33

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Do you just want to decrease the spacing between your vertices? If so, you can use right=<dist> of <node>, or to change the default distance pass every node/.style={node distance=<dist>} as an option to the tikzpicture environment. (To set different horizontal and vertical defaults use node distance=<y distance> and <x distance>.) Or if you just want the whole diagram compressed horizontally you could use xscale=<factor> on the tikzpicture. – Emma Nov 19 '16 at 21:45
  • Emma has already pointed you to the answer, but in addition to that are you using TikZ-Feyn or TikZ-Feynman? Your syntax shows that you are using the latter, but then you say twice that you are using the former. Unless there is a duplicate of TikZ-Feynman going by the name of TikZ-Feyn? – JP-Ellis Nov 20 '16 at 0:43
  • Emma, Thank you so much for a helpful answer! JP-Ellis, Sorry for the confusion, was (is) using TikZ-Feyn -- very good tool! :) – Kjell T. Nov 20 '16 at 9:08
  • @KjellT. Could you post a link to where you found TikZ-Feyn? It's obviously not the TikZ-Feyn I linked to as the syntax is completely different and resembles (very much) the syntax of TikZ-Feynman. – JP-Ellis Nov 20 '16 at 13:12
  • Since there has been no further answer, and the syntax is from TikZ-Feynman, I have edited the question to refer to TikZ-Feynman instead of TikZ-Feyn. Feel free to revert this edit if that is incorrect; though if you do, please let me know where you found TikZ-Feyn @KjellT. – JP-Ellis Dec 2 '16 at 3:21