Symbol/Unicode | Prime/U+02B9 |
---|---|
Type of symbol | Mathematics |
Package (requirement) | No |
Argument | No |
Latex command | \prime |
Example | a^\prime → aʹ |
There are two ways to print the prime symbol in a latex document. First, you can press the '
key on the keyboard, and second, you can use the default \prime
command of latex. There is no difference between the two in the output.
\documentclass{article}
\begin{document}
% Useing keyboard key
$$ f'(x) = x^2 $$
$$ g'(x) = x^3 $$
% Using \prime command
$$ f^\prime(x) = x^2 $$
$$ a + b^\prime $$
\end{document}
Output :