feynlag.export.latex.latex_feynman_table¶
- feynlag.export.latex.latex_feynman_table(interactions, simplify_coeff=None, extra_column=None, extra_header='\\textbf{Simplified}')[source]¶
Generate a LaTeX table of interactions and their coefficients.
- Parameters:
interactions – nested dict from
extract_interaction_coefficientsor a flat{field_tuple: coefficient}dict.simplify_coeff – optional callable applied to each coefficient before printing (default: print raw).
extra_column – optional callable producing a third column from each coefficient (e.g.
sympy.simplifyor a series approximation).Nonegives a two-column table.extra_header – header of the third column.
- Returns:
LaTeX
arrayenvironment.- Return type: