4

I need to write my document in Arial font, and I have no idea how to install the font. Would anyone be able to give a step by step guide? I have tried to use other guides, but they get rather confusing.

Thank you.

  • First of all, i am sorry you have to use that font. Second, what operating system are you running? Are you using pdflatex or xelatex/lualatex? – Johannes_B Jan 31 '16 at 13:43
  • Hello, i know Arial font is not the greatest, and I am using xelatex. Thank you. – Jessica Meynell Mar 07 '16 at 13:35
  • Operating System? Do you have Microsofft Word installed? – Johannes_B Mar 07 '16 at 13:43
  • XeLaTeX allows you to use system fonts. If you use MS Windows or macOS, Arial should be preinstalled. Hence, you don’t need to install Arial and just put \usepackage{fontspec} \setmainfont{Arial} into the preamble of your document. – Jasper Habicht Mar 19 '19 at 16:01

2 Answers2

4

XeLaTeX allows you to use fonts that are installed on your computer. On current versions of MS Windows and macOS, Arial should already be installed system wide. Hence, an installation of Arial is not needed. For other operating systems that do not come with Arial pre-installed, just place the font file in the regular directory for fonts on your computer as you would do to install the font for other software such as Office.

The following MWE works on MS Windows and macOS with XeLaTeX:

\documentclass{article}

\usepackage{fontspec} 
\setmainfont{Arial}

\begin{document}

Hello world!

\end{document}

Just browse this platform for more concrete questions regarding the use of fonts with XeLaTeX. There are also several related questions on how to use Arial with LaTeX such as this one and this one.

2

I am also required to write a document with Arial font and thought I would share this in case someone else has the same question.

I placed the following in my preamble and used pdflatex:

\usepackage{arial}                           % load package which provides the font
\renewcommand{\sfdefault}{ua1}               % set default serif font as Arial
\renewcommand{\familydefault}{\sfdefault}    % set the default font as serif, i.e., Arial

The package documentation can be found here

jeschwar
  • 233