# How do I prevent text after inserting a greek letter from being italicized? [closed]

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?

-

## 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
Write $\sigma$. –  marczellm Sep 8 '13 at 16:30
That worked! Thanks! –  h7u9i Sep 8 '13 at 16:33
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