9

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?

2
  • 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, 2013 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, 2020 at 10:18

3 Answers 3

4
\newcommand*{\sheafhom}{\mathrm{H}\kern -.5pt om}
2
  • 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, 2013 at 16:16
  • @AlexNelson, do you think that \mathcal could do the the job?
    – Ruben
    Oct 30, 2013 at 16:52
8

An ugly hack, but it looks pretty good:

\documentclass{article}
\usepackage{amsmath,calligra,mathrsfs}
\DeclareMathOperator{\Hom}{\mathscr{H}\text{\kern -3pt {\calligra\large om}}\,}

\begin{document}
$\Hom(X,Y)$
\end{document}

The result:

sheaf-hom

0

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

\documentclass{article}
\usepackage{amsmath}
\usepackage{BOONDOX-calo}
\DeclareMathOperator{\SheafHom}{\mathcal{H\kern -3pt o\kern -2pt m\kern -1pt}}
\DeclareMathOperator{\Hom}{Hom}

\begin{document}
the sheaf $\SheafHom(A, B)$ and the set $\Hom(A, B)$
\end{document}

Output:

Output image

You must log in to answer this question.

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