I have a style requirement for headings. Header 1 = 16pt bold, Header 2 = 14pt bold underline. Font is required to be Palatino Linotype. I got this document shell from a classmate and have only made one real document in latex. I couldn't figure out how to modify headers without using the sectsty package, but when using sectsty I am getting "Undefined control sequence errors for my \section, \subsection, \tableofcontents and \begin but the formatting is correct. It's not messing the document up but I'd like to figure out why this is happening.

My sections aren't complicated(ex: /Section{Introduction})

\usepackage{graphicx, fancyvrb, natbib, setspace}
  • The undefined control sequence most certainly refers to \PalatinoLinotype. Drop that, since you didn't mention any of that font-related requirement in your post. – Werner Mar 1 '15 at 6:14
  • Ah that was what I forgot. Palatino is the other requirement. – Jake Mar 1 '15 at 8:14
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – karlkoeller Mar 1 '15 at 8:28

If Palatino is required for the whole document, you're already loading mathpazo to have Palatino in both text and math mode.





\usepackage{lipsum} % just for the example

\section{A section}
\subsection{A subsection}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.