Sometimes some users use simplewick package to draw contractions
above and below expressions. For my humble opinion it is a old package (into the guide there are double dollars ($$...$$) that I still don't understand how it works compared to simpler-wick package of Joshua Ellis. The latest is much simpler but I still don't understand (certainly because of my low level of understanding of the English language).
I didn't want to use Taichiro Kugo's alternative method that uses a wick.sty style that conflicts sometimes with amsmath.
The only thing I don't understand are the chains of many {} and them order. For example into the guide, pag. 1, there is:
$$
\contraction{}{A}{B}{C}
\contraction[2ex]{A}{B}{C}{D}
ABCD
$$
that gives
There are also the instruction into the guide that I have not understood:
The first (optional) argument is the height of the contraction. When omitted (as in the first contraction above) it defaults to 1ex,
the second argument contains the expression that lies before the contraction start,
the third argument contains the expression, above which the start of the contraction is centered,
the fourth argument is the part of the formula that is bridged by the contraction, and finally
the contraction ends above the center of the last argument of the macro.
How should the various quantities be joined together and is there an easier way to explain this guide?
For example I have this MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{simplewick}
\begin{document}
\begin{equation}
\bcontraction{}{A}{B}{C}
\bcontraction[2pt]{A}{B}{C}{D}
ABCD
\end{equation}
\end{document}
For example if I must glue A with C, because I not can write \bcontraction{}{A}{C} and similary \bcontraction[2pt]{B}{D} to glue B with D?




{}arguments. – David Carlisle Jan 12 '20 at 00:51