I'm trying to put an underline on a section title. The university's template uses the following section of code to change the headers, but also requires them to be underlined:
Code: Select all
\def\section{\@startsection {section}{1}{\z@}{-7ex }
{ 3.5ex }{\centering\large\bfseries\TitleHyphenation}}
When I try to use underline, ul, or ulem, it shouts about being in horizontal mode. Attempts to use secsty and titlesec have been fruitless. Is there a simple way to accomplish underlining the section title?