#StackBounty: #tables #timeline Customize bullet points in vertical timeline

Bounty: 50

Based on Toggle bullet point in vertical timeline I want to customize the appearance of the bullet points in a tabular based setting.
I want to use, e.g. faArrowCircleLeft from fontawesome package. The glyph should appear above the vertical line. However, since the glyph is transparent, I wanted to put a circle in the background using tikz. I am not able to align the background accordingly, see the following example, where I used green color instead of white for the purpose of demonstration.

enter image description here

documentclass{article}
usepackage[dvipsnames]{xcolor}
usepackage{etoolbox}
usepackage{xtab}
usepackage{array}
usepackage{fontawesome5}
usepackage{graphicx}
usepackage{tikz}
definecolor{accentcolor}{RGB}{ 250, 150, 10 }
definecolor{accentcolortwo}{RGB}{ 50, 150, 10 }

newbool{time_bullet}
setbool{time_bullet}{true}

renewcommandarraystretch{2.8}

newcommand{foo}{color{accentcolor!80}vrule width 1pt 
    makebox[0pt][c]{%
        ifbool{time_bullet}{%
        parbox{6pt}{color{accentcolor}{tikz{
    node[circle,fill=green,text width=0pt, xshift=-0pt, minimum width=0pt,inner sep=0pt, outer sep=0pt] {faArrowCircleLeft} ;}
    }}setbool{time_bullet}{false}}
{setbool{time_bullet}{true}}
}hskip-0.0pthspace{labelsep}ifbool{time_bullet}{globalsetbool{time_bullet}{false}}{globalsetbool{time_bullet}{true}}}

newcolumntype{F}{<{hskip 0pt} !{foo} >{raggedrightarraybackslash}p{3cm}}

begin{document}

begin{tabular}{lF}
     1 & Test\
    2 & Test \
    3 & Test
end{tabular}

end{document}


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.