سلام
مثال 1:
\documentclass[12pt,a4paper]{report}
\usepackage{array}
\newcolumntype{$}{>{\global\let\currentrowstyle\relax}}
\newcolumntype{^}{>{\currentrowstyle}}
\newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}%
#1\ignorespaces
}
\begin{document}
\begin{tabular}{|$c|^c|^c|}\hline
\rowstyle{\huge}
huge & huge & huge \\ \hline
\rowstyle{\small}
small & small & small \\
\rowstyle{\small}
text& text& text \\ \hline
\end{tabular}
\end{document}
خروجی:
مثال 2:
\documentclass[12pt,a4paper]{report}
\usepackage{array}
\newcolumntype{T}{>{\small}l}
\newcolumntype{H}{>{\Huge}l}
\begin{document}
\begin{tabular}{>{\footnotesize}l>{\Huge}llTH}\hline
footnote size & huge & normal & tiny & huge\\ \hline
text&text&text&text & text\\ \hline
\end{tabular}
\end{document}
خروجی: