New answers tagged

0

All the three Feynman diagrams shown in the question can be realized with a few lines of code using the new TikZ-Feynman package (see also the project page). Here is the code to produce all of them. You must compile with lualatex in order to take advantage of the automatic positioning of the vertices. \documentclass[tikz]{standalone} ...


3

The benefit of decoration is that it could help you place shadings properly. But before that, let us define a flexible shading \pgfdeclareverticalshading[base color]{cylinder}{1000bp}{ color(0.000bp)=(black!75!base color); color(22.773bp)=(black!75!base color); color(45.525bp)=(black!3.893!base color); color(53.986bp)=(white!26.261!base color); ...



Top 50 recent answers are included