In the point 11 of MathJax tutorial there is written that for "special functions" (it shouldn't be understood as a mathematical function btw.) like sine we can simply use \sin to get $\sin.$

Sometimes I wonder whether the thing that I am going to write is the "special function". So I just check for example $\Hom$ and get what you just see. I then use {\rm Hom} or \text{Hom} (or let it be ugly, i.e $Hom$). On the other hand things like $\projlim$ are settled.

I know that in preamble I can use \DeclareMathOperator{\Hom}{Hom}, but still I feel that a few more operators could be added to be the "special function".

So my question is the following. Are there any updates of "special functions" and if so is it possible that after the next one I will be able to use \Hom,\End and \Lin without hesitation?

Be understanding couse I have no clue how the MathJax is governed so my question may be silly.

| |
  • 8
    $\begingroup$ By the way: you should use \operatorname{Hom} (if you don't \DeclareMathOperator). That gives correct spacing. $\endgroup$ – Daniel Fischer Jun 16 '15 at 18:46
  • 2
    $\begingroup$ There were some discussions about possibility for each user to add their own set of macros. But this is probably not going to be implemented. See, for example: Personal MathJax Macros/Shortcuts? or Specific Latex commands for user's account (And other posts linked there.) $\endgroup$ – Martin Sleziak Jun 16 '15 at 18:48
  • 2
    $\begingroup$ Note that a half solution was given here: Personalised LATEX commands for users $\endgroup$ – Surb Jun 16 '15 at 18:51
  • $\begingroup$ @MartinSleziak do you have a way to make the title of cited questions appear instead of the link or you copy the title and transform it as a hyperlink? $\endgroup$ – Surb Jun 16 '15 at 18:53
  • 1
    $\begingroup$ @Surb The manual way: [Question title](http://wherever/it/goes.to). $\endgroup$ – Daniel Fischer Jun 16 '15 at 18:55
  • 2
    $\begingroup$ @Surb I just copy the title and use [title](url) syntax. But - as expected - some users have bookmarklet for that. $\endgroup$ – Martin Sleziak Jun 16 '15 at 18:55
  • $\begingroup$ @Daniel and Martin: ok thank you, I thought so, but I hoped for a magical trick :). BTW: this could be an interesting feature (that is just for SE links). $\endgroup$ – Surb Jun 16 '15 at 18:56
  • 1
    $\begingroup$ @Surb In question and answer bodies, if you have a naked link to a question (on the same SE site, or on the associated main/meta; unfortunately it doesn't seem to work cross-site), that gets resolved to the question title. But comments are second-class citizens. $\endgroup$ – Daniel Fischer Jun 16 '15 at 19:02
  • $\begingroup$ @Surb It reffers to this objects. But if I understood it correctly it makes some modification on your web browser and it substitudes \Hom% by \operatorname{Hom}. It just work browserwise, not globally (or even SE userwise). $\endgroup$ – Fallen Apart Jun 16 '15 at 19:08
  • 3
    $\begingroup$ MathJaX tries to emulates LaTeX math markup. So the question is whether LaTeX will include new macros for Hom, End, Lin... The answer is "it's extremely unlikely". A lot of legacy LaTeX code defines personalized macros for these, and an update would break the code. Note that sometimes people want $\mathrm{Hom}$, sometimes they want $\mathtt{Hom}$, sometimes $\mathsf{Hom}$... so it's far from being a simple matter. Letting everyone define what they want is (IMO) simpler. $\endgroup$ – Najib Idrissi Jun 16 '15 at 19:35
  • 1
    $\begingroup$ By the way, note that spacing will be terrible if you simply use \mathrm. You should use something like \operatorname. Compare $\mathrm{End} X$ and $\operatorname{End} X$. You can also do combinations, eg. \mathop{\mathtt{End}} X will yield $\mathop{\mathtt{End}} X$ (as opposed to $\mathtt{End}X$). $\endgroup$ – Najib Idrissi Jun 16 '15 at 19:36
  • 5
    $\begingroup$ @DanielFischer: using \operatorname*{Res} puts the subscripts and superscripts directly below and above the name: $\operatorname*{Res}\limits_{z=0}f(z)$. This can be quite useful and is another reason to use \operatorname $\endgroup$ – robjohn Jun 16 '15 at 20:46
  • 3
    $\begingroup$ @SpamIAm With my Chrome extension, I type \Re% and get \operatorname{Re} , or type \R and get \mathbb{R}. I should probably publish this as a separate extension... are there other commands you'd like to see shortened? $\endgroup$ – user147263 Jun 17 '15 at 4:28
  • 2
    $\begingroup$ I'm a bit surprised that no one mentioned \hom which produces $\hom$. $\endgroup$ – Asaf Karagila Jun 17 '15 at 5:25
  • 1
    $\begingroup$ I will add that a new answer mentioning a Chrome extension, which can help with custom commands, was added here. $\endgroup$ – Martin Sleziak Jun 21 '15 at 6:47

Browse other questions tagged .