LyXCan I change the space bar behaviour in LyX math mode?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
wiseowl
Posts: 3
Joined: Thu Sep 08, 2016 7:57 pm

Can I change the space bar behaviour in LyX math mode?

Post by wiseowl »

When typing an equation in LyX math mode, pressing the space bar will sometimes exit the equation. This is annoying because I will often press it by accident. Sometimes I am typing fast and I immediately press backspace, which deletes my entire equation.

So my questions are:
  • 1. Is there a way to disable this space bar behaviour in LyX 2.2.1?

    2. Is there a way for the backspace key to delete the last symbol/element in the equation instead of the entire equation?
I have looked in "Preferences" but didn't find any relevant options. Perhaps there is an under-the-hood solution...?

(cross-posted at tex.SE but received no answer: http://tex.stackexchange.com/questions/328581)
Last edited by wiseowl on Wed Sep 14, 2016 9:22 pm, edited 2 times in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

wiseowl
Posts: 3
Joined: Thu Sep 08, 2016 7:57 pm

Re: Can I change the space bar behaviour in LyX math mode?

Post by wiseowl »

EDIT: it looks like someone has tried something similar:
http://www.math.ucdenver.edu/~hartkes/c ... yx/lyx.php. Unfortunately, I'm having some trouble making heads or tails out of it.
wiseowl
Posts: 3
Joined: Thu Sep 08, 2016 7:57 pm

Can I change the space bar behaviour in LyX math mode?

Post by wiseowl »

My apologies. I did include the link to TeX.SE here but I forgot to link to here on TeX.SE. This has been updated.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Can I change the space bar behaviour in LyX math mode?

Post by scottkosty »

wiseowl wrote:My apologies. I did include the link to TeX.SE here but I forgot to link to here on TeX.SE. This has been updated.
No problem, thanks for understanding and for updating the link to here.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Can I change the space bar behaviour in LyX math mode?

Post by scottkosty »

If you are interested in compiling, a patch that implements the behavior you want for the space bar is posted at http://latex-community.org/forum/viewto ... 19&t=29077
Post Reply