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












1














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
    4 hours ago










  • The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
    – Christian Hupfer
    4 hours ago
















1














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
    4 hours ago










  • The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
    – Christian Hupfer
    4 hours ago














1












1








1







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 4 hours ago









user101089

540311




540311












  • tex.stackexchange.com/q/102065 has several solutions.
    – Thérèse
    4 hours ago










  • The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
    – Christian Hupfer
    4 hours ago


















  • tex.stackexchange.com/q/102065 has several solutions.
    – Thérèse
    4 hours ago










  • The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
    – Christian Hupfer
    4 hours ago
















tex.stackexchange.com/q/102065 has several solutions.
– Thérèse
4 hours ago




tex.stackexchange.com/q/102065 has several solutions.
– Thérèse
4 hours ago












The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
– Christian Hupfer
4 hours ago




The comprehensive symbols list shows hhcount package to be closest to this, but the package isn't on CTAN any longer, apparently
– Christian Hupfer
4 hours ago










2 Answers
2






active

oldest

votes


















2














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
    4 hours ago






  • 1




    It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
    – marmot
    4 hours ago






  • 1




    @marmot: No, it says: Don't mess up with people from Black Forest ;-)
    – Christian Hupfer
    4 hours ago



















2














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


}
});














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

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














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
    4 hours ago






  • 1




    It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
    – marmot
    4 hours ago






  • 1




    @marmot: No, it says: Don't mess up with people from Black Forest ;-)
    – Christian Hupfer
    4 hours ago
















2














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
    4 hours ago






  • 1




    It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
    – marmot
    4 hours ago






  • 1




    @marmot: No, it says: Don't mess up with people from Black Forest ;-)
    – Christian Hupfer
    4 hours ago














2












2








2






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 4 hours ago









Christian Hupfer

147k14192386




147k14192386












  • Try to catch the hidden message in that pattern...
    – Christian Hupfer
    4 hours ago






  • 1




    It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
    – marmot
    4 hours ago






  • 1




    @marmot: No, it says: Don't mess up with people from Black Forest ;-)
    – Christian Hupfer
    4 hours ago


















  • Try to catch the hidden message in that pattern...
    – Christian Hupfer
    4 hours ago






  • 1




    It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
    – marmot
    4 hours ago






  • 1




    @marmot: No, it says: Don't mess up with people from Black Forest ;-)
    – Christian Hupfer
    4 hours ago
















Try to catch the hidden message in that pattern...
– Christian Hupfer
4 hours ago




Try to catch the hidden message in that pattern...
– Christian Hupfer
4 hours ago




1




1




It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
– marmot
4 hours ago




It is not so hidden: "2019 will be a good year for being nice to marmots." ;-)
– marmot
4 hours ago




1




1




@marmot: No, it says: Don't mess up with people from Black Forest ;-)
– Christian Hupfer
4 hours ago




@marmot: No, it says: Don't mess up with people from Black Forest ;-)
– Christian Hupfer
4 hours ago











2














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
    3 hours ago
















2














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
    3 hours ago














2












2








2






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 4 hours ago

























answered 4 hours ago









marmot

86.8k499185




86.8k499185












  • The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
    – marmot
    3 hours ago


















  • The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
    – marmot
    3 hours ago
















The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
– marmot
3 hours ago




The additional optional key is to enable things like abc TCS[red]{3} def TCS[blue,thick]{7}.
– marmot
3 hours ago


















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

Morgemoulin

Scott Moir

Souastre