Formatted list with bullet progress bars












1














I would like to create a list with a bullet progress bars formatted like this:



enter image description here



Any help would be much appreciated :)










share|improve this question






















  • 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
















1














I would like to create a list with a bullet progress bars formatted like this:



enter image description here



Any help would be much appreciated :)










share|improve this question






















  • 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














1












1








1







I would like to create a list with a bullet progress bars formatted like this:



enter image description here



Any help would be much appreciated :)










share|improve this question













I would like to create a list with a bullet progress bars formatted like this:



enter image description here



Any help would be much appreciated :)







formatting itemize bullets






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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


















  • 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










2 Answers
2






active

oldest

votes


















5














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:



enter image description here






share|improve this answer























  • 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



















4














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}


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%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









    5














    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:



    enter image description here






    share|improve this answer























    • 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
















    5














    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:



    enter image description here






    share|improve this answer























    • 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














    5












    5








    5






    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:



    enter image description here






    share|improve this answer














    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:



    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    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


















    • 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











    4














    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}


    enter image description here






    share|improve this answer


























      4














      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}


      enter image description here






      share|improve this answer
























        4












        4








        4






        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}


        enter image description here






        share|improve this answer












        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}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 11 '18 at 1:02









        BernardBernard

        166k769194




        166k769194






























            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%2f464223%2fformatted-list-with-bullet-progress-bars%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

            Сан-Квентин

            Алькесар

            Josef Freinademetz