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.
\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}
\renewcommand\arraystretch{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.0pt\hspace{\labelsep}\ifbool{time_bullet}{\global\setbool{time_bullet}{false}}{\global\setbool{time_bullet}{true}}}
\newcolumntype{F}{<{\hskip 0pt} !{\foo} >{\raggedright\arraybackslash}p{3cm}}
\begin{document}
\begin{tabular}{lF}
1 & Test\
2 & Test \
3 & Test
\end{tabular}
\end{document}



\g_dba_bullet_index_intand\g_dba_arrow_width_dim– Ulrike Fischer Oct 19 '20 at 07:13tikzfailed to align node text and shape correctly. – Alan Xiang Oct 21 '20 at 14:58