Formatted list with bullet progress bars
I would like to create a list with a bullet progress bars formatted like this:
Any help would be much appreciated :)
formatting itemize bullets
add a comment |
I would like to create a list with a bullet progress bars formatted like this:
Any help would be much appreciated :)
formatting itemize bullets
Related: tex.stackexchange.com/questions/337356
– Andrew
Dec 11 '18 at 0:34
Also related: tex.stackexchange.com/q/408529/134574 and tex.stackexchange.com/q/412322/134574
– Phelype Oleinik
Dec 11 '18 at 9:40
add a comment |
I would like to create a list with a bullet progress bars formatted like this:
Any help would be much appreciated :)
formatting itemize bullets
I would like to create a list with a bullet progress bars formatted like this:
Any help would be much appreciated :)
formatting itemize bullets
formatting itemize bullets
asked Dec 10 '18 at 23:38
lucia de finettilucia de finetti
975
975
Related: tex.stackexchange.com/questions/337356
– Andrew
Dec 11 '18 at 0:34
Also related: tex.stackexchange.com/q/408529/134574 and tex.stackexchange.com/q/412322/134574
– Phelype Oleinik
Dec 11 '18 at 9:40
add a comment |
Related: tex.stackexchange.com/questions/337356
– Andrew
Dec 11 '18 at 0:34
Also related: tex.stackexchange.com/q/408529/134574 and tex.stackexchange.com/q/412322/134574
– Phelype Oleinik
Dec 11 '18 at 9:40
Related: tex.stackexchange.com/questions/337356
– Andrew
Dec 11 '18 at 0:34
Related: tex.stackexchange.com/questions/337356
– Andrew
Dec 11 '18 at 0:34
Also related: tex.stackexchange.com/q/408529/134574 and tex.stackexchange.com/q/412322/134574
– Phelype Oleinik
Dec 11 '18 at 9:40
Also related: tex.stackexchange.com/q/408529/134574 and tex.stackexchange.com/q/412322/134574
– Phelype Oleinik
Dec 11 '18 at 9:40
add a comment |
2 Answers
2
active
oldest
votes
EDIT: Improves color-choosing logic, borrows better table layout from the answer by Bernard
Does this work for you?
documentclass[letterpaper, 12pt]{article}
usepackage[utf8]{inputenc}
usepackage{lipsum}
usepackage{geometry}
geometry{margin=0.8in}
usepackage{array}
usepackage[svgnames]{xcolor}
usepackage{tikz}
usetikzlibrary{math}
newcommand{totCircs}{8}
newcommand{circSize}{.125}
newcommand{createBullets}[1]{%
begin{tikzpicture}
emtStart = #1+1;}
foreach filled in {1,...,totCircs}
tikzmath{xCoord = 4*filled * circSize;}
ifnumfilled>#1
colorlet{fillColor}{DarkGrey}
else
colorlet{fillColor}{black}
fi
draw [color=fillColor, fill=fillColor] (xCoord,0) circle (circSize);
end{tikzpicture}%
}
begin{document}
lipsum[1]
vspace{baselineskip}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & createBullets{8}\
Adobe Illustrator & createBullets{8}\
Adobe Indesign & createBullets{6}\
Adobe Dreamweaver & createBullets{8}\
Adobe Flash & createBullets{7}\
HTML & CSS & createBullets{8}\
Javascript & Jquery & createBullets{3}
end{tabular}
end{document}
To modify the output, change the number of total circles at the top (totCircs) or the circle size.
Outputs:
Fantastic, thanks very much! What should I modify if I want the grey circle to be blank instead (with just a black border)?
– lucia de finetti
Dec 11 '18 at 12:58
The color is determined by the line ifnumfilled>#1. Under this, change DarkGrey to white (if my current iteration number is > the input, start making white circles). For a black border, change the line [color=fillColor, fill=fillColor] to [color=black, fill=fillColor].
– ntjess
Dec 11 '18 at 18:30
add a comment |
A simple solution, just with multido
and etoolbox
:
documentclass{article}
usepackage[svgnames]{xcolor}
usepackage{array, etoolbox}
usepackage{multido}
newcommand{blackbullets}[1]{multido{i=1+1}{8}{ifnumgreater{i}{#1}{color{Gainsboro}}{}textbulletkern 0.1em}}
begin{document}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & blackbullets{8}\
Adobe Illustrator & blackbullets{8}\
Adobe Indesign & blackbullets{6}\
Adobe Dreamweaver & blackbullets{8}\
Adobe Flash & blackbullets{7}\
HTML & CSS & blackbullets{8}\
Javascript & Jquery & blackbullets{3}
end{tabular}
end{document}
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%2f464223%2fformatted-list-with-bullet-progress-bars%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
EDIT: Improves color-choosing logic, borrows better table layout from the answer by Bernard
Does this work for you?
documentclass[letterpaper, 12pt]{article}
usepackage[utf8]{inputenc}
usepackage{lipsum}
usepackage{geometry}
geometry{margin=0.8in}
usepackage{array}
usepackage[svgnames]{xcolor}
usepackage{tikz}
usetikzlibrary{math}
newcommand{totCircs}{8}
newcommand{circSize}{.125}
newcommand{createBullets}[1]{%
begin{tikzpicture}
emtStart = #1+1;}
foreach filled in {1,...,totCircs}
tikzmath{xCoord = 4*filled * circSize;}
ifnumfilled>#1
colorlet{fillColor}{DarkGrey}
else
colorlet{fillColor}{black}
fi
draw [color=fillColor, fill=fillColor] (xCoord,0) circle (circSize);
end{tikzpicture}%
}
begin{document}
lipsum[1]
vspace{baselineskip}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & createBullets{8}\
Adobe Illustrator & createBullets{8}\
Adobe Indesign & createBullets{6}\
Adobe Dreamweaver & createBullets{8}\
Adobe Flash & createBullets{7}\
HTML & CSS & createBullets{8}\
Javascript & Jquery & createBullets{3}
end{tabular}
end{document}
To modify the output, change the number of total circles at the top (totCircs) or the circle size.
Outputs:
Fantastic, thanks very much! What should I modify if I want the grey circle to be blank instead (with just a black border)?
– lucia de finetti
Dec 11 '18 at 12:58
The color is determined by the line ifnumfilled>#1. Under this, change DarkGrey to white (if my current iteration number is > the input, start making white circles). For a black border, change the line [color=fillColor, fill=fillColor] to [color=black, fill=fillColor].
– ntjess
Dec 11 '18 at 18:30
add a comment |
EDIT: Improves color-choosing logic, borrows better table layout from the answer by Bernard
Does this work for you?
documentclass[letterpaper, 12pt]{article}
usepackage[utf8]{inputenc}
usepackage{lipsum}
usepackage{geometry}
geometry{margin=0.8in}
usepackage{array}
usepackage[svgnames]{xcolor}
usepackage{tikz}
usetikzlibrary{math}
newcommand{totCircs}{8}
newcommand{circSize}{.125}
newcommand{createBullets}[1]{%
begin{tikzpicture}
emtStart = #1+1;}
foreach filled in {1,...,totCircs}
tikzmath{xCoord = 4*filled * circSize;}
ifnumfilled>#1
colorlet{fillColor}{DarkGrey}
else
colorlet{fillColor}{black}
fi
draw [color=fillColor, fill=fillColor] (xCoord,0) circle (circSize);
end{tikzpicture}%
}
begin{document}
lipsum[1]
vspace{baselineskip}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & createBullets{8}\
Adobe Illustrator & createBullets{8}\
Adobe Indesign & createBullets{6}\
Adobe Dreamweaver & createBullets{8}\
Adobe Flash & createBullets{7}\
HTML & CSS & createBullets{8}\
Javascript & Jquery & createBullets{3}
end{tabular}
end{document}
To modify the output, change the number of total circles at the top (totCircs) or the circle size.
Outputs:
Fantastic, thanks very much! What should I modify if I want the grey circle to be blank instead (with just a black border)?
– lucia de finetti
Dec 11 '18 at 12:58
The color is determined by the line ifnumfilled>#1. Under this, change DarkGrey to white (if my current iteration number is > the input, start making white circles). For a black border, change the line [color=fillColor, fill=fillColor] to [color=black, fill=fillColor].
– ntjess
Dec 11 '18 at 18:30
add a comment |
EDIT: Improves color-choosing logic, borrows better table layout from the answer by Bernard
Does this work for you?
documentclass[letterpaper, 12pt]{article}
usepackage[utf8]{inputenc}
usepackage{lipsum}
usepackage{geometry}
geometry{margin=0.8in}
usepackage{array}
usepackage[svgnames]{xcolor}
usepackage{tikz}
usetikzlibrary{math}
newcommand{totCircs}{8}
newcommand{circSize}{.125}
newcommand{createBullets}[1]{%
begin{tikzpicture}
emtStart = #1+1;}
foreach filled in {1,...,totCircs}
tikzmath{xCoord = 4*filled * circSize;}
ifnumfilled>#1
colorlet{fillColor}{DarkGrey}
else
colorlet{fillColor}{black}
fi
draw [color=fillColor, fill=fillColor] (xCoord,0) circle (circSize);
end{tikzpicture}%
}
begin{document}
lipsum[1]
vspace{baselineskip}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & createBullets{8}\
Adobe Illustrator & createBullets{8}\
Adobe Indesign & createBullets{6}\
Adobe Dreamweaver & createBullets{8}\
Adobe Flash & createBullets{7}\
HTML & CSS & createBullets{8}\
Javascript & Jquery & createBullets{3}
end{tabular}
end{document}
To modify the output, change the number of total circles at the top (totCircs) or the circle size.
Outputs:
EDIT: Improves color-choosing logic, borrows better table layout from the answer by Bernard
Does this work for you?
documentclass[letterpaper, 12pt]{article}
usepackage[utf8]{inputenc}
usepackage{lipsum}
usepackage{geometry}
geometry{margin=0.8in}
usepackage{array}
usepackage[svgnames]{xcolor}
usepackage{tikz}
usetikzlibrary{math}
newcommand{totCircs}{8}
newcommand{circSize}{.125}
newcommand{createBullets}[1]{%
begin{tikzpicture}
emtStart = #1+1;}
foreach filled in {1,...,totCircs}
tikzmath{xCoord = 4*filled * circSize;}
ifnumfilled>#1
colorlet{fillColor}{DarkGrey}
else
colorlet{fillColor}{black}
fi
draw [color=fillColor, fill=fillColor] (xCoord,0) circle (circSize);
end{tikzpicture}%
}
begin{document}
lipsum[1]
vspace{baselineskip}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & createBullets{8}\
Adobe Illustrator & createBullets{8}\
Adobe Indesign & createBullets{6}\
Adobe Dreamweaver & createBullets{8}\
Adobe Flash & createBullets{7}\
HTML & CSS & createBullets{8}\
Javascript & Jquery & createBullets{3}
end{tabular}
end{document}
To modify the output, change the number of total circles at the top (totCircs) or the circle size.
Outputs:
edited Dec 11 '18 at 20:55
answered Dec 11 '18 at 0:14
ntjessntjess
785
785
Fantastic, thanks very much! What should I modify if I want the grey circle to be blank instead (with just a black border)?
– lucia de finetti
Dec 11 '18 at 12:58
The color is determined by the line ifnumfilled>#1. Under this, change DarkGrey to white (if my current iteration number is > the input, start making white circles). For a black border, change the line [color=fillColor, fill=fillColor] to [color=black, fill=fillColor].
– ntjess
Dec 11 '18 at 18:30
add a comment |
Fantastic, thanks very much! What should I modify if I want the grey circle to be blank instead (with just a black border)?
– lucia de finetti
Dec 11 '18 at 12:58
The color is determined by the line ifnumfilled>#1. Under this, change DarkGrey to white (if my current iteration number is > the input, start making white circles). For a black border, change the line [color=fillColor, fill=fillColor] to [color=black, fill=fillColor].
– ntjess
Dec 11 '18 at 18:30
Fantastic, thanks very much! What should I modify if I want the grey circle to be blank instead (with just a black border)?
– lucia de finetti
Dec 11 '18 at 12:58
Fantastic, thanks very much! What should I modify if I want the grey circle to be blank instead (with just a black border)?
– lucia de finetti
Dec 11 '18 at 12:58
The color is determined by the line ifnumfilled>#1. Under this, change DarkGrey to white (if my current iteration number is > the input, start making white circles). For a black border, change the line [color=fillColor, fill=fillColor] to [color=black, fill=fillColor].
– ntjess
Dec 11 '18 at 18:30
The color is determined by the line ifnumfilled>#1. Under this, change DarkGrey to white (if my current iteration number is > the input, start making white circles). For a black border, change the line [color=fillColor, fill=fillColor] to [color=black, fill=fillColor].
– ntjess
Dec 11 '18 at 18:30
add a comment |
A simple solution, just with multido
and etoolbox
:
documentclass{article}
usepackage[svgnames]{xcolor}
usepackage{array, etoolbox}
usepackage{multido}
newcommand{blackbullets}[1]{multido{i=1+1}{8}{ifnumgreater{i}{#1}{color{Gainsboro}}{}textbulletkern 0.1em}}
begin{document}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & blackbullets{8}\
Adobe Illustrator & blackbullets{8}\
Adobe Indesign & blackbullets{6}\
Adobe Dreamweaver & blackbullets{8}\
Adobe Flash & blackbullets{7}\
HTML & CSS & blackbullets{8}\
Javascript & Jquery & blackbullets{3}
end{tabular}
end{document}
add a comment |
A simple solution, just with multido
and etoolbox
:
documentclass{article}
usepackage[svgnames]{xcolor}
usepackage{array, etoolbox}
usepackage{multido}
newcommand{blackbullets}[1]{multido{i=1+1}{8}{ifnumgreater{i}{#1}{color{Gainsboro}}{}textbulletkern 0.1em}}
begin{document}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & blackbullets{8}\
Adobe Illustrator & blackbullets{8}\
Adobe Indesign & blackbullets{6}\
Adobe Dreamweaver & blackbullets{8}\
Adobe Flash & blackbullets{7}\
HTML & CSS & blackbullets{8}\
Javascript & Jquery & blackbullets{3}
end{tabular}
end{document}
add a comment |
A simple solution, just with multido
and etoolbox
:
documentclass{article}
usepackage[svgnames]{xcolor}
usepackage{array, etoolbox}
usepackage{multido}
newcommand{blackbullets}[1]{multido{i=1+1}{8}{ifnumgreater{i}{#1}{color{Gainsboro}}{}textbulletkern 0.1em}}
begin{document}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & blackbullets{8}\
Adobe Illustrator & blackbullets{8}\
Adobe Indesign & blackbullets{6}\
Adobe Dreamweaver & blackbullets{8}\
Adobe Flash & blackbullets{7}\
HTML & CSS & blackbullets{8}\
Javascript & Jquery & blackbullets{3}
end{tabular}
end{document}
A simple solution, just with multido
and etoolbox
:
documentclass{article}
usepackage[svgnames]{xcolor}
usepackage{array, etoolbox}
usepackage{multido}
newcommand{blackbullets}[1]{multido{i=1+1}{8}{ifnumgreater{i}{#1}{color{Gainsboro}}{}textbulletkern 0.1em}}
begin{document}
begin{tabular}{>{sffamilycolor{DarkGrey}}ll}
Adobe Photoshop & blackbullets{8}\
Adobe Illustrator & blackbullets{8}\
Adobe Indesign & blackbullets{6}\
Adobe Dreamweaver & blackbullets{8}\
Adobe Flash & blackbullets{7}\
HTML & CSS & blackbullets{8}\
Javascript & Jquery & blackbullets{3}
end{tabular}
end{document}
answered Dec 11 '18 at 1:02
BernardBernard
171k775202
171k775202
add a comment |
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.
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%2f464223%2fformatted-list-with-bullet-progress-bars%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
Related: tex.stackexchange.com/questions/337356
– Andrew
Dec 11 '18 at 0:34
Also related: tex.stackexchange.com/q/408529/134574 and tex.stackexchange.com/q/412322/134574
– Phelype Oleinik
Dec 11 '18 at 9:40