Math & ScienceAR symbol in math mode

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
monster_me
Posts: 1
Joined: Wed May 01, 2013 8:01 pm

AR symbol in math mode

Post by monster_me »

I am encountering a problem where my tex document gives me an error whenever I try and type the AR symbol in math mode using the elsarticle document class. I am currently using texmaker with miktex 2.9 on a windows 8 machine. Below is the code and error code I am seeing.

Code: Select all

\documentclass[final,authoryear,5p,times,twocolumn]{elsarticle}

\usepackage{ar}
\usepackage{amsmath}

\begin{document}


\section{}
$\AR$

\end{document}
The error is:

Code: Select all

! Font U/ar/m/it/5=ar5 at 5.0pt not loadable: Metric (TFM) file not found.
Does anyone know how to fix this? The strange thing is that the error always stops the quick build but if I click view pdf, the file is generated how I would expect.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

AR symbol in math mode

Post by cgnieder »

Hi monster_me,

Welcome to the LaTeX community!

I have no problems running the file, neither with latex, pdflatex, xelatex nor lualatex (with an up-to-date TeX Live 2012). The error message suggests that the font file needed for ar is not found. Is it properly installed?

You may try adding \usepackage[T1]{fontenc} and see if that works but this is a shot in the very dark and may actually have nothing to do with this. I don't really know much about LaTeX's font system, unfortunately.

Regards
site moderator & package author
Post Reply