Possible Duplicate:
Change section fonts

for a University Assignment I have been given some 'House Style' rules which must be adhered for all the documentation. These are:

Main Text Body: Times New Roman, 12pt

Heading 1: Arial, 16pt

Heading 2: Arial, 14pt

Heading 3: Arial, 12pt

I know that I need to use XeLaTeX in order to use system fonts, however, no matter what I try, I cannot get the document to display correctly.

Any idea on how I would implement this is Tex?

  • Welcome to TeX.sx! Have you already tried to create a preamble? What class are you using? You will need fontspec and its macros \setmainfont and \setsansfont. Feb 3 '13 at 17:26
  • You do not need XeLaTeX or LuaLaTeX: You can use one of the type1 equivalents or just install the package winfonts (the ttf versions have to be installed for this).
    – Speravir
    Feb 4 '13 at 20:06

Modifying the answer here to the sizes you need, this should be quite straightforward:

% Compile with XeLaTeX or LuaLaTeX
% Set sans serif font to Arial
% Set serifed font to Times New Roman
\setmainfont{Times New Roman}
% Set formats for each heading level

\section{A section}
This is some text.
\subsection{A subsection}
\subsubsection{A subsubsection}

output of code

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