# My text's font style changes and goes to italic after using the Pi symbol

After using the Pi symbol (\Pi), my text changes to a different font and goes to italic. How can I resolve this?

• Neither \Pi nor \pi should even work in text mode, unless the command has been redefined and producing something ( completely different?) – user31729 Apr 18 '16 at 14:10
• Probably you forgot a closing $. Could you post a minimal example? – Bernard Apr 18 '16 at 14:43 • If you want to write the mathematical symbol, try putting dollar signs around \pi. If you want to write text in the Greek language, not mathematics, consider tex.stackexchange.com/questions/100690/… – Benjamin McKay Apr 19 '16 at 7:33 ## 1 Answer Use $\Pi$. In this case, math expressions have to be between dollar signs. • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review – Romain Picot Apr 18 '16 at 14:29 • @Romain Picot - Imho this provides an answer to the question. – Karlo Apr 18 '16 at 14:38 • It might be. However, since the OP does'nt provide any MWE, it could be due to a missing $ or a redefinition of \pi as pointed by ChristianHupfer. My comment is more, that we should wait for clarification from the OP before to guess as solution – Romain Picot Apr 18 '16 at 14:57
• OK, I understand. – Karlo Apr 18 '16 at 15:22
• @RomainPicot: Perhaps some black magic with \ensuremath ... ;-) – user31729 Apr 18 '16 at 15:49