Take the 2-minute tour ×
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.

I am trying to write notations like degree, micro etc in a table with math mode on. To form the table, i am using -

\usepackage{booktabs}
\usepackage{array}

But in my table when i type

$^\circ$

it gives out the same ($^\circ$) as a result, where its supposed to give me a degree notation. Can anyone please tell me how to solve this?

Thanks

share|improve this question
1  
Please add a minimal working example (MWE) that illustrates your problem. –  Harish Kumar May 18 '12 at 2:17
2  
To type units, I suggest using siunitx which also offers a tabular with S column. You have to use \degreeCelsius there. –  Harish Kumar May 18 '12 at 2:19
add comment

1 Answer

The array environment is in math mode, so you need to use {}^\circ. In tabular you need to use ${}^\circ$.

\documentclass{article}
\usepackage{amsmath}
\usepackage{array}
\begin{document}
    \begin{tabular}{c}
        ${}^\circ$
    \end{tabular}

    $\begin{array}{c}
        {}^\circ
    \end{array}$
\end{document}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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