I want to automatize the adjustment of the span height and the horizontally neighboring spans according to spancontaining the most tex
span
spans