How to mark a segment?











up vote
3
down vote

favorite












documentclass[12pt]{article}
usepackage{amsmath,amssymb,newcent}
usepackage{pstricks,pst-eucl}
usepackage{auto-pst-pdf}
begin{document}

begin{pspicture}
pstGeonode[PosAngle={90,0,-90}](1,2){M_1}(2,1){M_2}(1,0){M_3}
pstSegmentMark{M_1}{M_2} %%%%pstSegmentMark
pstSegmentMark{M_2}{M_3}
pstSegmentMark{M_3}{M_1}
end{pspicture}

begin{pspicture}
pstGeonode[PosAngle={90,0,-90}](1,2){M_1}(2,1){M_2}(1,0){M_3}
pstMarkSegment{M_1}{M_2} %%%%pstMarkSegment
pstMarkSegment{M_2}{M_3}
pstMarkSegment{M_3}{M_1}
end{pspicture}
end{document}


The result of compiling :



enter image description here



In pst-eucl documentation (v.1.59), the general syntax is :



enter image description here



But in the latter example, the syntax is :



enter image description here



The default value of is MarkHashh, not pstslashh.



Question:



According to the above result, pstMarkSegment is failed, Should I choose one ?










share|improve this question




























    up vote
    3
    down vote

    favorite












    documentclass[12pt]{article}
    usepackage{amsmath,amssymb,newcent}
    usepackage{pstricks,pst-eucl}
    usepackage{auto-pst-pdf}
    begin{document}

    begin{pspicture}
    pstGeonode[PosAngle={90,0,-90}](1,2){M_1}(2,1){M_2}(1,0){M_3}
    pstSegmentMark{M_1}{M_2} %%%%pstSegmentMark
    pstSegmentMark{M_2}{M_3}
    pstSegmentMark{M_3}{M_1}
    end{pspicture}

    begin{pspicture}
    pstGeonode[PosAngle={90,0,-90}](1,2){M_1}(2,1){M_2}(1,0){M_3}
    pstMarkSegment{M_1}{M_2} %%%%pstMarkSegment
    pstMarkSegment{M_2}{M_3}
    pstMarkSegment{M_3}{M_1}
    end{pspicture}
    end{document}


    The result of compiling :



    enter image description here



    In pst-eucl documentation (v.1.59), the general syntax is :



    enter image description here



    But in the latter example, the syntax is :



    enter image description here



    The default value of is MarkHashh, not pstslashh.



    Question:



    According to the above result, pstMarkSegment is failed, Should I choose one ?










    share|improve this question


























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      documentclass[12pt]{article}
      usepackage{amsmath,amssymb,newcent}
      usepackage{pstricks,pst-eucl}
      usepackage{auto-pst-pdf}
      begin{document}

      begin{pspicture}
      pstGeonode[PosAngle={90,0,-90}](1,2){M_1}(2,1){M_2}(1,0){M_3}
      pstSegmentMark{M_1}{M_2} %%%%pstSegmentMark
      pstSegmentMark{M_2}{M_3}
      pstSegmentMark{M_3}{M_1}
      end{pspicture}

      begin{pspicture}
      pstGeonode[PosAngle={90,0,-90}](1,2){M_1}(2,1){M_2}(1,0){M_3}
      pstMarkSegment{M_1}{M_2} %%%%pstMarkSegment
      pstMarkSegment{M_2}{M_3}
      pstMarkSegment{M_3}{M_1}
      end{pspicture}
      end{document}


      The result of compiling :



      enter image description here



      In pst-eucl documentation (v.1.59), the general syntax is :



      enter image description here



      But in the latter example, the syntax is :



      enter image description here



      The default value of is MarkHashh, not pstslashh.



      Question:



      According to the above result, pstMarkSegment is failed, Should I choose one ?










      share|improve this question















      documentclass[12pt]{article}
      usepackage{amsmath,amssymb,newcent}
      usepackage{pstricks,pst-eucl}
      usepackage{auto-pst-pdf}
      begin{document}

      begin{pspicture}
      pstGeonode[PosAngle={90,0,-90}](1,2){M_1}(2,1){M_2}(1,0){M_3}
      pstSegmentMark{M_1}{M_2} %%%%pstSegmentMark
      pstSegmentMark{M_2}{M_3}
      pstSegmentMark{M_3}{M_1}
      end{pspicture}

      begin{pspicture}
      pstGeonode[PosAngle={90,0,-90}](1,2){M_1}(2,1){M_2}(1,0){M_3}
      pstMarkSegment{M_1}{M_2} %%%%pstMarkSegment
      pstMarkSegment{M_2}{M_3}
      pstMarkSegment{M_3}{M_1}
      end{pspicture}
      end{document}


      The result of compiling :



      enter image description here



      In pst-eucl documentation (v.1.59), the general syntax is :



      enter image description here



      But in the latter example, the syntax is :



      enter image description here



      The default value of is MarkHashh, not pstslashh.



      Question:



      According to the above result, pstMarkSegment is failed, Should I choose one ?







      pstricks pst-eucl






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      Artificial Stupidity

      4,88111039




      4,88111039










      asked Dec 9 at 5:58









      chishimotoji

      577212




      577212






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          You should consider the following.



          enter image description here



          Edit



          Responding to your comment below.



          documentclass[pstricks,border=12pt,12pt]{standalone}
          usepackage{pst-eucl}

          begin{document}
          multido{i=0+30}{12}{%
          begin{pspicture}(5,5)
          pstGeonode(0,0){O}(4,4){A}
          uput[180](A){Angle = $i^circ$}
          pstSegmentMark[SegmentSymbol=MarkHashhh,MarkAngle=i]{O}{A}
          end{pspicture}}
          end{document}


          enter image description here






          share|improve this answer























          • Can you give me for an example about the parameter SegmentSymbol and the parameter MarkAngle. I don't know.
            – chishimotoji
            Dec 9 at 7:59






          • 1




            @chishimotoji: Navigate to this tutorial.
            – Artificial Stupidity
            Dec 9 at 8:38




















          up vote
          3
          down vote













          It is a typo in the documentation. The code beside the examples is always correct. Hence it should be pstSegmentMark. See also http://comedy.dante.de/~herbert/TeXnik/doc/generic/pst-eucl/



          For something like SegmentSymbol=... use the name without the preceeding backslash. However, there also exists the macros with the same name, eg MarkHash which can be used for other purposes.






          share|improve this answer























          • The default value is MarkHashh, not pstslashh. Can you explain to me about it?
            – chishimotoji
            Dec 9 at 6:59












          • Also a typo. However, the current version is 1.60, you should first update your TeX distribution.
            – Herbert
            Dec 9 at 7:37






          • 1




            Are you sure??? No change in v1.6
            – chishimotoji
            Dec 9 at 7:53










          • @chishimotoji: However, I'll upload a 1.60a, which has the correct naming.
            – Herbert
            Dec 9 at 8:12






          • 1




            I think it is better to replace the last 2 segments (in the given example of the documentation) with pstSegmentMark[MarkAngle=45,SegmentSymbol=MarkHash]{D}{E} pstSegmentMark[MarkAngle=30,SegmentSymbol=MarkCross]{E}{A} to illustrate how to use SegmentSymbol and MarkAngle.
            – Artificial Stupidity
            Dec 9 at 8:33













          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: 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%2ftex.stackexchange.com%2fquestions%2f463901%2fhow-to-mark-a-segment%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          You should consider the following.



          enter image description here



          Edit



          Responding to your comment below.



          documentclass[pstricks,border=12pt,12pt]{standalone}
          usepackage{pst-eucl}

          begin{document}
          multido{i=0+30}{12}{%
          begin{pspicture}(5,5)
          pstGeonode(0,0){O}(4,4){A}
          uput[180](A){Angle = $i^circ$}
          pstSegmentMark[SegmentSymbol=MarkHashhh,MarkAngle=i]{O}{A}
          end{pspicture}}
          end{document}


          enter image description here






          share|improve this answer























          • Can you give me for an example about the parameter SegmentSymbol and the parameter MarkAngle. I don't know.
            – chishimotoji
            Dec 9 at 7:59






          • 1




            @chishimotoji: Navigate to this tutorial.
            – Artificial Stupidity
            Dec 9 at 8:38

















          up vote
          2
          down vote



          accepted










          You should consider the following.



          enter image description here



          Edit



          Responding to your comment below.



          documentclass[pstricks,border=12pt,12pt]{standalone}
          usepackage{pst-eucl}

          begin{document}
          multido{i=0+30}{12}{%
          begin{pspicture}(5,5)
          pstGeonode(0,0){O}(4,4){A}
          uput[180](A){Angle = $i^circ$}
          pstSegmentMark[SegmentSymbol=MarkHashhh,MarkAngle=i]{O}{A}
          end{pspicture}}
          end{document}


          enter image description here






          share|improve this answer























          • Can you give me for an example about the parameter SegmentSymbol and the parameter MarkAngle. I don't know.
            – chishimotoji
            Dec 9 at 7:59






          • 1




            @chishimotoji: Navigate to this tutorial.
            – Artificial Stupidity
            Dec 9 at 8:38















          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          You should consider the following.



          enter image description here



          Edit



          Responding to your comment below.



          documentclass[pstricks,border=12pt,12pt]{standalone}
          usepackage{pst-eucl}

          begin{document}
          multido{i=0+30}{12}{%
          begin{pspicture}(5,5)
          pstGeonode(0,0){O}(4,4){A}
          uput[180](A){Angle = $i^circ$}
          pstSegmentMark[SegmentSymbol=MarkHashhh,MarkAngle=i]{O}{A}
          end{pspicture}}
          end{document}


          enter image description here






          share|improve this answer














          You should consider the following.



          enter image description here



          Edit



          Responding to your comment below.



          documentclass[pstricks,border=12pt,12pt]{standalone}
          usepackage{pst-eucl}

          begin{document}
          multido{i=0+30}{12}{%
          begin{pspicture}(5,5)
          pstGeonode(0,0){O}(4,4){A}
          uput[180](A){Angle = $i^circ$}
          pstSegmentMark[SegmentSymbol=MarkHashhh,MarkAngle=i]{O}{A}
          end{pspicture}}
          end{document}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 9 at 8:06

























          answered Dec 9 at 7:50









          Artificial Stupidity

          4,88111039




          4,88111039












          • Can you give me for an example about the parameter SegmentSymbol and the parameter MarkAngle. I don't know.
            – chishimotoji
            Dec 9 at 7:59






          • 1




            @chishimotoji: Navigate to this tutorial.
            – Artificial Stupidity
            Dec 9 at 8:38




















          • Can you give me for an example about the parameter SegmentSymbol and the parameter MarkAngle. I don't know.
            – chishimotoji
            Dec 9 at 7:59






          • 1




            @chishimotoji: Navigate to this tutorial.
            – Artificial Stupidity
            Dec 9 at 8:38


















          Can you give me for an example about the parameter SegmentSymbol and the parameter MarkAngle. I don't know.
          – chishimotoji
          Dec 9 at 7:59




          Can you give me for an example about the parameter SegmentSymbol and the parameter MarkAngle. I don't know.
          – chishimotoji
          Dec 9 at 7:59




          1




          1




          @chishimotoji: Navigate to this tutorial.
          – Artificial Stupidity
          Dec 9 at 8:38






          @chishimotoji: Navigate to this tutorial.
          – Artificial Stupidity
          Dec 9 at 8:38












          up vote
          3
          down vote













          It is a typo in the documentation. The code beside the examples is always correct. Hence it should be pstSegmentMark. See also http://comedy.dante.de/~herbert/TeXnik/doc/generic/pst-eucl/



          For something like SegmentSymbol=... use the name without the preceeding backslash. However, there also exists the macros with the same name, eg MarkHash which can be used for other purposes.






          share|improve this answer























          • The default value is MarkHashh, not pstslashh. Can you explain to me about it?
            – chishimotoji
            Dec 9 at 6:59












          • Also a typo. However, the current version is 1.60, you should first update your TeX distribution.
            – Herbert
            Dec 9 at 7:37






          • 1




            Are you sure??? No change in v1.6
            – chishimotoji
            Dec 9 at 7:53










          • @chishimotoji: However, I'll upload a 1.60a, which has the correct naming.
            – Herbert
            Dec 9 at 8:12






          • 1




            I think it is better to replace the last 2 segments (in the given example of the documentation) with pstSegmentMark[MarkAngle=45,SegmentSymbol=MarkHash]{D}{E} pstSegmentMark[MarkAngle=30,SegmentSymbol=MarkCross]{E}{A} to illustrate how to use SegmentSymbol and MarkAngle.
            – Artificial Stupidity
            Dec 9 at 8:33

















          up vote
          3
          down vote













          It is a typo in the documentation. The code beside the examples is always correct. Hence it should be pstSegmentMark. See also http://comedy.dante.de/~herbert/TeXnik/doc/generic/pst-eucl/



          For something like SegmentSymbol=... use the name without the preceeding backslash. However, there also exists the macros with the same name, eg MarkHash which can be used for other purposes.






          share|improve this answer























          • The default value is MarkHashh, not pstslashh. Can you explain to me about it?
            – chishimotoji
            Dec 9 at 6:59












          • Also a typo. However, the current version is 1.60, you should first update your TeX distribution.
            – Herbert
            Dec 9 at 7:37






          • 1




            Are you sure??? No change in v1.6
            – chishimotoji
            Dec 9 at 7:53










          • @chishimotoji: However, I'll upload a 1.60a, which has the correct naming.
            – Herbert
            Dec 9 at 8:12






          • 1




            I think it is better to replace the last 2 segments (in the given example of the documentation) with pstSegmentMark[MarkAngle=45,SegmentSymbol=MarkHash]{D}{E} pstSegmentMark[MarkAngle=30,SegmentSymbol=MarkCross]{E}{A} to illustrate how to use SegmentSymbol and MarkAngle.
            – Artificial Stupidity
            Dec 9 at 8:33















          up vote
          3
          down vote










          up vote
          3
          down vote









          It is a typo in the documentation. The code beside the examples is always correct. Hence it should be pstSegmentMark. See also http://comedy.dante.de/~herbert/TeXnik/doc/generic/pst-eucl/



          For something like SegmentSymbol=... use the name without the preceeding backslash. However, there also exists the macros with the same name, eg MarkHash which can be used for other purposes.






          share|improve this answer














          It is a typo in the documentation. The code beside the examples is always correct. Hence it should be pstSegmentMark. See also http://comedy.dante.de/~herbert/TeXnik/doc/generic/pst-eucl/



          For something like SegmentSymbol=... use the name without the preceeding backslash. However, there also exists the macros with the same name, eg MarkHash which can be used for other purposes.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 9 at 8:18

























          answered Dec 9 at 6:54









          Herbert

          267k23406716




          267k23406716












          • The default value is MarkHashh, not pstslashh. Can you explain to me about it?
            – chishimotoji
            Dec 9 at 6:59












          • Also a typo. However, the current version is 1.60, you should first update your TeX distribution.
            – Herbert
            Dec 9 at 7:37






          • 1




            Are you sure??? No change in v1.6
            – chishimotoji
            Dec 9 at 7:53










          • @chishimotoji: However, I'll upload a 1.60a, which has the correct naming.
            – Herbert
            Dec 9 at 8:12






          • 1




            I think it is better to replace the last 2 segments (in the given example of the documentation) with pstSegmentMark[MarkAngle=45,SegmentSymbol=MarkHash]{D}{E} pstSegmentMark[MarkAngle=30,SegmentSymbol=MarkCross]{E}{A} to illustrate how to use SegmentSymbol and MarkAngle.
            – Artificial Stupidity
            Dec 9 at 8:33




















          • The default value is MarkHashh, not pstslashh. Can you explain to me about it?
            – chishimotoji
            Dec 9 at 6:59












          • Also a typo. However, the current version is 1.60, you should first update your TeX distribution.
            – Herbert
            Dec 9 at 7:37






          • 1




            Are you sure??? No change in v1.6
            – chishimotoji
            Dec 9 at 7:53










          • @chishimotoji: However, I'll upload a 1.60a, which has the correct naming.
            – Herbert
            Dec 9 at 8:12






          • 1




            I think it is better to replace the last 2 segments (in the given example of the documentation) with pstSegmentMark[MarkAngle=45,SegmentSymbol=MarkHash]{D}{E} pstSegmentMark[MarkAngle=30,SegmentSymbol=MarkCross]{E}{A} to illustrate how to use SegmentSymbol and MarkAngle.
            – Artificial Stupidity
            Dec 9 at 8:33


















          The default value is MarkHashh, not pstslashh. Can you explain to me about it?
          – chishimotoji
          Dec 9 at 6:59






          The default value is MarkHashh, not pstslashh. Can you explain to me about it?
          – chishimotoji
          Dec 9 at 6:59














          Also a typo. However, the current version is 1.60, you should first update your TeX distribution.
          – Herbert
          Dec 9 at 7:37




          Also a typo. However, the current version is 1.60, you should first update your TeX distribution.
          – Herbert
          Dec 9 at 7:37




          1




          1




          Are you sure??? No change in v1.6
          – chishimotoji
          Dec 9 at 7:53




          Are you sure??? No change in v1.6
          – chishimotoji
          Dec 9 at 7:53












          @chishimotoji: However, I'll upload a 1.60a, which has the correct naming.
          – Herbert
          Dec 9 at 8:12




          @chishimotoji: However, I'll upload a 1.60a, which has the correct naming.
          – Herbert
          Dec 9 at 8:12




          1




          1




          I think it is better to replace the last 2 segments (in the given example of the documentation) with pstSegmentMark[MarkAngle=45,SegmentSymbol=MarkHash]{D}{E} pstSegmentMark[MarkAngle=30,SegmentSymbol=MarkCross]{E}{A} to illustrate how to use SegmentSymbol and MarkAngle.
          – Artificial Stupidity
          Dec 9 at 8:33






          I think it is better to replace the last 2 segments (in the given example of the documentation) with pstSegmentMark[MarkAngle=45,SegmentSymbol=MarkHash]{D}{E} pstSegmentMark[MarkAngle=30,SegmentSymbol=MarkCross]{E}{A} to illustrate how to use SegmentSymbol and MarkAngle.
          – Artificial Stupidity
          Dec 9 at 8:33




















          draft saved

          draft discarded




















































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





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2ftex.stackexchange.com%2fquestions%2f463901%2fhow-to-mark-a-segment%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

          If I really need a card on my start hand, how many mulligans make sense? [duplicate]

          Alcedinidae

          Can an atomic nucleus contain both particles and antiparticles? [duplicate]