# How to use package euler for only the integral symbol?

Is there a way to use only the symbol from the integral of the package euler without loading the whole package?

Thanks in advance!

## 1 Answer

In the modern toolchain, with unicode-math, you can download the Neo Euler font and write:

\setmathfont[range = {\int, \oint}, Scale = MatchUppercase]{euler.otf}


With the legacy type 1 fonts, look up the symbol in appendix D of the amsfonts manual. The \int symbol is in the font euex, and we see that the display-style \int is in slot "5A and the text-style \int in slot "52. Therefore, we can load this font as a math alphabet and select the appropriate style using \mathchoice.

\documentclass[varwidth]{standalone}
\usepackage[T1]{fontenc}

\makeatletter
\DeclareSymbolFont{eulerex}{U}{euex}{m}{n}
\DeclareMathSymbol{\big@int}{\mathop}{eulerex}{"5A}
\DeclareMathSymbol{\little@int}{\mathop}{eulerex}{"52}
\DeclareRobustCommand{\int}[0]{\mathchoice%
{\big@int}%
{\little@int}%
{\little@int}%
{\little@int}}
\makeatother

\begin{document}
$$\displaystyle\int\ldots$$ \\
$$\textstyle\int\ldots$$ \\
$$\int_{\int_{\int}} \ldots$$
\end{document}


And likewise for \oint if you need it.