Typesetting a double Over Dot on top of a symbolSingle dot textual formFixing quirky typesetting in plot labelsAn issue with formulas typesetting in Grid & ColumnTypesetting - entering derivative in traditional formTypesetting helpTypesetting for different powersTypesetting a formulaWhy doesn't the keyboard shortcut Insert->Typesetting->Nudge Up work for x[Prime]?Typesetting text with mathHow to stop font size reduction in typesetting fractions and sub- and superscripts

Email Account under attack (really) - anything I can do?

What is the command to reset a PC without deleting any files

Could Giant Ground Sloths have been a good pack animal for the ancient Mayans?

Information to fellow intern about hiring?

Why airport relocation isn't done gradually?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

What does 'script /dev/null' do?

Prime joint compound before latex paint?

What to wear for invited talk in Canada

What is the offset in a seaplane's hull?

How to deal with fear of taking dependencies

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?

Doomsday-clock for my fantasy planet

COUNT(*) or MAX(id) - which is faster?

Can I legally use front facing blue light in the UK?

"listening to me about as much as you're listening to this pole here"

Could a US political party gain complete control over the government by removing checks & balances?

Need help identifying/translating a plaque in Tangier, Morocco

extract characters between two commas?

Does a dangling wire really electrocute me if I'm standing in water?

How can I add custom success page

Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore

Why do we use polarized capacitors?



Typesetting a double Over Dot on top of a symbol


Single dot textual formFixing quirky typesetting in plot labelsAn issue with formulas typesetting in Grid & ColumnTypesetting - entering derivative in traditional formTypesetting helpTypesetting for different powersTypesetting a formulaWhy doesn't the keyboard shortcut Insert->Typesetting->Nudge Up work for x[Prime]?Typesetting text with mathHow to stop font size reduction in typesetting fractions and sub- and superscripts













2












$begingroup$


I wanted to make a notation with a double dot over a symbol in Mathematica. Searching online or in the documentation did not yield any results. However, just randomly attempting to give a second parameter to the OverDot function surprisingly did exactly what I needed:



enter image description here



I assume the red font suggests that Mathematica perceives this as a syntax mistake at some level, even though the output is as desired. Unfortunately, this does not work for three dots and more.




Is there a proper way to do this without red font appearing?











share|improve this question









$endgroup$







  • 1




    $begingroup$
    Overscript[x, ".."], Overscript[x, "..."], Overscript[x, "[Ellipsis]"]
    $endgroup$
    – Bob Hanlon
    1 hour ago






  • 2




    $begingroup$
    The code editor and documentation are not always completely in sync with the actual typesetting. This is only one of several examples. Ignore the code coloring.
    $endgroup$
    – m_goldberg
    54 mins ago















2












$begingroup$


I wanted to make a notation with a double dot over a symbol in Mathematica. Searching online or in the documentation did not yield any results. However, just randomly attempting to give a second parameter to the OverDot function surprisingly did exactly what I needed:



enter image description here



I assume the red font suggests that Mathematica perceives this as a syntax mistake at some level, even though the output is as desired. Unfortunately, this does not work for three dots and more.




Is there a proper way to do this without red font appearing?











share|improve this question









$endgroup$







  • 1




    $begingroup$
    Overscript[x, ".."], Overscript[x, "..."], Overscript[x, "[Ellipsis]"]
    $endgroup$
    – Bob Hanlon
    1 hour ago






  • 2




    $begingroup$
    The code editor and documentation are not always completely in sync with the actual typesetting. This is only one of several examples. Ignore the code coloring.
    $endgroup$
    – m_goldberg
    54 mins ago













2












2








2





$begingroup$


I wanted to make a notation with a double dot over a symbol in Mathematica. Searching online or in the documentation did not yield any results. However, just randomly attempting to give a second parameter to the OverDot function surprisingly did exactly what I needed:



enter image description here



I assume the red font suggests that Mathematica perceives this as a syntax mistake at some level, even though the output is as desired. Unfortunately, this does not work for three dots and more.




Is there a proper way to do this without red font appearing?











share|improve this question









$endgroup$




I wanted to make a notation with a double dot over a symbol in Mathematica. Searching online or in the documentation did not yield any results. However, just randomly attempting to give a second parameter to the OverDot function surprisingly did exactly what I needed:



enter image description here



I assume the red font suggests that Mathematica perceives this as a syntax mistake at some level, even though the output is as desired. Unfortunately, this does not work for three dots and more.




Is there a proper way to do this without red font appearing?








formatting






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









KagaratschKagaratsch

4,79631348




4,79631348







  • 1




    $begingroup$
    Overscript[x, ".."], Overscript[x, "..."], Overscript[x, "[Ellipsis]"]
    $endgroup$
    – Bob Hanlon
    1 hour ago






  • 2




    $begingroup$
    The code editor and documentation are not always completely in sync with the actual typesetting. This is only one of several examples. Ignore the code coloring.
    $endgroup$
    – m_goldberg
    54 mins ago












  • 1




    $begingroup$
    Overscript[x, ".."], Overscript[x, "..."], Overscript[x, "[Ellipsis]"]
    $endgroup$
    – Bob Hanlon
    1 hour ago






  • 2




    $begingroup$
    The code editor and documentation are not always completely in sync with the actual typesetting. This is only one of several examples. Ignore the code coloring.
    $endgroup$
    – m_goldberg
    54 mins ago







1




1




$begingroup$
Overscript[x, ".."], Overscript[x, "..."], Overscript[x, "[Ellipsis]"]
$endgroup$
– Bob Hanlon
1 hour ago




$begingroup$
Overscript[x, ".."], Overscript[x, "..."], Overscript[x, "[Ellipsis]"]
$endgroup$
– Bob Hanlon
1 hour ago




2




2




$begingroup$
The code editor and documentation are not always completely in sync with the actual typesetting. This is only one of several examples. Ignore the code coloring.
$endgroup$
– m_goldberg
54 mins ago




$begingroup$
The code editor and documentation are not always completely in sync with the actual typesetting. This is only one of several examples. Ignore the code coloring.
$endgroup$
– m_goldberg
54 mins ago










3 Answers
3






active

oldest

votes


















4












$begingroup$

Use ToBoxes to find the boxes generated for OverDot[x, 2]:



OverDot[x,2] //ToBoxes



OverscriptBox["x", "¨"]




You can reproduce these boxes using Overscript:



Overscript[x, RawBoxes @ "¨"]



enter image description here




You can use the same approach for triple dots:



Overscript[x, RawBoxes @ "[TripleDot]"]



enter image description here




For more dots, you will have to use a different mechanism to generate the dots, e.g.:



Overscript[x, Style[Row[".",".",".","."],FontTracking->"Condensed"]]



enter image description here







share|improve this answer









$endgroup$




















    2












    $begingroup$

    You could fix the syntax highlighting, or ignore it. Here's a fix:



    SyntaxInformation[OverDot] = "ArgumentsPattern" -> _, _.;


    Mathematica graphics






    share|improve this answer









    $endgroup$




















      1












      $begingroup$

      Go to the Basic math assistant palette and click on the template.



      enter image description here






      share|improve this answer











      $endgroup$












      • $begingroup$
        There indeed is a [DoubleDot] template, but it actually leads to an expression with the FullForm OverDot[X,2]! So the syntax is in fact intended, then I'm confused why Mathematica marks it in red font when typed in directly?
        $endgroup$
        – Kagaratsch
        2 hours ago







      • 1




        $begingroup$
        Yes... confusing. The documentation for OverDot shows only one argument... so the $2$ is somehow treated extraneously. (Perhaps a bug report is in order.)
        $endgroup$
        – David G. Stork
        2 hours ago











      Your Answer





      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("mathjaxEditing", function ()
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      );
      );
      , "mathjax-editing");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "387"
      ;
      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%2fmathematica.stackexchange.com%2fquestions%2f194850%2ftypesetting-a-double-over-dot-on-top-of-a-symbol%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4












      $begingroup$

      Use ToBoxes to find the boxes generated for OverDot[x, 2]:



      OverDot[x,2] //ToBoxes



      OverscriptBox["x", "¨"]




      You can reproduce these boxes using Overscript:



      Overscript[x, RawBoxes @ "¨"]



      enter image description here




      You can use the same approach for triple dots:



      Overscript[x, RawBoxes @ "[TripleDot]"]



      enter image description here




      For more dots, you will have to use a different mechanism to generate the dots, e.g.:



      Overscript[x, Style[Row[".",".",".","."],FontTracking->"Condensed"]]



      enter image description here







      share|improve this answer









      $endgroup$

















        4












        $begingroup$

        Use ToBoxes to find the boxes generated for OverDot[x, 2]:



        OverDot[x,2] //ToBoxes



        OverscriptBox["x", "¨"]




        You can reproduce these boxes using Overscript:



        Overscript[x, RawBoxes @ "¨"]



        enter image description here




        You can use the same approach for triple dots:



        Overscript[x, RawBoxes @ "[TripleDot]"]



        enter image description here




        For more dots, you will have to use a different mechanism to generate the dots, e.g.:



        Overscript[x, Style[Row[".",".",".","."],FontTracking->"Condensed"]]



        enter image description here







        share|improve this answer









        $endgroup$















          4












          4








          4





          $begingroup$

          Use ToBoxes to find the boxes generated for OverDot[x, 2]:



          OverDot[x,2] //ToBoxes



          OverscriptBox["x", "¨"]




          You can reproduce these boxes using Overscript:



          Overscript[x, RawBoxes @ "¨"]



          enter image description here




          You can use the same approach for triple dots:



          Overscript[x, RawBoxes @ "[TripleDot]"]



          enter image description here




          For more dots, you will have to use a different mechanism to generate the dots, e.g.:



          Overscript[x, Style[Row[".",".",".","."],FontTracking->"Condensed"]]



          enter image description here







          share|improve this answer









          $endgroup$



          Use ToBoxes to find the boxes generated for OverDot[x, 2]:



          OverDot[x,2] //ToBoxes



          OverscriptBox["x", "¨"]




          You can reproduce these boxes using Overscript:



          Overscript[x, RawBoxes @ "¨"]



          enter image description here




          You can use the same approach for triple dots:



          Overscript[x, RawBoxes @ "[TripleDot]"]



          enter image description here




          For more dots, you will have to use a different mechanism to generate the dots, e.g.:



          Overscript[x, Style[Row[".",".",".","."],FontTracking->"Condensed"]]



          enter image description here








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          Carl WollCarl Woll

          73k396188




          73k396188





















              2












              $begingroup$

              You could fix the syntax highlighting, or ignore it. Here's a fix:



              SyntaxInformation[OverDot] = "ArgumentsPattern" -> _, _.;


              Mathematica graphics






              share|improve this answer









              $endgroup$

















                2












                $begingroup$

                You could fix the syntax highlighting, or ignore it. Here's a fix:



                SyntaxInformation[OverDot] = "ArgumentsPattern" -> _, _.;


                Mathematica graphics






                share|improve this answer









                $endgroup$















                  2












                  2








                  2





                  $begingroup$

                  You could fix the syntax highlighting, or ignore it. Here's a fix:



                  SyntaxInformation[OverDot] = "ArgumentsPattern" -> _, _.;


                  Mathematica graphics






                  share|improve this answer









                  $endgroup$



                  You could fix the syntax highlighting, or ignore it. Here's a fix:



                  SyntaxInformation[OverDot] = "ArgumentsPattern" -> _, _.;


                  Mathematica graphics







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 1 hour ago









                  Michael E2Michael E2

                  150k12203482




                  150k12203482





















                      1












                      $begingroup$

                      Go to the Basic math assistant palette and click on the template.



                      enter image description here






                      share|improve this answer











                      $endgroup$












                      • $begingroup$
                        There indeed is a [DoubleDot] template, but it actually leads to an expression with the FullForm OverDot[X,2]! So the syntax is in fact intended, then I'm confused why Mathematica marks it in red font when typed in directly?
                        $endgroup$
                        – Kagaratsch
                        2 hours ago







                      • 1




                        $begingroup$
                        Yes... confusing. The documentation for OverDot shows only one argument... so the $2$ is somehow treated extraneously. (Perhaps a bug report is in order.)
                        $endgroup$
                        – David G. Stork
                        2 hours ago















                      1












                      $begingroup$

                      Go to the Basic math assistant palette and click on the template.



                      enter image description here






                      share|improve this answer











                      $endgroup$












                      • $begingroup$
                        There indeed is a [DoubleDot] template, but it actually leads to an expression with the FullForm OverDot[X,2]! So the syntax is in fact intended, then I'm confused why Mathematica marks it in red font when typed in directly?
                        $endgroup$
                        – Kagaratsch
                        2 hours ago







                      • 1




                        $begingroup$
                        Yes... confusing. The documentation for OverDot shows only one argument... so the $2$ is somehow treated extraneously. (Perhaps a bug report is in order.)
                        $endgroup$
                        – David G. Stork
                        2 hours ago













                      1












                      1








                      1





                      $begingroup$

                      Go to the Basic math assistant palette and click on the template.



                      enter image description here






                      share|improve this answer











                      $endgroup$



                      Go to the Basic math assistant palette and click on the template.



                      enter image description here







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited 2 hours ago

























                      answered 2 hours ago









                      David G. StorkDavid G. Stork

                      24.9k22155




                      24.9k22155











                      • $begingroup$
                        There indeed is a [DoubleDot] template, but it actually leads to an expression with the FullForm OverDot[X,2]! So the syntax is in fact intended, then I'm confused why Mathematica marks it in red font when typed in directly?
                        $endgroup$
                        – Kagaratsch
                        2 hours ago







                      • 1




                        $begingroup$
                        Yes... confusing. The documentation for OverDot shows only one argument... so the $2$ is somehow treated extraneously. (Perhaps a bug report is in order.)
                        $endgroup$
                        – David G. Stork
                        2 hours ago
















                      • $begingroup$
                        There indeed is a [DoubleDot] template, but it actually leads to an expression with the FullForm OverDot[X,2]! So the syntax is in fact intended, then I'm confused why Mathematica marks it in red font when typed in directly?
                        $endgroup$
                        – Kagaratsch
                        2 hours ago







                      • 1




                        $begingroup$
                        Yes... confusing. The documentation for OverDot shows only one argument... so the $2$ is somehow treated extraneously. (Perhaps a bug report is in order.)
                        $endgroup$
                        – David G. Stork
                        2 hours ago















                      $begingroup$
                      There indeed is a [DoubleDot] template, but it actually leads to an expression with the FullForm OverDot[X,2]! So the syntax is in fact intended, then I'm confused why Mathematica marks it in red font when typed in directly?
                      $endgroup$
                      – Kagaratsch
                      2 hours ago





                      $begingroup$
                      There indeed is a [DoubleDot] template, but it actually leads to an expression with the FullForm OverDot[X,2]! So the syntax is in fact intended, then I'm confused why Mathematica marks it in red font when typed in directly?
                      $endgroup$
                      – Kagaratsch
                      2 hours ago





                      1




                      1




                      $begingroup$
                      Yes... confusing. The documentation for OverDot shows only one argument... so the $2$ is somehow treated extraneously. (Perhaps a bug report is in order.)
                      $endgroup$
                      – David G. Stork
                      2 hours ago




                      $begingroup$
                      Yes... confusing. The documentation for OverDot shows only one argument... so the $2$ is somehow treated extraneously. (Perhaps a bug report is in order.)
                      $endgroup$
                      – David G. Stork
                      2 hours ago

















                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Mathematica 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.

                      Use MathJax to format equations. MathJax reference.


                      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%2fmathematica.stackexchange.com%2fquestions%2f194850%2ftypesetting-a-double-over-dot-on-top-of-a-symbol%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

                      Magento 2 - Add success message with knockout 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?Success / Error message on ajax request$.widget is not a function when loading a homepage after add custom jQuery on custom themeHow can bind jQuery to current document in Magento 2 When template load by ajaxRedirect page using plugin in Magento 2Magento 2 - Update quantity and totals of cart page without page reload?Magento 2: Quote data not loaded on knockout checkoutMagento 2 : I need to change add to cart success message after adding product into cart through pluginMagento 2.2.5 How to add additional products to cart from new checkout step?Magento 2 Add error/success message with knockoutCan't validate Post Code on checkout page

                      Fil:Tokke komm.svg

                      Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?