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'm new to LaTeX, and I'm trying to write some relational algebra with it. When I put a \sigma or \pi into the code, all the text that comes after it becomes italicized.

Here's a quick example:

\documentclass[11pt]{article}
\begin{document}

\sigma \ hello world

\end{document}

This produces: σ Hello World

What would be the correct way to get the "Hello World" to not be italicized?

share|improve this question

closed as off-topic by Joseph Wright Sep 7 at 6:01

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Have you tried wrapping \sigma in math delimiters? –  dustin Sep 8 '13 at 16:29
1  
Write $\sigma$. –  marczellm Sep 8 '13 at 16:30
    
That worked! Thanks! –  h7u9i Sep 8 '13 at 16:33
5  
More importantly don't ignore latex error messages. The fact that the rest of the document was in math mode was an accidental side effect of the error recovery but latex had stopped and issued an error message before typesetting \sigma, so really you should not have even looked at the following text. –  David Carlisle Sep 8 '13 at 16:46
    
This question appears to be off-topic because it is about a basic issue covered by any introductory text. –  Joseph Wright Sep 7 at 6:01

Browse other questions tagged or ask your own question.