8

could anyone please tell me how I can write "ℰ" in latex in both text and math enviroment? I have already tried $\mathscr{E}$ and $\mathcal{E}$, but none of those are satisfying.

What I want to have is

enter image description here

but not any of these

enter image description here

percusse
  • 157,807
Ben
  • 89

3 Answers3

15

Here are 3 more script fonts for which there exists a LaTeX package (in math mode): Dutchcal(from the esstix 13 font), Boondox (from the stix fonts) (two variants) and Adobe's Bickham. All exist in regular and boldface. The following code allows to test them, commenting and uncommenting the relevant lines:

        \documentclass[12pt]{article}
        \usepackage[utf8]{inputenc}

        \usepackage{dutchcal}
        %\usepackage{boondox-cal}
        %\usepackage{boondox-calo}
        %\usepackage{bickham}

        \pagestyle{empty}

        \begin{document}%
        \textbf{Dutchcal: }
        %\textbf{boondox-cal}
        %\textbf{boondox-calo}
        %\textbf{bickham}
        $ \begin{array}[t]{c@{\quad}c}
            \verb+ \mathcal + & \verb+ \mathbcal + \\[6pt]
            \mathcal{E} & \mathbcal{E}
            \end{array} $

        \end{document} 

enter image description here

enter image description here

enter image description here

enter image description here

Bernard
  • 271,350
14

I wouldn't bother, so long as the symbol is a script E. However, here's a way to get the symbol you like; in the second line I show the character resulting with \mathscr (package mathrsfs).

\documentclass{article}
\usepackage{amsmath}
\usepackage{mathrsfs}

\DeclareFontFamily{U}{calligra}{}
\DeclareFontShape{U}{calligra}{m}{n}{<->callig15}{}

\newcommand{\calE}{{\!\!\text{\usefont{U}{calligra}{m}{n}E}\,\,}}

\begin{document}
Here is a $\calE$ (script E)

Here is a $\mathscr{E}$ (script E)
\end{document}

enter image description here

egreg
  • 1,121,712
  • Thank you very much! This is my first time posting here, so sorry if I caused some trouble. – Ben Jun 26 '14 at 21:08
10

And here two versions with free fonts with use of the fontspec and unicode-math package.

These are mathematical symbols, so you will have to suround them by $ $ or alike. But with fontspec you may load any font you like as main font and use it for your text as well.

% arara: lualatex

\documentclass{article}
\usepackage{unicode-math}
\usepackage{fontspec}

\begin{document}
\noindent
\setmathfont{xits-math}
$\mscrE\mbfscrE$ (XITS Math)\\
\setmathfont{asana-math}
$\mscrE\mbfscrE$ (Asana Math)
\end{document}

enter image description here

LaRiFaRi
  • 43,807