I searched for an answer to this, but couldn't find anything (or even a good way to describe it). The problem is this. Often, though not always, when I type a command in Texstudio, the command ends up backwards. And I have no idea why, nor how to stop it. It only started a few days ago, before that it never happened.

For example, suppose I want to type in maths mode \alpha (with the space after). I'll press all the keys in order, and the editor will spit out \ ahpla (with the space between the backslash and ahpla). Or if I want to type \in, I'll get \ ni.

As far as I can tell, I'm not pressing any special combination of keys to make this happen. And I didn't change anything in settings. Occurrence seems random.

  • 1
    What TeXstudio version and OS are you using? When does the reversal happen? After pressing the space key? Do you have any macros set? Because this does not seem like normal behavior. – Troy Jan 8 '18 at 8:31
  • 2
    Sounds as if you are inserting Unicode 202E (xkcd.com/1137). In windows the keyboard layout can change after pressing Alt+shift and then suddendlz y come out as z. Perhaps you have something similar. – Ulrike Fischer Jan 8 '18 at 8:55
  • 1
    related bug report: github.com/texstudio-org/texstudio/issues/87 – user36296 Apr 11 '18 at 8:22
  • 1
    To those that don't frequent github (and face this issue), apparantly the issue is fixed now: github.com/texstudio-org/texstudio/issues/…. Try the snapshots (>git afd3df8) from bintray.com/sunderme/texstudio. – Troy Apr 28 '18 at 18:42
  • 1
    @Troy Thank you for your answer and for not eating cute yellow ducks :) – user36296 May 1 '18 at 12:18

This behaviour was also reported in the Github issue tracker for TeXstudio, and is now fixed in the Github repository, as of TXS 2.12.9 (git afd3df8).

Until this is included in the next official release however (currently, the stable release is TXS 2.12.8), you may either compile TXS yourself or,

  • for OSX and Win: download snapshots (> git_afd3df8) from here, under the "Files" tab;
  • for Ubuntu: see instructions here. Basically:

    sudo add-apt-repository ppa:sunderme/texstudio-daily
    sudo apt-get update

If the issue is not fully resolved, leave a comment here, but more importantly, continue the conversation on Github issues (i.e., report it to the devs as well).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.