On 30/07/2018 00:09, Paul A. Rubin wrote:
On 07/29/2018 04:44 PM, Daniel wrote:
On 29/07/2018 10:44, Ricardo Berlasso wrote:
2018-07-27 11:21 GMT+02:00 Daniel <xraco...@gmx.de <mailto:xraco...@gmx.de>>:

    On 26/07/2018 15:31, Jean-Marc Lasgouttes wrote:

        Le 26/07/2018 à 09:19, Jürgen Spitzmüller a écrit :

            Am Donnerstag, den 26.07.2018, 08:53 +0200 schrieb Daniel:

                Is it possible to have a keyboard shortcut dedicated to
                math mode so
                that it only works in matn mode but does something else
                (or its
                normal
                function) when not in math mode?


            You can use
            command-alternatives math-function ; text-function


        You can also use autocorrect in math mode. Example: <= gives \leq.


    Never heard about it? Where can I set it up?


Tools → Preferences → Editing → Input completion: check "autocorrection" under "In Math"

Thanks. I did but it still does not replace <= with \leq.

It's a little funky to work with. After making the change in preferences, go into a math inset and type anything, watching the status line at the bottom of the window. You will probably see the (short-lived) message 'Autocorrect Off ("!" to enter)'. Type a bang character (exclamation point), and then try typing <=.

When you turn on autocorrect with the bang character, you'll see another (short-lived) message saying that typing a space takes you out of autocorrect mode.

Thanks, that works. I wonder whether anyone is using it given how hidden it is.

Daniel


Reply via email to