一键导入
feynman-tikz
Render Feynman diagrams in TikZ-Feynman for direct LaTeX embedding — standalone or inline
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Render Feynman diagrams in TikZ-Feynman for direct LaTeX embedding — standalone or inline
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Numerically evaluate a FormCalc-reduced one-loop amplitude with LoopTools 2.16 (Passarino-Veltman integrals via the Wolfram/LoopTools MathLink) and emit a scattering/v1 JSON (σ_SI, σ_SD) for direct detection. Unblocks the 2HDM+a loop-only DD path. Self-heals via _shared/installs/looptools preflight.
Reduce a FeynArts amplitude list with FormCalc 9.10. Produces amp_reduced.m and amp_reduced.meta.json sidecar conforming to amp_reduced.meta/v1. Self-heals via _shared/installs/formcalc preflight.
Generate Feynman diagrams and amplitudes using FeynArts 3.11. Supports built-in models (SM, SMQCD, THDM, MSSM) and SARAH-generated models. Outputs FeynAmpList.m, diagrams.pdf, topologies.json, and metadata sidecar.
Compute direct-detection likelihoods and 90%-CL exclusion verdicts using DDCalc 2.2.0. Leaf consumer of scattering/v1 JSON from /micromegas or /formcalc.
MadDM — dark matter relic density, direct detection cross-sections, indirect detection rates, parameter scans with experimental limit comparison
Run HiggsBounds-5 + HiggsSignals-2 constraint checks on a model SLHA file. Computes hb_allowed (per-channel AND), hs_consistent (Δχ² < 6.18), p-values, and per-channel CSV. Supports single-point and scan-directory modes.
| name | feynman-tikz |
| description | Render Feynman diagrams in TikZ-Feynman for direct LaTeX embedding — standalone or inline |
Generate TikZ-Feynman code for Feynman diagrams that can be directly embedded in LaTeX documents. Supports both standalone compilation and inline use within papers.
Parse the diagram request: Identify the process, topology (s/t/u-channel, loop), and any special features (blobs, effective vertices, cut lines).
Choose the rendering approach:
\feynmandiagram — Simple inline diagrams with automatic layout\begin{feynman} environment — Full control over vertex placementGenerate the TikZ-Feynman code:
fermion / anti fermion — solid arrowphoton — wavy linegluon — coiled line (use half left/half right for loops)charged boson — wavy with arrowscalar / charged scalar — dashed lineghost — dotted lineProvide both formats:
\begin{figure} environmentCompilation note: TikZ-Feynman requires LuaLaTeX for automatic vertex placement. Include a fallback with manual placement for pdfLaTeX compatibility.
Input: "Draw the one-loop gluon self-energy diagram (gluon bubble)"
Output:
\feynmandiagram [horizontal=a to b] {
i [particle=$g$] -- [gluon, momentum=$k$] a
-- [gluon, half left, momentum=$k{-}q$] b
-- [gluon, half left, momentum=$q$] a,
b -- [gluon, momentum=$k$] f [particle=$g$],
};
Reference:
docs/design-system.md— the canonical source of truth for all visual rules.
Palette: Ink-only (Palette C). Include the style package in the preamble:
\usepackage{hephaestus-tikz} % from styles/hephaestus-tikz.sty
Key rules:
hepInk (#1a1a1a) at 1.0pt. Use the every accent style for the boson or propagator being discussed (draws in hepAccent).hep vertex (4pt filled black circle). Apply only at interaction vertices.hep label for external legs (italic, gray, 2pt inner sep), hep propagator label for internal lines (italic, accent color, midway).\hepsetaccent{steel} to switch to Slate Precision context if the diagram accompanies an exclusion contour.\begin{feynman}[layered layout, horizontal=a to b] inside a tikzpicture for standard diagrams.