Reputation: 139
I want to note a segment between two points, B and C. Using Latex, I can get it by $\overline{BC}$
. In typst app, I don't know how to do it.
The best approximation in typst is $overline("BC")$ but the points B and C are now in upright font, naturally. I need them to be in an italic font like this: BC
Using $overline("_BC_")
does not work.
Upvotes: 2
Views: 390
Reputation: 190
Typst interprets $BC$
as a function (or variable) called "BC". Only single characters are interpreted as text. This means you can use: $overline(B C)$
.
You can also explicitly state that you want italics: $overline(italic("BC"))$
Upvotes: 8