1

I cannot figure out why I get error messages like ! Missing $ inserted. I would appreciate your help with this situation.

\documentclass[a5paper,12pt]{book}
\usepackage{amsmath,amssymb}
\usepackage{array}

\begin{document}

\begin{equation*}
\begin{array}{r@{\ } >{\displaystyle}m{2cm} r@{\ } >{\displaystyle}m{2cm}}
1. & {{1}\over{50}}     & 2.  & {{22}\over{25}}         \\
5. & {{60}\over{24}}    & 6.  & {{49}\over{140}}        \\
9. & {{30}\over{125}}   & 10. & {{102}\over{150}}                   
\end{array}
\end{equation*}

\end{document}
2
  • 1
    don't use \over but if you do, then you don't need any of the braces, & 1 \over 50 & but instead use & \frac{1}{50} & Feb 2 at 14:58
  • Welcome to TeX.SE!
    – Zarko
    Feb 2 at 14:58
2

You need to be in math mode so

>{$\displaystyle}m{2cm}<{$}

But never use \over in LaTeX`.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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