The following code
\documentclass[varwidth, margin = 1cm]{standalone}
\begin{document}
apostrophe '\\
apostrophe as a Unicode character 2032 `^^^^2032\\ %requires xelatex
apostrophe in math mode $'$
\end{document}
gives the result
As one can see the apostrophe in free form, as a Unicode character 2032 and in math mode appears in different ways.
How can I produce an apostrophe similar to the one in math mode in a free text without using the awkward step of going into math mode?


\newcommand{\apostrophe}{{\quotefont'}}? Display real apostrophe in parts of a document – Bobyandbob Oct 27 '17 at 21:34prime(Unicode U+2032) but most text fonts for pdftex do not have both a curly and straight right quote – David Carlisle Oct 27 '17 at 21:35\newcommand\textprime{\ensuremath{'}}– egreg Oct 27 '17 at 21:40fontspec. Many Open Type fonts, including some available via TeX, have the prime symbol. Then, as David noted,^^^^2032places the character without need for math mode. Or you can simply paste it in from a character map. – Oct 27 '17 at 21:40primesymbol different than given in https://unicode-table.com/en/#2032 – Viesturs Oct 28 '17 at 14:25