I want to apply \lstinline
to one of the columns. I don't like idea to put it in every cell manually.
I am trying to do
\begin{table}
\begin{center}
\begin{tabular}{| >{\lstinline}l | l |}
\hline
Имя класса & Назначение\\ \hline
Base & Базовый класс с функциями-утилитами \\ \hline
\end{tabular}
\end{center}
\end{table}
But pdflatex just hangs on these lines.
\lstinline$class_name$
in every column (at least I can use regular expressions to do that automatically) but I hope there are easier ways to do this.tabular
environment?