I want to type sheaf hom into LaTeX how can I do it? In Hartsthorne it appears as something like $\mathscr{H}om$ but I don't think this is right. For example, because the space between the 'H' and 'o' is too big. What can I do?

  • 1
    you might want to add a picture of what you are trying to achieve. Otherwise people have to look up you keywords first.
    – papabravo
    Oct 30 '13 at 12:24
  • Ravi Vakil uses a nice-looking sheaf hom in The Rising Sea (paragraph 2.3.C of the November 18, 2017 draft linked here). The source code doesn't seem to be publicly available, though.
    – Vectornaut
    Jul 1 '20 at 10:18
\newcommand*{\sheafhom}{\mathrm{H}\kern -.5pt om}
  • Although, note, the H is in Hartshorne a mathscript letter, so one should use \mathscr{H} and one of the many fine mathscr packages Oct 30 '13 at 16:16
  • @AlexNelson, do you think that \mathcal could do the the job?
    – Ruben
    Oct 30 '13 at 16:52

An ugly hack, but it looks pretty good:

\DeclareMathOperator{\Hom}{\mathscr{H}\text{\kern -3pt {\calligra\large om}}\,}


The result:



This version uses the BOONDOX-calo script font. I barely notice the misaligned connecting strokes at my typical reading size.

\DeclareMathOperator{\SheafHom}{\mathcal{H\kern -3pt o\kern -2pt m\kern -1pt}}

the sheaf $\SheafHom(A, B)$ and the set $\Hom(A, B)$


Output image

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.