How can I create a vertical line in a math block with alignment points?

I have the following formula and want to insert a vertical line over the whole length of the formula. How can I do that?

$& Rho(T sect G) &= Rho(T|G) dot Rho(G) \
    + &Rho(T sect B) &= Rho(T|B) dot Rho(B) \
    + &Rho(T sect R) &= Rho(T|R) dot Rho(R) \
    &"Line here"\
    & Rho(T)$

I want it to look like this
image

$& Rho(T sect G) &= Rho(T|G) dot Rho(G) \
    + &Rho(T sect B) &= Rho(T|B) dot Rho(B) \
    + &Rho(T sect R) &= Rho(T|R) dot Rho(R) \
    #place(line(length: 5cm, stroke: 0.05em), dy: -3.4mm)
    & Rho(T)$

asdf

1 Like

Very nice, thanks! But I guess there’s no way to dynamically adjust the size?

None that I know of.