LyXHow to make shortcuts for math symbol tex codes?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
markering
Posts: 1
Joined: Thu Sep 05, 2013 3:40 pm

How to make shortcuts for math symbol tex codes?

Post by markering »

I am using LyX for Windows and writing a math document and will be using a few symbols over and over a lot, namely

Code: Select all

\wedge
\vdash
\turnstile
\neg
\vee
I would like to create shortcuts for those so I don't have to write them out fully each time. Either a 1-letter tex code such as \w for \wedge , \t for \turnstile etc, or some other key combination to make a hotkey like CTRL+ALT+W for \wedge, and so on, would work fine.

Or anything else that makes it more convenient.

Any Ideas?
Last edited by cgnieder on Sat Sep 07, 2013 10:37 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

How to make shortcuts for math symbol tex codes?

Post by scottkosty »

In the mini-buffer (alt+x or from View > toolbars> command buffer) at the bottom of the screen, try

Code: Select all

self-insert \wedge
If that does what you want, add a shortcut in Tools > Preferences > Editing > Shortcuts
Post Reply