4

I'm using this code in LaTeX:

$\vec{s}^{'}$

The result:

enter image description here

As you see, the position of ' isn't good. How can I have a appropriate position?

Guido
  • 30,740

1 Answers1

5

it seems that there isn't any "nice" way to handle this. the first four attempts failed miserably. only the last output is passable, and the code is ugly.

\documentclass[12pt]{article}
\usepackage{amsmath}

\begin{document}
\[
  \vec{s}' \quad
  {\vec{s}}' \quad
  \vec{s}{}' \quad
  {\vec{s}}{}' \quad
  \vec{s}^{\,\prime}
\]
\end{document}

output of example code