\mathfrak{A}
often. How to reduce typing when typing it?LyX ⇒ A keyboard shortcut?
A keyboard shortcut?
I need to type
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
A keyboard shortcut?
To save typing you could define a macro in your document preamble:
The you just need to type
Perhaps there are programmable LyX shortcuts, I just don't have it here right now.
Stefan
Code: Select all
\newcommand*{\ma}{\mathfrak{A}}
\ma
. And you could change the definition at any time, valid for the whole document.Perhaps there are programmable LyX shortcuts, I just don't have it here right now.
Stefan
LaTeX.org admin
Re: A keyboard shortcut?
This way I would see "\ma" not the symbol in the formula in the LyX editor. This is certainly not what I want.
-
- Posts: 89
- Joined: Fri Jan 24, 2014 12:42 am
A keyboard shortcut?
You can program your own shortcut in LyX by going to Tools>Preferences>Editing>Shortcuts and clicking the New button. This page will help you with the syntax.
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
A keyboard shortcut?
You can also use math macros in LyX. Insert > Math > Macro. Here you can control both the LaTeX and the LyX output.porton wrote:This way I would see "\ma" not the symbol in the formula in the LyX editor. This is certainly not what I want.