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.
One last thing: I only want single tick marks.










share|improve this question




















  • 3





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

    – Kurt
    Jan 7 at 22:53






  • 3





    It would also be helpful if you could include a sketch of how the output should look like.

    – samcarter
    Jan 7 at 22:59











  • 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
    Jan 7 at 23:02
















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.
One last thing: I only want single tick marks.










share|improve this question




















  • 3





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

    – Kurt
    Jan 7 at 22:53






  • 3





    It would also be helpful if you could include a sketch of how the output should look like.

    – samcarter
    Jan 7 at 22:59











  • 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
    Jan 7 at 23:02














2












2








2


0






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.
One last thing: I only want single tick marks.










share|improve this question
















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.
One last thing: I only want single tick marks.







graphs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 14 at 20:07







M. C.

















asked Jan 7 at 22:50









M. C.M. C.

596




596








  • 3





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

    – Kurt
    Jan 7 at 22:53






  • 3





    It would also be helpful if you could include a sketch of how the output should look like.

    – samcarter
    Jan 7 at 22:59











  • 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
    Jan 7 at 23:02














  • 3





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

    – Kurt
    Jan 7 at 22:53






  • 3





    It would also be helpful if you could include a sketch of how the output should look like.

    – samcarter
    Jan 7 at 22:59











  • 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
    Jan 7 at 23:02








3




3





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

– Kurt
Jan 7 at 22:53





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

– Kurt
Jan 7 at 22:53




3




3





It would also be helpful if you could include a sketch of how the output should look like.

– samcarter
Jan 7 at 22:59





It would also be helpful if you could include a sketch of how the output should look like.

– samcarter
Jan 7 at 22:59













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
Jan 7 at 23:02





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
Jan 7 at 23:02










3 Answers
3






active

oldest

votes


















2














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

































    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














      one more tikz solution. for marks are used math symbol | in nodes with option sloped placed on lines:



      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}


      now tikz version 3.1 in miktex works ...



      enter image description here






      share|improve this answer


























      • The mark on BC is not perpendicular I think ( I compile with my heart).

        – God Must Be Crazy
        Jan 8 at 1:17






      • 1





        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.

        – Zarko
        Jan 8 at 1:21











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


      }
      });














      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









      2














      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






























        2














        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




























          2












          2








          2







          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 Jan 8 at 1:05

























          answered Jan 8 at 0:51









          marmotmarmot

          93.5k4109208




          93.5k4109208























              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 Jan 8 at 1:38

























                  answered Jan 8 at 1:03









                  God Must Be CrazyGod Must Be Crazy

                  5,13511039




                  5,13511039























                      3














                      one more tikz solution. for marks are used math symbol | in nodes with option sloped placed on lines:



                      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}


                      now tikz version 3.1 in miktex works ...



                      enter image description here






                      share|improve this answer


























                      • The mark on BC is not perpendicular I think ( I compile with my heart).

                        – God Must Be Crazy
                        Jan 8 at 1:17






                      • 1





                        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.

                        – Zarko
                        Jan 8 at 1:21
















                      3














                      one more tikz solution. for marks are used math symbol | in nodes with option sloped placed on lines:



                      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}


                      now tikz version 3.1 in miktex works ...



                      enter image description here






                      share|improve this answer


























                      • The mark on BC is not perpendicular I think ( I compile with my heart).

                        – God Must Be Crazy
                        Jan 8 at 1:17






                      • 1





                        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.

                        – Zarko
                        Jan 8 at 1:21














                      3












                      3








                      3







                      one more tikz solution. for marks are used math symbol | in nodes with option sloped placed on lines:



                      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}


                      now tikz version 3.1 in miktex works ...



                      enter image description here






                      share|improve this answer















                      one more tikz solution. for marks are used math symbol | in nodes with option sloped placed on lines:



                      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}


                      now tikz version 3.1 in miktex works ...



                      enter image description here







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Jan 8 at 9:30

























                      answered Jan 8 at 1:13









                      ZarkoZarko

                      123k865161




                      123k865161













                      • The mark on BC is not perpendicular I think ( I compile with my heart).

                        – God Must Be Crazy
                        Jan 8 at 1:17






                      • 1





                        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.

                        – Zarko
                        Jan 8 at 1:21



















                      • The mark on BC is not perpendicular I think ( I compile with my heart).

                        – God Must Be Crazy
                        Jan 8 at 1:17






                      • 1





                        @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.

                        – Zarko
                        Jan 8 at 1:21

















                      The mark on BC is not perpendicular I think ( I compile with my heart).

                      – God Must Be Crazy
                      Jan 8 at 1:17





                      The mark on BC is not perpendicular I think ( I compile with my heart).

                      – God Must Be Crazy
                      Jan 8 at 1:17




                      1




                      1





                      @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.

                      – Zarko
                      Jan 8 at 1:21





                      @GodMustBeCrazy, of course not, i forgot to add option sloped ... i correct this.

                      – Zarko
                      Jan 8 at 1:21


















                      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.




                      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

                      Human spaceflight

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                      張江高科駅