How to type long equal in chemisty equation?

I want to type a long symbol equal in chemisty equations like this


, but typsium can’t do this(or I don’t know).

2 Likes

I think maybe it doesn’t support it?

$2"HgO" stretch(=, size: #400%)^Delta 2"Hg" + "O"_2 arrow.t$

#import "@preview/typsium:0.3.0": ce

#ce("2HgO ==[$Delta$] 2Hg + O2 " + sym.arrow.t)

#ce("2HgO ->[$Delta$] 2Hg + O2 " + sym.arrow.t)

1 Like

You can work around it:

#import "@preview/typsium:0.3.0": ce
#ce("2HgO" + $stretch(=, size: #300%)^Delta$ +  "2Hg + O2 " + sym.arrow.t)

#ce("2HgO" + $stretch(=, size: #2em)^Delta$ +  "2Hg + O2 " + sym.arrow.t)

// Length Comparison:
#ce("2HgO -> 2Hg + O2 " + sym.arrow.t)

2 Likes