[Tex/LaTex] How to make a shortcut for \mathbb font in LyX

lyxmath-mode

I want to make a shortcut for the \mathbb font (or other fonts) in LyX.
How can I do it?

Best Answer

New shortcuts are added under Tools --> Preferences --> Editing --> Shortcuts, for details see Shortcuts for Lemma, Claim, Theorem etc. The function you need for the blackboard font is

math-insert \mathbb

The other fonts in the list (under the font button on the math toolbar) has similar functions, just replace \mathbb with the appropriate macro, e.g. math-insert \mathcal.

Related Question