After using the Pi symbol (\Pi), my text changes to a different font and goes to italic. How can I resolve this?
Asked
Active
Viewed 2.0k times
7
2 Answers
9
Use $\Pi$. In this case, math expressions have to be between dollar signs.
Karlo
- 3,257
-
1This 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
-
2
-
3It might be. However, since the OP does'nt provide any MWE, it could be due to a missing
$or a redefinition of\pias 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 -
-
1
The command for Π in text mode is \textPi, or you could put a literal Π in your UTF-8 source.
In a modern TeX engine that supports Unicode, you can load fontspec and a font that supports Greek. In 8-bit TeX, you would want to add the packages
\usepackage[LGR,T1]{fontenc}
\usepackage{textalpha}
and optionally change the font, or enable a LGR-encoded Greek font with substitutefont.
Davislor
- 44,045
\Pinor\pishould even work in text mode, unless the command has been redefined and producing something ( completely different?) – Apr 18 '16 at 14:10$. Could you post a minimal example? – Bernard Apr 18 '16 at 14:43