Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by Alan Munn, Seamus, Claudio Fiandrino, clemens, Kurt Feb 3 '13 at 18:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to! Have you already tried to create a preamble? What class are you using? You will need fontspec and its macros \setmainfont and \setsansfont. – Qrrbrbirlbel 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

1 Answer 1

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

share|improve this answer

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