\prime
(′) for
priming symbols. Note that it is not automatically at the superscript
height, so that to get f′ you would have to type
0.1
$f^\prime$ .To make lighter work of this, LATEX will interpret a right-quote character as a prime if used in maths mode. Thus we can type
0.1
$f'(g(x)) g'(x) h''(x)$in order to get
f'(g(x))g'(x)h''(x) .