this code

\newcommand*{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
Charles's sister Bona, married the eldest son of Philip \rom{6} of France,
the future John \rom{2} of France, in 1335.

Today is the year \rom{2011}.

generates this roman numbers symbol

enter image description here

how to generate the roman numbers symbol in this font/style/format?

enter image description here

  • I think this is a \mathbb{I}: \documentclass{article} \usepackage{amsfonts} \begin{document} $\mathbb{I}$ \end{document} – Schrödinger's cat Oct 24 '19 at 1:24
  • @Schrödinger'scat Thanks a lot! Please move your comments to answer, I'll accept it. – whnlp Oct 24 '19 at 1:29

It is a \mathbb{I} that ships with amsfonts.

\[ p(h|\mathcal{D})=
\frac{p(h|\mathcal{D})p(h)}{\sum_{h'\in\mathcal{H}} p(h'|\mathcal{D})}=
\frac{p(h)\mathbb{I}(\mathcal{D}\in h)/|h|^N}{%
\sum_{h'\in\mathcal{H}} p(h')\mathbb{I}(\mathcal{D}\in h')/|h'|^N}

enter image description here

It could also be a \mathbbm{I} that requires the bbm package.

|improve this answer|||||

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.