Tick Marks in Geometry












2














Here is an excerpt from my code:



begin{tikzpicture}[scale=5.5]
coordinate[label=left:$A$] (A) at (0,0);
coordinate[label=right:$B$] (B) at (1,0);
coordinate[label=:$C$] (C) at (0.5,0.866);
draw (A)--(B)--(C)--(A);
end{tikzpicture}


I want to denote AB=BC using the tick mark notation. Also, point C isn't exactly where it should be. How can I fix that? I rounded sqrt(3)/2 to 0.866.










share|improve this question







New contributor




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
















  • 2




    Welcome to TeX.SE! Please show us -- as usual here --an short compilable code resulting in your issue ...
    – Kurt
    5 hours ago






  • 2




    It would also be helpful if you could include a sketch of how the output should look like.
    – samcarter
    5 hours ago










  • TikZ understands polar coordinates such as coordinate[label=:$C$] (C) at (60:1); It also understands coordinate[label=:$C$] (C) at (0.5,{sqrt(3)/2});.
    – marmot
    5 hours ago
















2














Here is an excerpt from my code:



begin{tikzpicture}[scale=5.5]
coordinate[label=left:$A$] (A) at (0,0);
coordinate[label=right:$B$] (B) at (1,0);
coordinate[label=:$C$] (C) at (0.5,0.866);
draw (A)--(B)--(C)--(A);
end{tikzpicture}


I want to denote AB=BC using the tick mark notation. Also, point C isn't exactly where it should be. How can I fix that? I rounded sqrt(3)/2 to 0.866.










share|improve this question







New contributor




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
















  • 2




    Welcome to TeX.SE! Please show us -- as usual here --an short compilable code resulting in your issue ...
    – Kurt
    5 hours ago






  • 2




    It would also be helpful if you could include a sketch of how the output should look like.
    – samcarter
    5 hours ago










  • TikZ understands polar coordinates such as coordinate[label=:$C$] (C) at (60:1); It also understands coordinate[label=:$C$] (C) at (0.5,{sqrt(3)/2});.
    – marmot
    5 hours ago














2












2








2


1





Here is an excerpt from my code:



begin{tikzpicture}[scale=5.5]
coordinate[label=left:$A$] (A) at (0,0);
coordinate[label=right:$B$] (B) at (1,0);
coordinate[label=:$C$] (C) at (0.5,0.866);
draw (A)--(B)--(C)--(A);
end{tikzpicture}


I want to denote AB=BC using the tick mark notation. Also, point C isn't exactly where it should be. How can I fix that? I rounded sqrt(3)/2 to 0.866.










share|improve this question







New contributor




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











Here is an excerpt from my code:



begin{tikzpicture}[scale=5.5]
coordinate[label=left:$A$] (A) at (0,0);
coordinate[label=right:$B$] (B) at (1,0);
coordinate[label=:$C$] (C) at (0.5,0.866);
draw (A)--(B)--(C)--(A);
end{tikzpicture}


I want to denote AB=BC using the tick mark notation. Also, point C isn't exactly where it should be. How can I fix that? I rounded sqrt(3)/2 to 0.866.







graphs






share|improve this question







New contributor




M. C. 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




M. C. 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




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









asked 5 hours ago









M. C.M. C.

112




112




New contributor




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





New contributor





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






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








  • 2




    Welcome to TeX.SE! Please show us -- as usual here --an short compilable code resulting in your issue ...
    – Kurt
    5 hours ago






  • 2




    It would also be helpful if you could include a sketch of how the output should look like.
    – samcarter
    5 hours ago










  • TikZ understands polar coordinates such as coordinate[label=:$C$] (C) at (60:1); It also understands coordinate[label=:$C$] (C) at (0.5,{sqrt(3)/2});.
    – marmot
    5 hours ago














  • 2




    Welcome to TeX.SE! Please show us -- as usual here --an short compilable code resulting in your issue ...
    – Kurt
    5 hours ago






  • 2




    It would also be helpful if you could include a sketch of how the output should look like.
    – samcarter
    5 hours ago










  • TikZ understands polar coordinates such as coordinate[label=:$C$] (C) at (60:1); It also understands coordinate[label=:$C$] (C) at (0.5,{sqrt(3)/2});.
    – marmot
    5 hours ago








2




2




Welcome to TeX.SE! Please show us -- as usual here --an short compilable code resulting in your issue ...
– Kurt
5 hours ago




Welcome to TeX.SE! Please show us -- as usual here --an short compilable code resulting in your issue ...
– Kurt
5 hours ago




2




2




It would also be helpful if you could include a sketch of how the output should look like.
– samcarter
5 hours ago




It would also be helpful if you could include a sketch of how the output should look like.
– samcarter
5 hours ago












TikZ understands polar coordinates such as coordinate[label=:$C$] (C) at (60:1); It also understands coordinate[label=:$C$] (C) at (0.5,{sqrt(3)/2});.
– marmot
5 hours ago




TikZ understands polar coordinates such as coordinate[label=:$C$] (C) at (60:1); It also understands coordinate[label=:$C$] (C) at (0.5,{sqrt(3)/2});.
– marmot
5 hours ago










3 Answers
3






active

oldest

votes


















3














A PSTricks solution just for fun purposes.



documentclass[pstricks,12pt,border=1cm]{standalone}
usepackage{pst-eucl}
begin{document}
pspicture[MarkAngle=90](-4,4)
pstTriangle(4;150){C}(-4,0){A}(0,0){B}
pstSegmentMark{A}{B}
pstSegmentMark{B}{C}
endpspicture
end{document}


enter image description here



Bonus



documentclass[pstricks,12pt,border=1cm]{standalone}
usepackage{pst-eucl}
begin{document}
foreach i in {90,100,...,170}{%
pspicture[MarkAngle=90](-4,4)
pstTriangle(4;i){C}(-4,0){A}(0,0){B}
pstSegmentMark{A}{B}
pstSegmentMark{B}{C}
endpspicture}
end{document}


enter image description here






share|improve this answer































    1














    Welcome to TeX.SE! You can add these marks with decorations.markings. Since you want two of them, it is shorter to use the .list key for that. Further, TikZ understands polar coordinates, and it also understands (0.5,{sqrt(3)/2}), so there is no need to unbury your calculator. ;-)



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{decorations.markings}
    begin{document}
    begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
    decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
    draw (2pt,-4pt) -- (2pt,4pt);}}}}]
    coordinate[label=left:$A$] (A) at (0,0);
    coordinate[label=right:$B$] (B) at (1,0);
    coordinate[label=:$C$] (C) at (60:1);
    draw[equal mark/.list={1/6,1/2}] (A)--(B)--(C)--cycle;
    end{tikzpicture}
    end{document}


    enter image description here



    As you can see, this code starts with documentclass and ends with end{document}, and is compilable. Kurt asked you in his comment to add such a code.



    And you may simplify/shorten the code using a foreach loop.



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{decorations.markings}
    begin{document}
    begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
    decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
    draw (2pt,-4pt) -- (2pt,4pt);}}}}]
    foreach X/Y in {210/A,-30/B,90/C}
    {coordinate[label=X:$Y$] (Y) at (X:{1/sqrt(3)});}
    draw[equal mark/.list={1/6,1/2,5/6}] (A)--(B)--(C)--cycle;
    end{tikzpicture}
    end{document}





    share|improve this answer































      1














      one more tikz solution:



      documentclass[tikz,border=3.141592mm]{standalone}

      begin{document}
      begin{tikzpicture}[scale=5.5]
      coordinate[label=left:$A$] (A) at (0,0);
      coordinate[label=right:$B$] (B) at (1,0);
      coordinate[label=$C$] (C) at (0.5,0.866);
      draw (A) -- node {$|$} (B) -- node[sloped] {$|$} (C) -- (A);
      end{tikzpicture}
      end{document}


      (not tested since my tikz is broken :-( )






      share|improve this answer























      • The mark on BC is not perpendicular I think ( I compile with my heart).
        – God Must Be Crazy
        3 hours ago






      • 1




        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.
        – Zarko
        3 hours ago











      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',
      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
      });


      }
      });






      M. C. 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%2f469057%2ftick-marks-in-geometry%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









      3














      A PSTricks solution just for fun purposes.



      documentclass[pstricks,12pt,border=1cm]{standalone}
      usepackage{pst-eucl}
      begin{document}
      pspicture[MarkAngle=90](-4,4)
      pstTriangle(4;150){C}(-4,0){A}(0,0){B}
      pstSegmentMark{A}{B}
      pstSegmentMark{B}{C}
      endpspicture
      end{document}


      enter image description here



      Bonus



      documentclass[pstricks,12pt,border=1cm]{standalone}
      usepackage{pst-eucl}
      begin{document}
      foreach i in {90,100,...,170}{%
      pspicture[MarkAngle=90](-4,4)
      pstTriangle(4;i){C}(-4,0){A}(0,0){B}
      pstSegmentMark{A}{B}
      pstSegmentMark{B}{C}
      endpspicture}
      end{document}


      enter image description here






      share|improve this answer




























        3














        A PSTricks solution just for fun purposes.



        documentclass[pstricks,12pt,border=1cm]{standalone}
        usepackage{pst-eucl}
        begin{document}
        pspicture[MarkAngle=90](-4,4)
        pstTriangle(4;150){C}(-4,0){A}(0,0){B}
        pstSegmentMark{A}{B}
        pstSegmentMark{B}{C}
        endpspicture
        end{document}


        enter image description here



        Bonus



        documentclass[pstricks,12pt,border=1cm]{standalone}
        usepackage{pst-eucl}
        begin{document}
        foreach i in {90,100,...,170}{%
        pspicture[MarkAngle=90](-4,4)
        pstTriangle(4;i){C}(-4,0){A}(0,0){B}
        pstSegmentMark{A}{B}
        pstSegmentMark{B}{C}
        endpspicture}
        end{document}


        enter image description here






        share|improve this answer


























          3












          3








          3






          A PSTricks solution just for fun purposes.



          documentclass[pstricks,12pt,border=1cm]{standalone}
          usepackage{pst-eucl}
          begin{document}
          pspicture[MarkAngle=90](-4,4)
          pstTriangle(4;150){C}(-4,0){A}(0,0){B}
          pstSegmentMark{A}{B}
          pstSegmentMark{B}{C}
          endpspicture
          end{document}


          enter image description here



          Bonus



          documentclass[pstricks,12pt,border=1cm]{standalone}
          usepackage{pst-eucl}
          begin{document}
          foreach i in {90,100,...,170}{%
          pspicture[MarkAngle=90](-4,4)
          pstTriangle(4;i){C}(-4,0){A}(0,0){B}
          pstSegmentMark{A}{B}
          pstSegmentMark{B}{C}
          endpspicture}
          end{document}


          enter image description here






          share|improve this answer














          A PSTricks solution just for fun purposes.



          documentclass[pstricks,12pt,border=1cm]{standalone}
          usepackage{pst-eucl}
          begin{document}
          pspicture[MarkAngle=90](-4,4)
          pstTriangle(4;150){C}(-4,0){A}(0,0){B}
          pstSegmentMark{A}{B}
          pstSegmentMark{B}{C}
          endpspicture
          end{document}


          enter image description here



          Bonus



          documentclass[pstricks,12pt,border=1cm]{standalone}
          usepackage{pst-eucl}
          begin{document}
          foreach i in {90,100,...,170}{%
          pspicture[MarkAngle=90](-4,4)
          pstTriangle(4;i){C}(-4,0){A}(0,0){B}
          pstSegmentMark{A}{B}
          pstSegmentMark{B}{C}
          endpspicture}
          end{document}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 3 hours ago

























          answered 3 hours ago









          God Must Be CrazyGod Must Be Crazy

          5,89211039




          5,89211039























              1














              Welcome to TeX.SE! You can add these marks with decorations.markings. Since you want two of them, it is shorter to use the .list key for that. Further, TikZ understands polar coordinates, and it also understands (0.5,{sqrt(3)/2}), so there is no need to unbury your calculator. ;-)



              documentclass[tikz,border=3.14mm]{standalone}
              usetikzlibrary{decorations.markings}
              begin{document}
              begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
              decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
              draw (2pt,-4pt) -- (2pt,4pt);}}}}]
              coordinate[label=left:$A$] (A) at (0,0);
              coordinate[label=right:$B$] (B) at (1,0);
              coordinate[label=:$C$] (C) at (60:1);
              draw[equal mark/.list={1/6,1/2}] (A)--(B)--(C)--cycle;
              end{tikzpicture}
              end{document}


              enter image description here



              As you can see, this code starts with documentclass and ends with end{document}, and is compilable. Kurt asked you in his comment to add such a code.



              And you may simplify/shorten the code using a foreach loop.



              documentclass[tikz,border=3.14mm]{standalone}
              usetikzlibrary{decorations.markings}
              begin{document}
              begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
              decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
              draw (2pt,-4pt) -- (2pt,4pt);}}}}]
              foreach X/Y in {210/A,-30/B,90/C}
              {coordinate[label=X:$Y$] (Y) at (X:{1/sqrt(3)});}
              draw[equal mark/.list={1/6,1/2,5/6}] (A)--(B)--(C)--cycle;
              end{tikzpicture}
              end{document}





              share|improve this answer




























                1














                Welcome to TeX.SE! You can add these marks with decorations.markings. Since you want two of them, it is shorter to use the .list key for that. Further, TikZ understands polar coordinates, and it also understands (0.5,{sqrt(3)/2}), so there is no need to unbury your calculator. ;-)



                documentclass[tikz,border=3.14mm]{standalone}
                usetikzlibrary{decorations.markings}
                begin{document}
                begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
                decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
                draw (2pt,-4pt) -- (2pt,4pt);}}}}]
                coordinate[label=left:$A$] (A) at (0,0);
                coordinate[label=right:$B$] (B) at (1,0);
                coordinate[label=:$C$] (C) at (60:1);
                draw[equal mark/.list={1/6,1/2}] (A)--(B)--(C)--cycle;
                end{tikzpicture}
                end{document}


                enter image description here



                As you can see, this code starts with documentclass and ends with end{document}, and is compilable. Kurt asked you in his comment to add such a code.



                And you may simplify/shorten the code using a foreach loop.



                documentclass[tikz,border=3.14mm]{standalone}
                usetikzlibrary{decorations.markings}
                begin{document}
                begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
                decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
                draw (2pt,-4pt) -- (2pt,4pt);}}}}]
                foreach X/Y in {210/A,-30/B,90/C}
                {coordinate[label=X:$Y$] (Y) at (X:{1/sqrt(3)});}
                draw[equal mark/.list={1/6,1/2,5/6}] (A)--(B)--(C)--cycle;
                end{tikzpicture}
                end{document}





                share|improve this answer


























                  1












                  1








                  1






                  Welcome to TeX.SE! You can add these marks with decorations.markings. Since you want two of them, it is shorter to use the .list key for that. Further, TikZ understands polar coordinates, and it also understands (0.5,{sqrt(3)/2}), so there is no need to unbury your calculator. ;-)



                  documentclass[tikz,border=3.14mm]{standalone}
                  usetikzlibrary{decorations.markings}
                  begin{document}
                  begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
                  decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
                  draw (2pt,-4pt) -- (2pt,4pt);}}}}]
                  coordinate[label=left:$A$] (A) at (0,0);
                  coordinate[label=right:$B$] (B) at (1,0);
                  coordinate[label=:$C$] (C) at (60:1);
                  draw[equal mark/.list={1/6,1/2}] (A)--(B)--(C)--cycle;
                  end{tikzpicture}
                  end{document}


                  enter image description here



                  As you can see, this code starts with documentclass and ends with end{document}, and is compilable. Kurt asked you in his comment to add such a code.



                  And you may simplify/shorten the code using a foreach loop.



                  documentclass[tikz,border=3.14mm]{standalone}
                  usetikzlibrary{decorations.markings}
                  begin{document}
                  begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
                  decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
                  draw (2pt,-4pt) -- (2pt,4pt);}}}}]
                  foreach X/Y in {210/A,-30/B,90/C}
                  {coordinate[label=X:$Y$] (Y) at (X:{1/sqrt(3)});}
                  draw[equal mark/.list={1/6,1/2,5/6}] (A)--(B)--(C)--cycle;
                  end{tikzpicture}
                  end{document}





                  share|improve this answer














                  Welcome to TeX.SE! You can add these marks with decorations.markings. Since you want two of them, it is shorter to use the .list key for that. Further, TikZ understands polar coordinates, and it also understands (0.5,{sqrt(3)/2}), so there is no need to unbury your calculator. ;-)



                  documentclass[tikz,border=3.14mm]{standalone}
                  usetikzlibrary{decorations.markings}
                  begin{document}
                  begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
                  decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
                  draw (2pt,-4pt) -- (2pt,4pt);}}}}]
                  coordinate[label=left:$A$] (A) at (0,0);
                  coordinate[label=right:$B$] (B) at (1,0);
                  coordinate[label=:$C$] (C) at (60:1);
                  draw[equal mark/.list={1/6,1/2}] (A)--(B)--(C)--cycle;
                  end{tikzpicture}
                  end{document}


                  enter image description here



                  As you can see, this code starts with documentclass and ends with end{document}, and is compilable. Kurt asked you in his comment to add such a code.



                  And you may simplify/shorten the code using a foreach loop.



                  documentclass[tikz,border=3.14mm]{standalone}
                  usetikzlibrary{decorations.markings}
                  begin{document}
                  begin{tikzpicture}[scale=5.5,equal mark/.style={postaction={decorate,
                  decoration={markings,mark=at position #1 with {draw (-2pt,-4pt) -- (-2pt,4pt);
                  draw (2pt,-4pt) -- (2pt,4pt);}}}}]
                  foreach X/Y in {210/A,-30/B,90/C}
                  {coordinate[label=X:$Y$] (Y) at (X:{1/sqrt(3)});}
                  draw[equal mark/.list={1/6,1/2,5/6}] (A)--(B)--(C)--cycle;
                  end{tikzpicture}
                  end{document}






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 3 hours ago

























                  answered 3 hours ago









                  marmotmarmot

                  89.4k4103194




                  89.4k4103194























                      1














                      one more tikz solution:



                      documentclass[tikz,border=3.141592mm]{standalone}

                      begin{document}
                      begin{tikzpicture}[scale=5.5]
                      coordinate[label=left:$A$] (A) at (0,0);
                      coordinate[label=right:$B$] (B) at (1,0);
                      coordinate[label=$C$] (C) at (0.5,0.866);
                      draw (A) -- node {$|$} (B) -- node[sloped] {$|$} (C) -- (A);
                      end{tikzpicture}
                      end{document}


                      (not tested since my tikz is broken :-( )






                      share|improve this answer























                      • The mark on BC is not perpendicular I think ( I compile with my heart).
                        – God Must Be Crazy
                        3 hours ago






                      • 1




                        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.
                        – Zarko
                        3 hours ago
















                      1














                      one more tikz solution:



                      documentclass[tikz,border=3.141592mm]{standalone}

                      begin{document}
                      begin{tikzpicture}[scale=5.5]
                      coordinate[label=left:$A$] (A) at (0,0);
                      coordinate[label=right:$B$] (B) at (1,0);
                      coordinate[label=$C$] (C) at (0.5,0.866);
                      draw (A) -- node {$|$} (B) -- node[sloped] {$|$} (C) -- (A);
                      end{tikzpicture}
                      end{document}


                      (not tested since my tikz is broken :-( )






                      share|improve this answer























                      • The mark on BC is not perpendicular I think ( I compile with my heart).
                        – God Must Be Crazy
                        3 hours ago






                      • 1




                        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.
                        – Zarko
                        3 hours ago














                      1












                      1








                      1






                      one more tikz solution:



                      documentclass[tikz,border=3.141592mm]{standalone}

                      begin{document}
                      begin{tikzpicture}[scale=5.5]
                      coordinate[label=left:$A$] (A) at (0,0);
                      coordinate[label=right:$B$] (B) at (1,0);
                      coordinate[label=$C$] (C) at (0.5,0.866);
                      draw (A) -- node {$|$} (B) -- node[sloped] {$|$} (C) -- (A);
                      end{tikzpicture}
                      end{document}


                      (not tested since my tikz is broken :-( )






                      share|improve this answer














                      one more tikz solution:



                      documentclass[tikz,border=3.141592mm]{standalone}

                      begin{document}
                      begin{tikzpicture}[scale=5.5]
                      coordinate[label=left:$A$] (A) at (0,0);
                      coordinate[label=right:$B$] (B) at (1,0);
                      coordinate[label=$C$] (C) at (0.5,0.866);
                      draw (A) -- node {$|$} (B) -- node[sloped] {$|$} (C) -- (A);
                      end{tikzpicture}
                      end{document}


                      (not tested since my tikz is broken :-( )







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited 3 hours ago

























                      answered 3 hours ago









                      ZarkoZarko

                      121k865158




                      121k865158












                      • The mark on BC is not perpendicular I think ( I compile with my heart).
                        – God Must Be Crazy
                        3 hours ago






                      • 1




                        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.
                        – Zarko
                        3 hours ago


















                      • The mark on BC is not perpendicular I think ( I compile with my heart).
                        – God Must Be Crazy
                        3 hours ago






                      • 1




                        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.
                        – Zarko
                        3 hours ago
















                      The mark on BC is not perpendicular I think ( I compile with my heart).
                      – God Must Be Crazy
                      3 hours ago




                      The mark on BC is not perpendicular I think ( I compile with my heart).
                      – God Must Be Crazy
                      3 hours ago




                      1




                      1




                      @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.
                      – Zarko
                      3 hours ago




                      @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.
                      – Zarko
                      3 hours ago










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










                      draft saved

                      draft discarded


















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













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












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
















                      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%2f469057%2ftick-marks-in-geometry%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

                      數位音樂下載

                      格利澤436b

                      When can things happen in Etherscan, such as the picture below?