I have a mathematical term produced by two different pieces of code:
What I was trying to achieve (and that is why I tried many approaches) is produce the vertical line with the same height as the fraction.
As you can see with the first piece of code the line is by far shorter and with the second, although it is better, it is still short.
By trying out the previous approaches I am confused as to why the first approach didn't produce a line of the same height as the
\left(,[ etc produces a symbol in the same height as the expression (correct me if I am wrong).
Also my initial concern was how to produced a line with the specifications I mentioned?