I have an essay I need to write and I would like to use MacTeX, however it has been very challenging to get it formatted to all of my prof.'s requirements. If someone could help that would be SO helpful as I am still fairly new to LaTeX, but I would like to get better. The formatting needed is below.

Formatting guidelines: Times

12-point font


Put name and date in single space at top of page

Put last name and page # in header section of following pages


1 Answer 1


I think this does what you require.

\usepackage{fancyhdr}     % Enhanced control over headers and footers 
\usepackage[T1]{fontenc}  % Font encoding
\usepackage{mathptmx}     % Choose Times font 
\usepackage{microtype}    % Improves line breaks      
\usepackage{setspace}     % Makes the document look like horse manure 
\usepackage{lipsum}       % For dummy text

\pagestyle{fancy} % Default page style 
\lhead{My name}

\thispagestyle{empty} %First page style 

\setlength\headheight{15pt} %Slight increase to header size

\textbf{My Name} \\




enter image description here

  • horse manure :)
    – Habi
    Oct 8, 2014 at 8:59
  • 1
    You may want to move the horse-manure comment to the line that says \doublespacing... (The setspace package, per se, isn't horse manure, right?)
    – Mico
    Nov 6, 2014 at 23:13
  • horse manure -- best code comment line ever.
    – user9424
    Nov 28, 2018 at 0:33

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