# How to encode the name of the LOOM programming language?

What symbols are used to write LOOM as shown in the image below? (The cutout is from a paper by Bruce et al., presented at the ECOOP conference in 1997.)

-

It is a simple \mathcal{LOOM} (in math mode of course). Different math fonts will give you (slightly?) different results.

You can define a macro for it.

\documentclass{article}

\usepackage{amsmath}
\usepackage{xspace}

\newcommand{\LOOM}{%
\ensuremath{\mathcal{LOOM}}\xspace
}
\begin{document}

... OO language, \LOOM.
\LOOM retains most of the features ...

\end{document}


Note that \ensuremath is a little overkill here because you hardly use it inside math, so you can just use $\mathcal{LOOM}$ instead. The \xspace adds a space after it if no punctuation mark follows.

-

It's awful! However it's $\mathcal{LOOM}$

\newcommand{\LOOM}{$\mathcal{LOOM}$}


Just like all user defined commands without arguments one should remember to pay attention to a space following it:

\LOOM\ is a language ...
\LOOM{} is a language ...
A typical language is \LOOM.


It's possible to use \xspace to do the choice automatically.

However the home page for the language uses simply "Loom", with no fancy letters.

-
Maybe \ensuremath might be safer? – Seamus Jun 29 '11 at 10:23
Haha, I agree, it's awful =) – Eyvind Jun 29 '11 at 11:41
BTW: I think the home page you refer to is for a different "Loom" language. – Eyvind Jul 1 '11 at 7:14