I am struggling with formatting a section with lowercase letters in it. I like to have some special commands so that i can make the decision of case of the words.
As given below i have use \uppercase in section definition. so that the section headings will be in uppercase. But in special case like mine, kVAh should be "kVAh" and not "KVAH"
So please help me in this regard.
Regards,
Muthu.
Code: Select all
\documentclass{book}
\usepackage[raggedright]{titlesec}
\titleformat{\section}{\large \fontfamily{phv} \bfseries\uppercase}{\thesection}{1em}{\raggedbottom}
\begin{document}
\section{kVAh Meter for Restricted Range of Power Factor}
\end{document}