Suppose I have a command \newcommand{\mycommand}[1]{...}. In particular this :Good way to circle text
Now I want to do some thing like this :
\begin{tabularx}{\textwidth}{X|c}
Some long piece of text & \mycommand{Something}\\
Some long piece of text & \mycommand{Something}\\
Some long piece of text & \mycommand{Something}
\end{tabularx}
How do I do this without having to type \mycommand{...} for all cells in that column.
I have found >{...} for font styles and alignment but I don't know if something like this can be done.
EDIT : I would also like to know if \mycommand can have multiple arguments.

tabularxpackage per se. It could pertain to any column type, intabular,tabular*, and many other tabular-like environments, right? Please clarify. – Mico Jul 02 '20 at 13:19tabularxin the title of your posting, and\begin{tabularx}{X|c}is bound to generate a syntax error since the all-important desired-width argument is missing. (Did you mean to write\begin{tabularx}{\textwidth}{X|c}?) The more extraneous stuff is eliminated, the easier it will be for readers to focus on what's relevant. – Mico Jul 02 '20 at 13:41collcellpackage. – Bernard Jul 02 '20 at 14:10