font or tikz to draw tally counting symbols (///)
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?
tikz-pgf fonts symbols
add a comment |
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?
tikz-pgf fonts symbols
tex.stackexchange.com/q/102065 has several solutions.
– Thérèse
4 hours ago
The comprehensive symbols list showshhcount
package to be closest to this, but the package isn't on CTAN any longer, apparently
– Christian Hupfer
4 hours ago
add a comment |
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?
tikz-pgf fonts symbols
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?
tikz-pgf fonts symbols
tikz-pgf fonts symbols
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 showshhcount
package to be closest to this, but the package isn't on CTAN any longer, apparently
– Christian Hupfer
4 hours ago
add a comment |
tex.stackexchange.com/q/102065 has several solutions.
– Thérèse
4 hours ago
The comprehensive symbols list showshhcount
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
add a comment |
2 Answers
2
active
oldest
votes
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}
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
add a comment |
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}
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}
The additional optional key is to enable things likeabc TCS[red]{3} def TCS[blue,thick]{7}
.
– marmot
3 hours ago
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}
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
add a comment |
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}
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
add a comment |
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}
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}
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
add a comment |
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
add a comment |
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}
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}
The additional optional key is to enable things likeabc TCS[red]{3} def TCS[blue,thick]{7}
.
– marmot
3 hours ago
add a comment |
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}
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}
The additional optional key is to enable things likeabc TCS[red]{3} def TCS[blue,thick]{7}
.
– marmot
3 hours ago
add a comment |
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}
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}
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}
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}
edited 4 hours ago
answered 4 hours ago
marmot
86.8k499185
86.8k499185
The additional optional key is to enable things likeabc TCS[red]{3} def TCS[blue,thick]{7}
.
– marmot
3 hours ago
add a comment |
The additional optional key is to enable things likeabc 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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