diff --git a/src/ampform/io/__init__.py b/src/ampform/io/__init__.py index 8003d7a4c..78ade6467 100644 --- a/src/ampform/io/__init__.py +++ b/src/ampform/io/__init__.py @@ -116,7 +116,7 @@ def _(obj: Iterable, **kwargs) -> str: msg = "Need at least one item to render as LaTeX" raise ValueError(msg) latex = R"\begin{array}{c}" + "\n" - for item in map(aslatex, obj): + for item in (aslatex(i, **kwargs) for i in obj): latex += Rf" {item} \\" + "\n" latex += R"\end{array}" return latex