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

          Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

          Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

          Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?