Closed EmaGht closed 1 month ago
The SwitchMode
command has two optional arguments. The first one is a "prefix" that is rendered in the current mode, and the second one is a "suffix" that is rendered in the new mode. So, you should use it to do what you want.
However, the implementation is currently broken and needs to be fixed.
Use case
Being able to write quoted text while autmatically entering text mode
Actual Behavior
With a configuration as follows:
I'm trying to switch between math mode and text mode while adding a
"
for extra visual clarity as it's difficult for a user to notice he is writing actual text otherwise.The first half is actually possible using
As the prefix gets added using the new mode, which is "text", but when i type
"
again it gets added by this keybindingin math mode, breaking the visual
Expected Behavior
Be able to write the prefix from "switchMode" in the previous mode, while writing the suffix in the next mode.
I guess what i'm asking is using
previousMode
instead ofmode
hereEnvironment
MathLive version latest
Operating System windows
Browser all