LaTeX closing $ signs makes cursor jump Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How to get rainbow-delimiters/rainbow-blocks to highlight in-line math in LaTeX equationsDetection inside general LaTeX (not necessarily Math) commandsVim-LaTeX-Suite Macros in AucTeX / EmacsExporting unicode characters to pdf using latex from org modeAutomatic close evil-make bufferHow do I preview latex math in org mode without generating image files?Don't complain about unmatching parenthesis and brackets in latex math modeFixed width font in LatexLimitations of latex mode inline math syntax highlightingOrg latex exports $ … $ math as ( … ) : can this be avoided?

Can I take recommendation from someone I met at a conference?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

A journey... into the MIND

Why is one lightbulb in a string illuminated?

Proving inequality for positive definite matrix

FME Console for testing

How to produce a PS1 prompt in bash or ksh93 similar to tcsh

Who's this lady in the war room?

Married in secret, can marital status in passport be changed at a later date?

How to create a command for the "strange m" symbol in latex?

How to mute a string and play another at the same time

Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?

/bin/ls sorts differently than just ls

Can gravitational waves pass through a black hole?

How to keep bees out of canned beverages?

Can this water damage be explained by lack of gutters and grading issues?

How to leave only the following strings?

Is Bran literally the world's memory?

Has a Nobel Peace laureate ever been accused of war crimes?

Why aren't these two solutions equivalent? Combinatorics problem

"Destructive force" carried by a B-52?

Kepler's 3rd law: ratios don't fit data

Who can become a wight?

What's the connection between Mr. Nancy and fried chicken?



LaTeX closing $ signs makes cursor jump



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How to get rainbow-delimiters/rainbow-blocks to highlight in-line math in LaTeX equationsDetection inside general LaTeX (not necessarily Math) commandsVim-LaTeX-Suite Macros in AucTeX / EmacsExporting unicode characters to pdf using latex from org modeAutomatic close evil-make bufferHow do I preview latex math in org mode without generating image files?Don't complain about unmatching parenthesis and brackets in latex math modeFixed width font in LatexLimitations of latex mode inline math syntax highlightingOrg latex exports $ … $ math as ( … ) : can this be avoided?










5















I'm in LaTeX/PS mode and whenever I close my $ math statements the cursor jumps to the first $ and back to the closing $. How can I disable this?










share|improve this question


























    5















    I'm in LaTeX/PS mode and whenever I close my $ math statements the cursor jumps to the first $ and back to the closing $. How can I disable this?










    share|improve this question
























      5












      5








      5








      I'm in LaTeX/PS mode and whenever I close my $ math statements the cursor jumps to the first $ and back to the closing $. How can I disable this?










      share|improve this question














      I'm in LaTeX/PS mode and whenever I close my $ math statements the cursor jumps to the first $ and back to the closing $. How can I disable this?







      latex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 6 at 18:41









      user1766555user1766555

      1283




      1283




















          1 Answer
          1






          active

          oldest

          votes


















          6














          I assume that you are using AUCTeX. According to the documentation of TeX-insert-dollar among other things the following happens if you input the closing $ sign:




          Show matching dollar sign if this dollar sign ends
          the TeX math mode and ‘blink-matching-paren’ is non-nil.




          What you can do is to set blink-matching-paren to nil.



          EDIT: This will also affect the behaviour of emacs when you input a closing parenthesis etc., but you can use other modes e.g. show-paren-mode to still highlight the opening parenthesis.






          share|improve this answer

























          • Yes, I'm using AUCTeX. What is supposed to happen for closing parenthesis? I don't think I see anything happen.

            – user1766555
            Apr 6 at 20:03






          • 1





            For parentesis I see the same behaviour that you describe for $, i.e. from ) the cursor jumps to ( if blink-matching-paren is set to t. But if you don't like this behaviour anyway then this should be fine.

            – andrej
            Apr 6 at 20:09











          • I see the first parenthesis gets highlighted when closing, but it doesn't make my cursor jump back and fourth like with $. Is it because I am using emacs evil mode? blink-matching-paren is set to t

            – user1766555
            Apr 6 at 20:11







          • 1





            You are right! There is no jumping of the cursor but only highlighting. Maybe you have (as do I) the show-paren-mode activated. Without that and blink-matching-paren set to nil there is no highlighting on my system.

            – andrej
            Apr 6 at 20:21











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "583"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f48793%2flatex-closing-signs-makes-cursor-jump%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          6














          I assume that you are using AUCTeX. According to the documentation of TeX-insert-dollar among other things the following happens if you input the closing $ sign:




          Show matching dollar sign if this dollar sign ends
          the TeX math mode and ‘blink-matching-paren’ is non-nil.




          What you can do is to set blink-matching-paren to nil.



          EDIT: This will also affect the behaviour of emacs when you input a closing parenthesis etc., but you can use other modes e.g. show-paren-mode to still highlight the opening parenthesis.






          share|improve this answer

























          • Yes, I'm using AUCTeX. What is supposed to happen for closing parenthesis? I don't think I see anything happen.

            – user1766555
            Apr 6 at 20:03






          • 1





            For parentesis I see the same behaviour that you describe for $, i.e. from ) the cursor jumps to ( if blink-matching-paren is set to t. But if you don't like this behaviour anyway then this should be fine.

            – andrej
            Apr 6 at 20:09











          • I see the first parenthesis gets highlighted when closing, but it doesn't make my cursor jump back and fourth like with $. Is it because I am using emacs evil mode? blink-matching-paren is set to t

            – user1766555
            Apr 6 at 20:11







          • 1





            You are right! There is no jumping of the cursor but only highlighting. Maybe you have (as do I) the show-paren-mode activated. Without that and blink-matching-paren set to nil there is no highlighting on my system.

            – andrej
            Apr 6 at 20:21















          6














          I assume that you are using AUCTeX. According to the documentation of TeX-insert-dollar among other things the following happens if you input the closing $ sign:




          Show matching dollar sign if this dollar sign ends
          the TeX math mode and ‘blink-matching-paren’ is non-nil.




          What you can do is to set blink-matching-paren to nil.



          EDIT: This will also affect the behaviour of emacs when you input a closing parenthesis etc., but you can use other modes e.g. show-paren-mode to still highlight the opening parenthesis.






          share|improve this answer

























          • Yes, I'm using AUCTeX. What is supposed to happen for closing parenthesis? I don't think I see anything happen.

            – user1766555
            Apr 6 at 20:03






          • 1





            For parentesis I see the same behaviour that you describe for $, i.e. from ) the cursor jumps to ( if blink-matching-paren is set to t. But if you don't like this behaviour anyway then this should be fine.

            – andrej
            Apr 6 at 20:09











          • I see the first parenthesis gets highlighted when closing, but it doesn't make my cursor jump back and fourth like with $. Is it because I am using emacs evil mode? blink-matching-paren is set to t

            – user1766555
            Apr 6 at 20:11







          • 1





            You are right! There is no jumping of the cursor but only highlighting. Maybe you have (as do I) the show-paren-mode activated. Without that and blink-matching-paren set to nil there is no highlighting on my system.

            – andrej
            Apr 6 at 20:21













          6












          6








          6







          I assume that you are using AUCTeX. According to the documentation of TeX-insert-dollar among other things the following happens if you input the closing $ sign:




          Show matching dollar sign if this dollar sign ends
          the TeX math mode and ‘blink-matching-paren’ is non-nil.




          What you can do is to set blink-matching-paren to nil.



          EDIT: This will also affect the behaviour of emacs when you input a closing parenthesis etc., but you can use other modes e.g. show-paren-mode to still highlight the opening parenthesis.






          share|improve this answer















          I assume that you are using AUCTeX. According to the documentation of TeX-insert-dollar among other things the following happens if you input the closing $ sign:




          Show matching dollar sign if this dollar sign ends
          the TeX math mode and ‘blink-matching-paren’ is non-nil.




          What you can do is to set blink-matching-paren to nil.



          EDIT: This will also affect the behaviour of emacs when you input a closing parenthesis etc., but you can use other modes e.g. show-paren-mode to still highlight the opening parenthesis.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 6 at 20:32

























          answered Apr 6 at 19:54









          andrejandrej

          752413




          752413












          • Yes, I'm using AUCTeX. What is supposed to happen for closing parenthesis? I don't think I see anything happen.

            – user1766555
            Apr 6 at 20:03






          • 1





            For parentesis I see the same behaviour that you describe for $, i.e. from ) the cursor jumps to ( if blink-matching-paren is set to t. But if you don't like this behaviour anyway then this should be fine.

            – andrej
            Apr 6 at 20:09











          • I see the first parenthesis gets highlighted when closing, but it doesn't make my cursor jump back and fourth like with $. Is it because I am using emacs evil mode? blink-matching-paren is set to t

            – user1766555
            Apr 6 at 20:11







          • 1





            You are right! There is no jumping of the cursor but only highlighting. Maybe you have (as do I) the show-paren-mode activated. Without that and blink-matching-paren set to nil there is no highlighting on my system.

            – andrej
            Apr 6 at 20:21

















          • Yes, I'm using AUCTeX. What is supposed to happen for closing parenthesis? I don't think I see anything happen.

            – user1766555
            Apr 6 at 20:03






          • 1





            For parentesis I see the same behaviour that you describe for $, i.e. from ) the cursor jumps to ( if blink-matching-paren is set to t. But if you don't like this behaviour anyway then this should be fine.

            – andrej
            Apr 6 at 20:09











          • I see the first parenthesis gets highlighted when closing, but it doesn't make my cursor jump back and fourth like with $. Is it because I am using emacs evil mode? blink-matching-paren is set to t

            – user1766555
            Apr 6 at 20:11







          • 1





            You are right! There is no jumping of the cursor but only highlighting. Maybe you have (as do I) the show-paren-mode activated. Without that and blink-matching-paren set to nil there is no highlighting on my system.

            – andrej
            Apr 6 at 20:21
















          Yes, I'm using AUCTeX. What is supposed to happen for closing parenthesis? I don't think I see anything happen.

          – user1766555
          Apr 6 at 20:03





          Yes, I'm using AUCTeX. What is supposed to happen for closing parenthesis? I don't think I see anything happen.

          – user1766555
          Apr 6 at 20:03




          1




          1





          For parentesis I see the same behaviour that you describe for $, i.e. from ) the cursor jumps to ( if blink-matching-paren is set to t. But if you don't like this behaviour anyway then this should be fine.

          – andrej
          Apr 6 at 20:09





          For parentesis I see the same behaviour that you describe for $, i.e. from ) the cursor jumps to ( if blink-matching-paren is set to t. But if you don't like this behaviour anyway then this should be fine.

          – andrej
          Apr 6 at 20:09













          I see the first parenthesis gets highlighted when closing, but it doesn't make my cursor jump back and fourth like with $. Is it because I am using emacs evil mode? blink-matching-paren is set to t

          – user1766555
          Apr 6 at 20:11






          I see the first parenthesis gets highlighted when closing, but it doesn't make my cursor jump back and fourth like with $. Is it because I am using emacs evil mode? blink-matching-paren is set to t

          – user1766555
          Apr 6 at 20:11





          1




          1





          You are right! There is no jumping of the cursor but only highlighting. Maybe you have (as do I) the show-paren-mode activated. Without that and blink-matching-paren set to nil there is no highlighting on my system.

          – andrej
          Apr 6 at 20:21





          You are right! There is no jumping of the cursor but only highlighting. Maybe you have (as do I) the show-paren-mode activated. Without that and blink-matching-paren set to nil there is no highlighting on my system.

          – andrej
          Apr 6 at 20:21

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Emacs Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f48793%2flatex-closing-signs-makes-cursor-jump%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Marja Vauras Lähteet | Aiheesta muualla | NavigointivalikkoMarja Vauras Turun yliopiston tutkimusportaalissaInfobox OKSuomalaisen Tiedeakatemian varsinaiset jäsenetKasvatustieteiden tiedekunnan dekaanit ja muu johtoMarja VaurasKoulutusvienti on kestävyys- ja ketteryyslaji (2.5.2017)laajentamallaWorldCat Identities0000 0001 0855 9405n86069603utb201588738523620927

          Which is better: GPT or RelGAN for text generation?2019 Community Moderator ElectionWhat is the difference between TextGAN and LM for text generation?GANs (generative adversarial networks) possible for text as well?Generator loss not decreasing- text to image synthesisChoosing a right algorithm for template-based text generationHow should I format input and output for text generation with LSTMsGumbel Softmax vs Vanilla Softmax for GAN trainingWhich neural network to choose for classification from text/speech?NLP text autoencoder that generates text in poetic meterWhat is the interpretation of the expectation notation in the GAN formulation?What is the difference between TextGAN and LM for text generation?How to prepare the data for text generation task

          Is this part of the description of the Archfey warlock's Misty Escape feature redundant?When is entropic ward considered “used”?How does the reaction timing work for Wrath of the Storm? Can it potentially prevent the damage from the triggering attack?Does the Dark Arts Archlich warlock patrons's Arcane Invisibility activate every time you cast a level 1+ spell?When attacking while invisible, when exactly does invisibility break?Can I cast Hellish Rebuke on my turn?Do I have to “pre-cast” a reaction spell in order for it to be triggered?What happens if a Player Misty Escapes into an Invisible CreatureCan a reaction interrupt multiattack?Does the Fiend-patron warlock's Hurl Through Hell feature dispel effects that require the target to be on the same plane as the caster?What are you allowed to do while using the Warlock's Eldritch Master feature?