\documentclass[12pt]{standalone} \usepackage{array} \usepackage[opentype]{sourceserifpro} \newcommand*\spA{abcde} \newcommand*\spB{01469} \newcommand*\spr[1][\spA]{& #1 & #1 & #1 \\} \begin{document} \centering \begin{tabular}{ >{\sourceserifpro}l >{\sourceserifpro}c >{\sourceserifprosemibold\bfseries}c >{\sourceserifpro\bfseries}c } & Regular & Semibold & Bold \\ normal \spr capitals \spr[\MakeUppercase\spA] lining \spr[\spB] old-style \spr[\oldstylenums{\spB}] \end{tabular} \end{document}