A brief search yielded no answers, so I'm posting this question:
Is there a way to get smallcaps to display correctly in (subsub...)section titles?
My problem in particular is in the following code:
\documentclass{article}
\newcommand*{\matlab}{\textsc{matlab}}
\begin{document}
\section{\matlab}}
\end{document}
Instead of producing a smallcaps MATLAB in the title, it produces normal text - "matlab", i.e. what went into \textsc{} in the newcommand*{}{}.
It doesn't actually produce an error or warning and compiles, but doesn't give me the required output.
Anyone know of a work-around/solution?

\fauxsccommand might be of help here (or what Mico did ;-)) – Apr 22 '15 at 04:10\scis a Plain-TeX font instruction that's deprecated in LaTeX. – Mico Apr 22 '15 at 05:22