Skip to content

Instantly share code, notes, and snippets.

@edwardtoday
Created March 12, 2013 15:14
Show Gist options
  • Save edwardtoday/5143744 to your computer and use it in GitHub Desktop.
Save edwardtoday/5143744 to your computer and use it in GitHub Desktop.
% change fontsize for section/subsection/subsubsection headings
\titleformat{\section}{\normalfont\sectionsize}{\thesection}{1em}{}
\titleformat{\subsection}{\normalfont\subsectionsize}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\normalfont\subsubsectionsize}{\thesubsection}{1em}{}
% Change spacing for headings. Please ignore the actual numbers.
% They are tweaked by comparing PDF outputs to the Word template. --!
\titlespacing*{\section}{0pt}{-12pt}{6pt}
\titlespacing*{\subsection}{0pt}{-14pt}{6pt}
\titlespacing*{\subsubsection}{0pt}{-16pt}{6pt}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment