[Tex/LaTex] Defining shortcuts in LyX

lyx

I am used to typing in Tex (since am a member of math.stackexhange), I decided to use an editor to help my with the typing and based on recommendations I installed LyX (I am very new to this and a search in this forum didn't return a usefull results..).

My question is this : I have words that I constatly type (like \mathbb{R} etc'), can I create some kind of a shortcut so I would only type something like \fR (field R) or any other usefull tricks to not type the same thing over and over again ?

Best Answer

One way that might help is to define a math macro for often used symbol combinations. You can define a math macro using Insert > Math > Macro. After you type a name for your macro and the contents of the macro, you can use the new macro throughout your document (as long as it is in math mode). You can read more about math macros in LyX here.