Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • 1
    The double superscript error is kind of a dealbreaker, but I have to say that your method looks unnecessarily complicated to me (it could be simply because I'm new to LaTeX and this is actually considered normal). Commented Nov 10, 2020 at 13:26
  • @V.Ch. You have a valid point. My keyval-based approach makes the most sense when writing papers with complicated constructions like \mathcal{C}_{/X}^{\mathrm{op}} or \mathcal{D}^{b,\ge0}(X). Then I find it blessing to be able to instead write something like \catC[over=\vX,op] and \der[bounded,positive degree]{\vX}. But that is entirely a matter of taste, of course. ;-)
    – Gaussler
    Commented Nov 10, 2020 at 13:32
  • Incidentally, is there a difference between a' and a\prime? I've been using the former this whole time, but I'm noticing people using the latter in this thread. Commented Nov 10, 2020 at 14:21
  • 1
    In fact, a' is equivalent to a^{\prime}. Knuth made it this way precisely so that you can type a^{\prime 2} to get a'². You should never write a\prime, however, as this will put a giant prime to the right of your a.
    – Gaussler
    Commented Nov 10, 2020 at 14:23
  • 1
    @V.Ch. The Declare variant overrides any previous definitions. I guess I should have used the New variant. Updating the answer with this.
    – Gaussler
    Commented Nov 11, 2020 at 6:24