# Undefined control sequence,amsfonts

During compilation of my document I get the following error:

.............
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf/tex/latex/misc/amsfonts.sty
! Undefined control sequence.
l.27 \font\twtymsx=msxm10   \@magscale
4
?


How to fix this problem? Thank you.

-

## migrated from meta.tex.stackexchange.comJan 3 '14 at 22:01

This question came from our discussion, support, and feature requests site for users of TeX, LaTeX, ConTeXt, and related typesetting systems.

Please provide an MWE (minimum working example) that generates the error messages you're encountering. Information about the TeX distribution and operating system you use would also be useful. –  Mico Jan 3 '14 at 22:16
You seem to be using either some very old packages or a very old template. The font msxm10 has been declared obsolete several years ago. –  egreg Jan 3 '14 at 22:25
@egreg -- where "several" >> 10. –  barbara beeton Jan 3 '14 at 23:09

(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf/tex/latex/misc/amsfonts.sty


You should be including

(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty


You have a spurious local file

/usr/share/texmf/tex/latex/misc/amsfonts.sty


that you should probably delete (and then re-run texhash)

-