Big reversed square brackets cause problem with lr function

I need to write inversed big brackets like this $]-infty;3/2[$ I used lr function to obtain the desired result but typst give an error with this $lr( ] -oo, 3/2 [) $

Welcome to the forum!

This is speculation but it seems like Typst sees the ] and thinks that it is closing some markdown content. Seems like unexpected behavior to me.


To get the result you want you can escape the square brackets with \:

$lr(\] -oo, 3/2 \[)$

image

3 Likes

Thanks for the quick respond, this solve the issue :+1:

1 Like