0

I want to create the symbol S'_\geq, but the lower \geq is placed too far right.

If I use S^'_\geq, the ' is too far up, but the \geq is in the right position.

How can I get an S' with a subscript \geq placed as if I used S_\geq^i?

4
  • I see no difference in the placement of the subscript in S'_{\geq} or S_{\geq}^{i} (see the picture)
    – egreg
    Sep 3, 2015 at 20:14
  • i get the same result as egreg; nothing i do will make the subscript budge from the "expected" position. are you perhaps using some fonts other than computer modern? Sep 3, 2015 at 20:17
  • If you get a different result, please add a minimal example of code that shows the issue.
    – egreg
    Sep 3, 2015 at 20:40
  • Thanks for your efforts guys, the problem was the software. Seems like GeoGebra handles LaTeX slightly different than texlive.
    – Sibbo
    Sep 3, 2015 at 20:57

2 Answers 2

1

Usually ' becomes ^{\prime}, thus that the subscript also goes to S:

\documentclass{article}
\begin{document}
\[
  S'_\geq = S^{\prime}_{\geq}
\]
\end{document}

Result

Possible reasons, why it does not work for your document:

  • The apostrophe is the wrong character. It should be the ASCII character apostrophe at position 39 (0x27).

  • A package (or other code) changes, how the apostrophe behaves in math mode.

1
  • Thank you, worked. The problem was probably the software, used latex in GeoGebra, seems to behave differently there.
    – Sibbo
    Sep 3, 2015 at 20:55
1

There is also math mode command \prime. Usage: $S_\geq^\prime$.

1
  • The inputs S' and S^{\prime} are completely equivalent.
    – egreg
    Sep 3, 2015 at 20:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .