font or tikz to draw tally counting symbols (///)












5














In a book I have the following to illustrate the traditional counting symbols used for hand tallying. They were drawn using PPT and saved in a PNG image, but look ugly and when I try to use one in inline text, I can't get the image properly centered over the baseline.



Is there any font for this, or a way to do this with tikz?



enter image description here










share|improve this question






















  • tex.stackexchange.com/q/102065 has several solutions.
    – Thérèse
    Dec 29 '18 at 17:03






  • 1




    The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
    – Christian Hupfer
    Dec 29 '18 at 17:11
















5














In a book I have the following to illustrate the traditional counting symbols used for hand tallying. They were drawn using PPT and saved in a PNG image, but look ugly and when I try to use one in inline text, I can't get the image properly centered over the baseline.



Is there any font for this, or a way to do this with tikz?



enter image description here










share|improve this question






















  • tex.stackexchange.com/q/102065 has several solutions.
    – Thérèse
    Dec 29 '18 at 17:03






  • 1




    The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
    – Christian Hupfer
    Dec 29 '18 at 17:11














5












5








5







In a book I have the following to illustrate the traditional counting symbols used for hand tallying. They were drawn using PPT and saved in a PNG image, but look ugly and when I try to use one in inline text, I can't get the image properly centered over the baseline.



Is there any font for this, or a way to do this with tikz?



enter image description here










share|improve this question













In a book I have the following to illustrate the traditional counting symbols used for hand tallying. They were drawn using PPT and saved in a PNG image, but look ugly and when I try to use one in inline text, I can't get the image properly centered over the baseline.



Is there any font for this, or a way to do this with tikz?



enter image description here







tikz-pgf fonts symbols






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 29 '18 at 16:58









user101089

567311




567311












  • tex.stackexchange.com/q/102065 has several solutions.
    – Thérèse
    Dec 29 '18 at 17:03






  • 1




    The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
    – Christian Hupfer
    Dec 29 '18 at 17:11


















  • tex.stackexchange.com/q/102065 has several solutions.
    – Thérèse
    Dec 29 '18 at 17:03






  • 1




    The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
    – Christian Hupfer
    Dec 29 '18 at 17:11
















tex.stackexchange.com/q/102065 has several solutions.
– Thérèse
Dec 29 '18 at 17:03




tex.stackexchange.com/q/102065 has several solutions.
– Thérèse
Dec 29 '18 at 17:03




1




1




The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
– Christian Hupfer
Dec 29 '18 at 17:11




The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
– Christian Hupfer
Dec 29 '18 at 17:11










5 Answers
5






active

oldest

votes


















9














Something like this?



documentclass{article}
usepackage{tikz}
newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
{ifnumY=0
draw (X*0.5ex+0.3ex,0) -- ++(-2.8ex,2ex);
else
draw (X*0.5ex+0.3ex,0) -- ++(-0.3ex,2ex);
fi}
end{tikzpicture}}
begin{document}
abc TCS{3} def TCS{7}
end{document}


enter image description here



Or slanted to the right.



documentclass{article}
usepackage{tikz}
newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
{ifnumY=0
draw (X*0.5ex+0.3ex,0) -- ++(-2.2ex,1.8ex);
else
draw (X*0.5ex+0.3ex,0) -- ++(0.3ex,1.8ex);
fi}
end{tikzpicture}}
begin{document}
abc TCS{3} def TCS{7}
end{document}


enter image description here






share|improve this answer























  • The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
    – marmot
    Dec 29 '18 at 17:40



















7














A different approach with bullcntr, that shows 'unusual' tally symbols: bullets!



But the number of symbols is limited to 9, so the symbols repeat.



documentclass{article}


usepackage{bullcntr}

usepackage{pgffor}

newcounter{bull}
newcommand{showbullcntr}[1]{%
setcounter{bull}{#1}%
bullcntr{bull}%
}
begin{document}



foreach x in {1,...,200} {
pgfmathmod{x}{5}
pgfmathint{pgfmathresult}
edefy{pgfmathresult}
typeout{Current: x and y}
showbullcntr{y}
}

end{document}


enter image description here






share|improve this answer





















  • Try to catch the hidden message in that pattern...
    – Christian Hupfer
    Dec 29 '18 at 17:24






  • 2




    It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
    – marmot
    Dec 29 '18 at 17:25






  • 3




    @marmot: No, it says: Don't mess up with people from Black Forest ;-)
    – Christian Hupfer
    Dec 29 '18 at 17:28






  • 1




    I can't believe it: someone has actually made use of the bullcntr package! I was thinking it was time to withdraw it...
    – GuM
    Dec 31 '18 at 21:09










  • @GuM: I wanted to transport hidden messages with the bullcntr patterns ;-)
    – Christian Hupfer
    Dec 31 '18 at 21:43



















5














Using a macro and cancel package to definite a cut symbol. With mskip-4mu you can decrease or increase the space between the slashs.



enter image description here



documentclass{article}
usepackage{mathtools}
usepackage{cancel}
newcommand{thbacks}{slashmskip-4muslashmskip-4muslashmskip-4muslash}
begin{document}
[slash, quad slashslash, quad slashslashslash, quad bcancel{thbacks}]
end{document}





share|improve this answer































    2














    Direct from the documentation of gmp:



    documentclass{article}
    usepackage[shellescape]{gmp}

    newcommand{scratchcount}[1]{%
    begin{mpost}
    n:=#1;
    height := 3/5mpdim{baselineskip} ;
    span := 1/3 * height ;
    drift := 1/10 * height ;
    pickup pencircle scaled (1/12 * height) ;
    def d = (uniformdeviate drift) enddef ;
    for i := 1 upto n :
    draw
    if (i mod 5)=0 : ((-d-4.5span,d)--(+d-0.5span,height-d))
    else : ((-d,+d)--(+d,height-d)) fi
    shifted (span*i,d-drift) ;
    endfor;
    picture cp ;
    cp := currentpicture ; %for readability
    setbounds currentpicture to
    (llcorner cp shifted (0,-ypart llcorner cp) --
    lrcorner cp shifted (0,-ypart lrcorner cp) --
    urcorner cp -- ulcorner cp -- cycle) ;
    end{mpost}}
    makeatletter
    newenvironment{scratchenum}
    {begin{enumerate} @namedef{label@enumctr}{scratchcount{arabic{@enumctr}}}}
    {end{enumerate}}
    makeatother

    begin{document}

    begin{scratchenum}
    item Cinque scratchcount{5}
    item Dieci scratchcount{10}
    item Venti scratchcount{20}
    item Trenta scratchcount{30}
    item Trentasei scratchcount{36}
    item Quarantatré scratchcount{43}
    end{scratchenum}

    end{document}


    The numbers are what Figaro sings at the beginning of Le nozze di Figaro, by Mozart and Da Ponte. Note that the tally marks are drawn with a certain degree of randomness.



    enter image description here






    share|improve this answer





























      1














      The necessary files for the example below are available from http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhcount.sty and http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhutils0.sty



      documentclass{article}

      usepackage{hhcount}

      begin{document}
      fcscore{42}
      end{document}


      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',
        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%2f467807%2ffont-or-tikz-to-draw-tally-counting-symbols%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        9














        Something like this?



        documentclass{article}
        usepackage{tikz}
        newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
        foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
        {ifnumY=0
        draw (X*0.5ex+0.3ex,0) -- ++(-2.8ex,2ex);
        else
        draw (X*0.5ex+0.3ex,0) -- ++(-0.3ex,2ex);
        fi}
        end{tikzpicture}}
        begin{document}
        abc TCS{3} def TCS{7}
        end{document}


        enter image description here



        Or slanted to the right.



        documentclass{article}
        usepackage{tikz}
        newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
        foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
        {ifnumY=0
        draw (X*0.5ex+0.3ex,0) -- ++(-2.2ex,1.8ex);
        else
        draw (X*0.5ex+0.3ex,0) -- ++(0.3ex,1.8ex);
        fi}
        end{tikzpicture}}
        begin{document}
        abc TCS{3} def TCS{7}
        end{document}


        enter image description here






        share|improve this answer























        • The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
          – marmot
          Dec 29 '18 at 17:40
















        9














        Something like this?



        documentclass{article}
        usepackage{tikz}
        newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
        foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
        {ifnumY=0
        draw (X*0.5ex+0.3ex,0) -- ++(-2.8ex,2ex);
        else
        draw (X*0.5ex+0.3ex,0) -- ++(-0.3ex,2ex);
        fi}
        end{tikzpicture}}
        begin{document}
        abc TCS{3} def TCS{7}
        end{document}


        enter image description here



        Or slanted to the right.



        documentclass{article}
        usepackage{tikz}
        newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
        foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
        {ifnumY=0
        draw (X*0.5ex+0.3ex,0) -- ++(-2.2ex,1.8ex);
        else
        draw (X*0.5ex+0.3ex,0) -- ++(0.3ex,1.8ex);
        fi}
        end{tikzpicture}}
        begin{document}
        abc TCS{3} def TCS{7}
        end{document}


        enter image description here






        share|improve this answer























        • The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
          – marmot
          Dec 29 '18 at 17:40














        9












        9








        9






        Something like this?



        documentclass{article}
        usepackage{tikz}
        newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
        foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
        {ifnumY=0
        draw (X*0.5ex+0.3ex,0) -- ++(-2.8ex,2ex);
        else
        draw (X*0.5ex+0.3ex,0) -- ++(-0.3ex,2ex);
        fi}
        end{tikzpicture}}
        begin{document}
        abc TCS{3} def TCS{7}
        end{document}


        enter image description here



        Or slanted to the right.



        documentclass{article}
        usepackage{tikz}
        newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
        foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
        {ifnumY=0
        draw (X*0.5ex+0.3ex,0) -- ++(-2.2ex,1.8ex);
        else
        draw (X*0.5ex+0.3ex,0) -- ++(0.3ex,1.8ex);
        fi}
        end{tikzpicture}}
        begin{document}
        abc TCS{3} def TCS{7}
        end{document}


        enter image description here






        share|improve this answer














        Something like this?



        documentclass{article}
        usepackage{tikz}
        newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
        foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
        {ifnumY=0
        draw (X*0.5ex+0.3ex,0) -- ++(-2.8ex,2ex);
        else
        draw (X*0.5ex+0.3ex,0) -- ++(-0.3ex,2ex);
        fi}
        end{tikzpicture}}
        begin{document}
        abc TCS{3} def TCS{7}
        end{document}


        enter image description here



        Or slanted to the right.



        documentclass{article}
        usepackage{tikz}
        newcommand{TCS}[2]{begin{tikzpicture}[baseline,#1]
        foreach X [evaluate=X as Y using {int(mod(X,5))}]in {1,...,#2}
        {ifnumY=0
        draw (X*0.5ex+0.3ex,0) -- ++(-2.2ex,1.8ex);
        else
        draw (X*0.5ex+0.3ex,0) -- ++(0.3ex,1.8ex);
        fi}
        end{tikzpicture}}
        begin{document}
        abc TCS{3} def TCS{7}
        end{document}


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 29 '18 at 17:33

























        answered Dec 29 '18 at 17:11









        marmot

        88.3k4102190




        88.3k4102190












        • The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
          – marmot
          Dec 29 '18 at 17:40


















        • The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
          – marmot
          Dec 29 '18 at 17:40
















        The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
        – marmot
        Dec 29 '18 at 17:40




        The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
        – marmot
        Dec 29 '18 at 17:40











        7














        A different approach with bullcntr, that shows 'unusual' tally symbols: bullets!



        But the number of symbols is limited to 9, so the symbols repeat.



        documentclass{article}


        usepackage{bullcntr}

        usepackage{pgffor}

        newcounter{bull}
        newcommand{showbullcntr}[1]{%
        setcounter{bull}{#1}%
        bullcntr{bull}%
        }
        begin{document}



        foreach x in {1,...,200} {
        pgfmathmod{x}{5}
        pgfmathint{pgfmathresult}
        edefy{pgfmathresult}
        typeout{Current: x and y}
        showbullcntr{y}
        }

        end{document}


        enter image description here






        share|improve this answer





















        • Try to catch the hidden message in that pattern...
          – Christian Hupfer
          Dec 29 '18 at 17:24






        • 2




          It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
          – marmot
          Dec 29 '18 at 17:25






        • 3




          @marmot: No, it says: Don't mess up with people from Black Forest ;-)
          – Christian Hupfer
          Dec 29 '18 at 17:28






        • 1




          I can't believe it: someone has actually made use of the bullcntr package! I was thinking it was time to withdraw it...
          – GuM
          Dec 31 '18 at 21:09










        • @GuM: I wanted to transport hidden messages with the bullcntr patterns ;-)
          – Christian Hupfer
          Dec 31 '18 at 21:43
















        7














        A different approach with bullcntr, that shows 'unusual' tally symbols: bullets!



        But the number of symbols is limited to 9, so the symbols repeat.



        documentclass{article}


        usepackage{bullcntr}

        usepackage{pgffor}

        newcounter{bull}
        newcommand{showbullcntr}[1]{%
        setcounter{bull}{#1}%
        bullcntr{bull}%
        }
        begin{document}



        foreach x in {1,...,200} {
        pgfmathmod{x}{5}
        pgfmathint{pgfmathresult}
        edefy{pgfmathresult}
        typeout{Current: x and y}
        showbullcntr{y}
        }

        end{document}


        enter image description here






        share|improve this answer





















        • Try to catch the hidden message in that pattern...
          – Christian Hupfer
          Dec 29 '18 at 17:24






        • 2




          It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
          – marmot
          Dec 29 '18 at 17:25






        • 3




          @marmot: No, it says: Don't mess up with people from Black Forest ;-)
          – Christian Hupfer
          Dec 29 '18 at 17:28






        • 1




          I can't believe it: someone has actually made use of the bullcntr package! I was thinking it was time to withdraw it...
          – GuM
          Dec 31 '18 at 21:09










        • @GuM: I wanted to transport hidden messages with the bullcntr patterns ;-)
          – Christian Hupfer
          Dec 31 '18 at 21:43














        7












        7








        7






        A different approach with bullcntr, that shows 'unusual' tally symbols: bullets!



        But the number of symbols is limited to 9, so the symbols repeat.



        documentclass{article}


        usepackage{bullcntr}

        usepackage{pgffor}

        newcounter{bull}
        newcommand{showbullcntr}[1]{%
        setcounter{bull}{#1}%
        bullcntr{bull}%
        }
        begin{document}



        foreach x in {1,...,200} {
        pgfmathmod{x}{5}
        pgfmathint{pgfmathresult}
        edefy{pgfmathresult}
        typeout{Current: x and y}
        showbullcntr{y}
        }

        end{document}


        enter image description here






        share|improve this answer












        A different approach with bullcntr, that shows 'unusual' tally symbols: bullets!



        But the number of symbols is limited to 9, so the symbols repeat.



        documentclass{article}


        usepackage{bullcntr}

        usepackage{pgffor}

        newcounter{bull}
        newcommand{showbullcntr}[1]{%
        setcounter{bull}{#1}%
        bullcntr{bull}%
        }
        begin{document}



        foreach x in {1,...,200} {
        pgfmathmod{x}{5}
        pgfmathint{pgfmathresult}
        edefy{pgfmathresult}
        typeout{Current: x and y}
        showbullcntr{y}
        }

        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 29 '18 at 17:21









        Christian Hupfer

        148k14193389




        148k14193389












        • Try to catch the hidden message in that pattern...
          – Christian Hupfer
          Dec 29 '18 at 17:24






        • 2




          It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
          – marmot
          Dec 29 '18 at 17:25






        • 3




          @marmot: No, it says: Don't mess up with people from Black Forest ;-)
          – Christian Hupfer
          Dec 29 '18 at 17:28






        • 1




          I can't believe it: someone has actually made use of the bullcntr package! I was thinking it was time to withdraw it...
          – GuM
          Dec 31 '18 at 21:09










        • @GuM: I wanted to transport hidden messages with the bullcntr patterns ;-)
          – Christian Hupfer
          Dec 31 '18 at 21:43


















        • Try to catch the hidden message in that pattern...
          – Christian Hupfer
          Dec 29 '18 at 17:24






        • 2




          It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
          – marmot
          Dec 29 '18 at 17:25






        • 3




          @marmot: No, it says: Don't mess up with people from Black Forest ;-)
          – Christian Hupfer
          Dec 29 '18 at 17:28






        • 1




          I can't believe it: someone has actually made use of the bullcntr package! I was thinking it was time to withdraw it...
          – GuM
          Dec 31 '18 at 21:09










        • @GuM: I wanted to transport hidden messages with the bullcntr patterns ;-)
          – Christian Hupfer
          Dec 31 '18 at 21:43
















        Try to catch the hidden message in that pattern...
        – Christian Hupfer
        Dec 29 '18 at 17:24




        Try to catch the hidden message in that pattern...
        – Christian Hupfer
        Dec 29 '18 at 17:24




        2




        2




        It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
        – marmot
        Dec 29 '18 at 17:25




        It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
        – marmot
        Dec 29 '18 at 17:25




        3




        3




        @marmot: No, it says: Don't mess up with people from Black Forest ;-)
        – Christian Hupfer
        Dec 29 '18 at 17:28




        @marmot: No, it says: Don't mess up with people from Black Forest ;-)
        – Christian Hupfer
        Dec 29 '18 at 17:28




        1




        1




        I can't believe it: someone has actually made use of the bullcntr package! I was thinking it was time to withdraw it...
        – GuM
        Dec 31 '18 at 21:09




        I can't believe it: someone has actually made use of the bullcntr package! I was thinking it was time to withdraw it...
        – GuM
        Dec 31 '18 at 21:09












        @GuM: I wanted to transport hidden messages with the bullcntr patterns ;-)
        – Christian Hupfer
        Dec 31 '18 at 21:43




        @GuM: I wanted to transport hidden messages with the bullcntr patterns ;-)
        – Christian Hupfer
        Dec 31 '18 at 21:43











        5














        Using a macro and cancel package to definite a cut symbol. With mskip-4mu you can decrease or increase the space between the slashs.



        enter image description here



        documentclass{article}
        usepackage{mathtools}
        usepackage{cancel}
        newcommand{thbacks}{slashmskip-4muslashmskip-4muslashmskip-4muslash}
        begin{document}
        [slash, quad slashslash, quad slashslashslash, quad bcancel{thbacks}]
        end{document}





        share|improve this answer




























          5














          Using a macro and cancel package to definite a cut symbol. With mskip-4mu you can decrease or increase the space between the slashs.



          enter image description here



          documentclass{article}
          usepackage{mathtools}
          usepackage{cancel}
          newcommand{thbacks}{slashmskip-4muslashmskip-4muslashmskip-4muslash}
          begin{document}
          [slash, quad slashslash, quad slashslashslash, quad bcancel{thbacks}]
          end{document}





          share|improve this answer


























            5












            5








            5






            Using a macro and cancel package to definite a cut symbol. With mskip-4mu you can decrease or increase the space between the slashs.



            enter image description here



            documentclass{article}
            usepackage{mathtools}
            usepackage{cancel}
            newcommand{thbacks}{slashmskip-4muslashmskip-4muslashmskip-4muslash}
            begin{document}
            [slash, quad slashslash, quad slashslashslash, quad bcancel{thbacks}]
            end{document}





            share|improve this answer














            Using a macro and cancel package to definite a cut symbol. With mskip-4mu you can decrease or increase the space between the slashs.



            enter image description here



            documentclass{article}
            usepackage{mathtools}
            usepackage{cancel}
            newcommand{thbacks}{slashmskip-4muslashmskip-4muslashmskip-4muslash}
            begin{document}
            [slash, quad slashslash, quad slashslashslash, quad bcancel{thbacks}]
            end{document}






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 31 '18 at 0:16

























            answered Dec 31 '18 at 0:02









            Sebastiano

            9,12041756




            9,12041756























                2














                Direct from the documentation of gmp:



                documentclass{article}
                usepackage[shellescape]{gmp}

                newcommand{scratchcount}[1]{%
                begin{mpost}
                n:=#1;
                height := 3/5mpdim{baselineskip} ;
                span := 1/3 * height ;
                drift := 1/10 * height ;
                pickup pencircle scaled (1/12 * height) ;
                def d = (uniformdeviate drift) enddef ;
                for i := 1 upto n :
                draw
                if (i mod 5)=0 : ((-d-4.5span,d)--(+d-0.5span,height-d))
                else : ((-d,+d)--(+d,height-d)) fi
                shifted (span*i,d-drift) ;
                endfor;
                picture cp ;
                cp := currentpicture ; %for readability
                setbounds currentpicture to
                (llcorner cp shifted (0,-ypart llcorner cp) --
                lrcorner cp shifted (0,-ypart lrcorner cp) --
                urcorner cp -- ulcorner cp -- cycle) ;
                end{mpost}}
                makeatletter
                newenvironment{scratchenum}
                {begin{enumerate} @namedef{label@enumctr}{scratchcount{arabic{@enumctr}}}}
                {end{enumerate}}
                makeatother

                begin{document}

                begin{scratchenum}
                item Cinque scratchcount{5}
                item Dieci scratchcount{10}
                item Venti scratchcount{20}
                item Trenta scratchcount{30}
                item Trentasei scratchcount{36}
                item Quarantatré scratchcount{43}
                end{scratchenum}

                end{document}


                The numbers are what Figaro sings at the beginning of Le nozze di Figaro, by Mozart and Da Ponte. Note that the tally marks are drawn with a certain degree of randomness.



                enter image description here






                share|improve this answer


























                  2














                  Direct from the documentation of gmp:



                  documentclass{article}
                  usepackage[shellescape]{gmp}

                  newcommand{scratchcount}[1]{%
                  begin{mpost}
                  n:=#1;
                  height := 3/5mpdim{baselineskip} ;
                  span := 1/3 * height ;
                  drift := 1/10 * height ;
                  pickup pencircle scaled (1/12 * height) ;
                  def d = (uniformdeviate drift) enddef ;
                  for i := 1 upto n :
                  draw
                  if (i mod 5)=0 : ((-d-4.5span,d)--(+d-0.5span,height-d))
                  else : ((-d,+d)--(+d,height-d)) fi
                  shifted (span*i,d-drift) ;
                  endfor;
                  picture cp ;
                  cp := currentpicture ; %for readability
                  setbounds currentpicture to
                  (llcorner cp shifted (0,-ypart llcorner cp) --
                  lrcorner cp shifted (0,-ypart lrcorner cp) --
                  urcorner cp -- ulcorner cp -- cycle) ;
                  end{mpost}}
                  makeatletter
                  newenvironment{scratchenum}
                  {begin{enumerate} @namedef{label@enumctr}{scratchcount{arabic{@enumctr}}}}
                  {end{enumerate}}
                  makeatother

                  begin{document}

                  begin{scratchenum}
                  item Cinque scratchcount{5}
                  item Dieci scratchcount{10}
                  item Venti scratchcount{20}
                  item Trenta scratchcount{30}
                  item Trentasei scratchcount{36}
                  item Quarantatré scratchcount{43}
                  end{scratchenum}

                  end{document}


                  The numbers are what Figaro sings at the beginning of Le nozze di Figaro, by Mozart and Da Ponte. Note that the tally marks are drawn with a certain degree of randomness.



                  enter image description here






                  share|improve this answer
























                    2












                    2








                    2






                    Direct from the documentation of gmp:



                    documentclass{article}
                    usepackage[shellescape]{gmp}

                    newcommand{scratchcount}[1]{%
                    begin{mpost}
                    n:=#1;
                    height := 3/5mpdim{baselineskip} ;
                    span := 1/3 * height ;
                    drift := 1/10 * height ;
                    pickup pencircle scaled (1/12 * height) ;
                    def d = (uniformdeviate drift) enddef ;
                    for i := 1 upto n :
                    draw
                    if (i mod 5)=0 : ((-d-4.5span,d)--(+d-0.5span,height-d))
                    else : ((-d,+d)--(+d,height-d)) fi
                    shifted (span*i,d-drift) ;
                    endfor;
                    picture cp ;
                    cp := currentpicture ; %for readability
                    setbounds currentpicture to
                    (llcorner cp shifted (0,-ypart llcorner cp) --
                    lrcorner cp shifted (0,-ypart lrcorner cp) --
                    urcorner cp -- ulcorner cp -- cycle) ;
                    end{mpost}}
                    makeatletter
                    newenvironment{scratchenum}
                    {begin{enumerate} @namedef{label@enumctr}{scratchcount{arabic{@enumctr}}}}
                    {end{enumerate}}
                    makeatother

                    begin{document}

                    begin{scratchenum}
                    item Cinque scratchcount{5}
                    item Dieci scratchcount{10}
                    item Venti scratchcount{20}
                    item Trenta scratchcount{30}
                    item Trentasei scratchcount{36}
                    item Quarantatré scratchcount{43}
                    end{scratchenum}

                    end{document}


                    The numbers are what Figaro sings at the beginning of Le nozze di Figaro, by Mozart and Da Ponte. Note that the tally marks are drawn with a certain degree of randomness.



                    enter image description here






                    share|improve this answer












                    Direct from the documentation of gmp:



                    documentclass{article}
                    usepackage[shellescape]{gmp}

                    newcommand{scratchcount}[1]{%
                    begin{mpost}
                    n:=#1;
                    height := 3/5mpdim{baselineskip} ;
                    span := 1/3 * height ;
                    drift := 1/10 * height ;
                    pickup pencircle scaled (1/12 * height) ;
                    def d = (uniformdeviate drift) enddef ;
                    for i := 1 upto n :
                    draw
                    if (i mod 5)=0 : ((-d-4.5span,d)--(+d-0.5span,height-d))
                    else : ((-d,+d)--(+d,height-d)) fi
                    shifted (span*i,d-drift) ;
                    endfor;
                    picture cp ;
                    cp := currentpicture ; %for readability
                    setbounds currentpicture to
                    (llcorner cp shifted (0,-ypart llcorner cp) --
                    lrcorner cp shifted (0,-ypart lrcorner cp) --
                    urcorner cp -- ulcorner cp -- cycle) ;
                    end{mpost}}
                    makeatletter
                    newenvironment{scratchenum}
                    {begin{enumerate} @namedef{label@enumctr}{scratchcount{arabic{@enumctr}}}}
                    {end{enumerate}}
                    makeatother

                    begin{document}

                    begin{scratchenum}
                    item Cinque scratchcount{5}
                    item Dieci scratchcount{10}
                    item Venti scratchcount{20}
                    item Trenta scratchcount{30}
                    item Trentasei scratchcount{36}
                    item Quarantatré scratchcount{43}
                    end{scratchenum}

                    end{document}


                    The numbers are what Figaro sings at the beginning of Le nozze di Figaro, by Mozart and Da Ponte. Note that the tally marks are drawn with a certain degree of randomness.



                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 1 at 0:05









                    egreg

                    709k8618853167




                    709k8618853167























                        1














                        The necessary files for the example below are available from http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhcount.sty and http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhutils0.sty



                        documentclass{article}

                        usepackage{hhcount}

                        begin{document}
                        fcscore{42}
                        end{document}


                        enter image description here






                        share|improve this answer


























                          1














                          The necessary files for the example below are available from http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhcount.sty and http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhutils0.sty



                          documentclass{article}

                          usepackage{hhcount}

                          begin{document}
                          fcscore{42}
                          end{document}


                          enter image description here






                          share|improve this answer
























                            1












                            1








                            1






                            The necessary files for the example below are available from http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhcount.sty and http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhutils0.sty



                            documentclass{article}

                            usepackage{hhcount}

                            begin{document}
                            fcscore{42}
                            end{document}


                            enter image description here






                            share|improve this answer












                            The necessary files for the example below are available from http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhcount.sty and http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/5_5/hhutils0.sty



                            documentclass{article}

                            usepackage{hhcount}

                            begin{document}
                            fcscore{42}
                            end{document}


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Dec 31 '18 at 19:19









                            user177954

                            605




                            605






























                                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%2f467807%2ffont-or-tikz-to-draw-tally-counting-symbols%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?

                                File:DeusFollowingSea.jpg