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?
Asked
Active
Viewed 4,550 times
9
Ruben
- 13,448
-
1you 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 01 '20 at 10:18
3 Answers
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:

Daniel Miller
- 285
- 3
- 9
4
\newcommand*{\sheafhom}{\mathrm{H}\kern -.5pt om}
Ruben
- 13,448
-
Although, note, the H is in Hartshorne a mathscript letter, so one should use
\mathscr{H}and one of the many finemathscrpackages – Alex Nelson Oct 30 '13 at 16:16 -
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:
Vectornaut
- 218
