4

So I want an apostrophe to denote the complement, but the ^\prime symbol looks a bit too angled.

I found somewhat of a solution here.

But I can't get it to work with subscripts, A_0^\prime yields:

enter image description here

But I want the prime sign rotated 12 degrees to the left. Is that possible?

2 Answers 2

3

With a slightly modified definition from the answer to "Create rotated prime symbol" (removing the trailing \;) it works.

enter image description here

\documentclass{article}
\usepackage[figuresright]{rotating}

\newcommand*{\p}{%
    {\mathchoice%
        {\turnbox{12}{$\displaystyle\,'$}}%
        {\turnbox{12}{$\textstyle\,'$}}%
        {\turnbox{12}{$\scriptstyle\,'$}}%
        {\turnbox{12}{$\scriptscriptstyle\,'$}}}%
}%

\begin{document}
$A\p_0$
\end{document}
7
  • Is it also possible to move the prime symbol a bit closer to the center of the zero?
    – John
    Jan 23, 2021 at 18:46
  • In the definition of \p, replace \, by \:.
    – gernot
    Jan 23, 2021 at 18:47
  • Thanks, solved all my problems.
    – John
    Jan 23, 2021 at 18:49
  • @John Just wait a bit, there is always another problem around the corner. (Optimistic quote of the day)
    – gernot
    Jan 23, 2021 at 18:52
  • You were right, is there another way to adjust the displacement of the prime other than \, or \: , like can you specify the amount of pixels or inches you want to move it?
    – John
    Jan 23, 2021 at 19:05
2
\documentclass{book}
\usepackage{amsmath}
\begin{document}
    \begin{align}
              A_{0}^{\prime}
    \end{align} 
\end{document}

enter image description here

\documentclass{article}
\usepackage{rotating}


\newcommand{\pp}{\rotatebox{20}{\prime}}

\begin{document}
    $A^{\pp}$
\end{document}
1
  • 2
    It seems the OP aims at a prime symbol that is rotated to the left. $A'$ is basically the same as $A^\prime$
    – gernot
    Jan 23, 2021 at 18:46

You must log in to answer this question.

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