Can't add square root symbol in Geonode Name

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I'm a beginner with LaTex and i'm stuck with the following error.



http://prntscr.com/lcc8re



What i'm trying to do is have a point (i'm using the Geonode from the pst-euclide package) that looks like this
http://prntscr.com/lcca67



I don't understand my mistake, it seems that any combination of formula that contains a square root isn't acceptable as a name for the node



Here's my code



documentclass[pstricks,border=12pt]standalone
usepackagepst-plot
usepackagepst-eucl
usepackageauto-pst-pdf

beginpspicture(-1.5,-1.5)(1.5,1.5)

psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
pscircle(0,0)1
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)

endpspicture

enddocument


Thanks a lot for the help










share|improve this question







New contributor




Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2




    You missed begindocument
    – Sigur
    31 mins ago














up vote
3
down vote

favorite












I'm a beginner with LaTex and i'm stuck with the following error.



http://prntscr.com/lcc8re



What i'm trying to do is have a point (i'm using the Geonode from the pst-euclide package) that looks like this
http://prntscr.com/lcca67



I don't understand my mistake, it seems that any combination of formula that contains a square root isn't acceptable as a name for the node



Here's my code



documentclass[pstricks,border=12pt]standalone
usepackagepst-plot
usepackagepst-eucl
usepackageauto-pst-pdf

beginpspicture(-1.5,-1.5)(1.5,1.5)

psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
pscircle(0,0)1
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)

endpspicture

enddocument


Thanks a lot for the help










share|improve this question







New contributor




Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2




    You missed begindocument
    – Sigur
    31 mins ago












up vote
3
down vote

favorite









up vote
3
down vote

favorite











I'm a beginner with LaTex and i'm stuck with the following error.



http://prntscr.com/lcc8re



What i'm trying to do is have a point (i'm using the Geonode from the pst-euclide package) that looks like this
http://prntscr.com/lcca67



I don't understand my mistake, it seems that any combination of formula that contains a square root isn't acceptable as a name for the node



Here's my code



documentclass[pstricks,border=12pt]standalone
usepackagepst-plot
usepackagepst-eucl
usepackageauto-pst-pdf

beginpspicture(-1.5,-1.5)(1.5,1.5)

psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
pscircle(0,0)1
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)

endpspicture

enddocument


Thanks a lot for the help










share|improve this question







New contributor




Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm a beginner with LaTex and i'm stuck with the following error.



http://prntscr.com/lcc8re



What i'm trying to do is have a point (i'm using the Geonode from the pst-euclide package) that looks like this
http://prntscr.com/lcca67



I don't understand my mistake, it seems that any combination of formula that contains a square root isn't acceptable as a name for the node



Here's my code



documentclass[pstricks,border=12pt]standalone
usepackagepst-plot
usepackagepst-eucl
usepackageauto-pst-pdf

beginpspicture(-1.5,-1.5)(1.5,1.5)

psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
pscircle(0,0)1
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)

endpspicture

enddocument


Thanks a lot for the help







nodes tkz-euclide






share|improve this question







New contributor




Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 56 mins ago









Klue

183




183




New contributor




Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Klue is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 2




    You missed begindocument
    – Sigur
    31 mins ago












  • 2




    You missed begindocument
    – Sigur
    31 mins ago







2




2




You missed begindocument
– Sigur
31 mins ago




You missed begindocument
– Sigur
31 mins ago










2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










sqrt seems to confuse pstricks.



documentclassarticle
usepackagepst-plot
usepackagepst-eucl
usepackageauto-pst-pdf
usepackageetoolbox

robustifysqrt

begindocument

beginpspicture(-1.5,-1.5)(1.5,1.5)
psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
pscircle(0,0)1
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D
pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
endpspicture

enddocument


enter image description here






share|improve this answer



























    up vote
    3
    down vote













    An alternative to @egreg's nice answer without etoolbox.



    documentclass[pstricks,border=12pt]standalone
    usepackagepst-plot
    usepackagepst-eucl
    usepackageauto-pst-pdf
    newsaveboxtmpbox
    sboxtmpbox$sqrt3$
    begindocument
    beginpspicture(-1.5,-1.5)(1.5,1.5)
    psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
    pscircle(0,0)1
    pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
    pstGeonode[PtNameMath=false,PointName=$useboxtmpbox$,PosAngle=-45](0.5,-0.866)B
    pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
    pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

    pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
    pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
    endpspicture
    enddocument


    enter image description here






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "85"
      ;
      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',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );






      Klue is a new contributor. Be nice, and check out our Code of Conduct.









       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f457576%2fcant-add-square-root-symbol-in-geonode-name%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      5
      down vote



      accepted










      sqrt seems to confuse pstricks.



      documentclassarticle
      usepackagepst-plot
      usepackagepst-eucl
      usepackageauto-pst-pdf
      usepackageetoolbox

      robustifysqrt

      begindocument

      beginpspicture(-1.5,-1.5)(1.5,1.5)
      psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
      pscircle(0,0)1
      pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
      pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
      pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
      pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D
      pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
      pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
      endpspicture

      enddocument


      enter image description here






      share|improve this answer
























        up vote
        5
        down vote



        accepted










        sqrt seems to confuse pstricks.



        documentclassarticle
        usepackagepst-plot
        usepackagepst-eucl
        usepackageauto-pst-pdf
        usepackageetoolbox

        robustifysqrt

        begindocument

        beginpspicture(-1.5,-1.5)(1.5,1.5)
        psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
        pscircle(0,0)1
        pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
        pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
        pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
        pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D
        pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
        pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
        endpspicture

        enddocument


        enter image description here






        share|improve this answer






















          up vote
          5
          down vote



          accepted







          up vote
          5
          down vote



          accepted






          sqrt seems to confuse pstricks.



          documentclassarticle
          usepackagepst-plot
          usepackagepst-eucl
          usepackageauto-pst-pdf
          usepackageetoolbox

          robustifysqrt

          begindocument

          beginpspicture(-1.5,-1.5)(1.5,1.5)
          psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
          pscircle(0,0)1
          pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
          pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
          pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
          pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D
          pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
          pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
          endpspicture

          enddocument


          enter image description here






          share|improve this answer












          sqrt seems to confuse pstricks.



          documentclassarticle
          usepackagepst-plot
          usepackagepst-eucl
          usepackageauto-pst-pdf
          usepackageetoolbox

          robustifysqrt

          begindocument

          beginpspicture(-1.5,-1.5)(1.5,1.5)
          psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
          pscircle(0,0)1
          pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
          pstGeonode[PtNameMath=false,PointName=$sqrt3$,PosAngle=-45](0.5,-0.866)B
          pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
          pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D
          pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
          pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
          endpspicture

          enddocument


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 20 mins ago









          egreg

          693k8518443095




          693k8518443095




















              up vote
              3
              down vote













              An alternative to @egreg's nice answer without etoolbox.



              documentclass[pstricks,border=12pt]standalone
              usepackagepst-plot
              usepackagepst-eucl
              usepackageauto-pst-pdf
              newsaveboxtmpbox
              sboxtmpbox$sqrt3$
              begindocument
              beginpspicture(-1.5,-1.5)(1.5,1.5)
              psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
              pscircle(0,0)1
              pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
              pstGeonode[PtNameMath=false,PointName=$useboxtmpbox$,PosAngle=-45](0.5,-0.866)B
              pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
              pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

              pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
              pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
              endpspicture
              enddocument


              enter image description here






              share|improve this answer
























                up vote
                3
                down vote













                An alternative to @egreg's nice answer without etoolbox.



                documentclass[pstricks,border=12pt]standalone
                usepackagepst-plot
                usepackagepst-eucl
                usepackageauto-pst-pdf
                newsaveboxtmpbox
                sboxtmpbox$sqrt3$
                begindocument
                beginpspicture(-1.5,-1.5)(1.5,1.5)
                psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
                pscircle(0,0)1
                pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
                pstGeonode[PtNameMath=false,PointName=$useboxtmpbox$,PosAngle=-45](0.5,-0.866)B
                pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
                pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

                pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
                pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
                endpspicture
                enddocument


                enter image description here






                share|improve this answer






















                  up vote
                  3
                  down vote










                  up vote
                  3
                  down vote









                  An alternative to @egreg's nice answer without etoolbox.



                  documentclass[pstricks,border=12pt]standalone
                  usepackagepst-plot
                  usepackagepst-eucl
                  usepackageauto-pst-pdf
                  newsaveboxtmpbox
                  sboxtmpbox$sqrt3$
                  begindocument
                  beginpspicture(-1.5,-1.5)(1.5,1.5)
                  psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
                  pscircle(0,0)1
                  pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
                  pstGeonode[PtNameMath=false,PointName=$useboxtmpbox$,PosAngle=-45](0.5,-0.866)B
                  pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
                  pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

                  pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
                  pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
                  endpspicture
                  enddocument


                  enter image description here






                  share|improve this answer












                  An alternative to @egreg's nice answer without etoolbox.



                  documentclass[pstricks,border=12pt]standalone
                  usepackagepst-plot
                  usepackagepst-eucl
                  usepackageauto-pst-pdf
                  newsaveboxtmpbox
                  sboxtmpbox$sqrt3$
                  begindocument
                  beginpspicture(-1.5,-1.5)(1.5,1.5)
                  psaxes[linecolor=gray,tickcolor=gray,labels=none]->(0,0)(-1.5,-1.5)(1.5,1.5)[$r$,0][$i$,90]
                  pscircle(0,0)1
                  pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=45](0.5,0.866)A
                  pstGeonode[PtNameMath=false,PointName=$useboxtmpbox$,PosAngle=-45](0.5,-0.866)B
                  pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=135](-0.5,0.866)C
                  pstGeonode[PtNameMath=false,PointName=$e^jvarphi$,PosAngle=-135](-0.5,-0.866)D

                  pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](A)(B)
                  pcline[linestyle=dashed,linecolor=gray,linewidth=0.5pt](C)(D)
                  endpspicture
                  enddocument


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 16 mins ago









                  marmot

                  70k476149




                  70k476149




















                      Klue is a new contributor. Be nice, and check out our Code of Conduct.









                       

                      draft saved


                      draft discarded


















                      Klue is a new contributor. Be nice, and check out our Code of Conduct.












                      Klue is a new contributor. Be nice, and check out our Code of Conduct.











                      Klue is a new contributor. Be nice, and check out our Code of Conduct.













                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f457576%2fcant-add-square-root-symbol-in-geonode-name%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      Long meetings (6-7 hours a day): Being “babysat” by supervisor

                      Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                      Confectionery