I know that \setkomafont is supposed to deal with switching fonts but sometimes instead of switching font, I'd like to switch to uppercase. I've not found a way to do this reliably. This breaks:
\documentclass{scrartcl}
\setkomafont{title}{\normalfont\uppercase}
\author{A. Author}
\title{The title}
\begin{document}
\maketitle
\end{document}
But this works:
\documentclass{scrartcl}
\setkomafont{section}{\normalfont\uppercase}
\author{A. Author}
\title{The title}
\begin{document}
\maketitle
\section{Something}
\end{document}
But this breaks:
\documentclass{scrartcl}
\setkomafont{disposition}{\normalfont\uppercase}
\author{A. Author}
\title{The title}
\begin{document}
\maketitle
\section{something}
\end{document}
Now, here's the one that's really weird:
\begin{filecontents}{\jobname.bib}
@Book{sen70,
author = {Amartya Sen},
title = {Collective choice and social welfare},
publisher = {Holden-Day},
year = 1970}
\end{filecontents}
\documentclass{scrartcl}
\setkomafont{section}{\normalfont\uppercase}
\author{A. Author}
\title{The title}
\bibliographystyle{plain}
\begin{document}
\maketitle
\section{Something}
\cite{sen70}
\bibliography{\jobname}
\end{document}
Now, this kind of works in that the section heading is uppercased. But it doesn't work in that the "References" is set lowercase. But it is set in normalfont...
I know that \uppercase doesn't behave like a font switching command, but is there a robust way to do what I want?
I guess I could create a virtual font with the capitals in place of the lc letters, but there must be a better way...