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

          Quoting Keynes in a lectureIs differentiated instruction permitted by universities?How to make students learn prerequisitesUnsatisfactory Instructor Evaluations: balancing of expectations of engineering studentsWhat is the difference between a “statistician”, “applied statistician”, and an academic applying advanced stats within their field?Listing in reference section, but not quotingHow to efficiently use time while preparing for a class?Graduate Admissions: Teaching Emphasisstrategies for sharing teaching information with universities I don't personally have contacts withIs there an efficient way to give a large class of students feedback about their assignments?Is it unreasonable to expect students to read the lecture notes before attending the first class?

          Rank groups within a grouped sequence of TRUE/FALSE and NAGrouping functions (tapply, by, aggregate) and the *apply familyCharacters counting and subletting specific patternsWhat is the purpose of setting a key in data.table?data.table vs dplyr: can one do something well the other can't or does poorly?how to make a bar plot for a list of dataframes?How to group by unique values in a list in RPandas - Alternative to rank() function that gives unique ordinal ranks for a columnRank within group in for loop in RData transformation: from dyadic to observational data in RGetting map from purrr to work with paste0

          Are all passive ability checks floors for active ability checks?Does passive perception supersede active perception?Which skills can be used passively?Active Opposition with Free-Form Professions in Fate5E Trap/Ambush/Stealth Mechanics VS Passive Perception ConfusionInteraction between perception and stealth in obscured conditionsHow does Keen Sight affect Passive Perception?Are all d20 rolls either attacks, saves or ability checks?Can players declare that they are making a specific ability check?Can I see a Hidden creature that is not obscured at all?Can a Stealth check ever be made passively?Is this alternate version of the Observant feat balanced?What is the minimum amount of skill points per HD?