Hello, i would like to do something like this :

(this is currently LaTeX). It means restrict P to the intervall [u_k,u(k+1)]. The best i could do in Typst is :

with
$ attach(P, br: bar [u_k, u_(k+1)]) $
but it’s not like LaTeX ![]()
Hello, i would like to do something like this :

(this is currently LaTeX). It means restrict P to the intervall [u_k,u(k+1)]. The best i could do in Typst is :

with
$ attach(P, br: bar [u_k, u_(k+1)]) $
but it’s not like LaTeX ![]()
The usual way is like this:
#import "@preview/physica:0.9.7": evaluated
$ evaluated(P)_[u_k, u_(k+1)](0) $
And evaluated uses math.lr with nothing on one side and | on the other side.
Thanks for your solution !!