There were several questions for this, but none answer my doubt completely. My initial code is as follows (compiled with pdflatex):

\usepackage[top=2.5cm, bottom=2.5cm, left=2cm, right=2cm]{geometry} 

I followed the advice to create a new symbol:


but it's still worse than one observed in Txfonts


Is it possible to use this single integral sign? Many thanks in advance.

Previous posts: Integral Sign $\int...$ How to Obtain a Bold Upright Integral Sign?

2 Answers 2


To begin with, use \usepackage[T1]{fontenc}. The standard fonts have covered Polish for more than twenty years and the OT4 kludges are no longer needed.

If you want to use the integral signs from the TX fonts (I'm not sure why), you can define a new symbol font.

\usepackage[top=2.5cm, bottom=2.5cm, left=2cm, right=2cm]{geometry} 

%\usepackage[utf8]{inputenc} % unneeded with recent LaTeX

%\usepackage{amsfonts} % unneeded with amssymb
\let\lll\relax % to avoid the error

% not needed for the example
%\usepackage{color} % unneeded with xcolor




\int_1^x\frac{1}{t}\,dt + \oint_\gamma \frac{1}{z}\,dz+\iint+\iiint


enter image description here

  • 1
    Many thanks, works a like a charm.
    – rk85
    May 7, 2020 at 18:41

Although you’re using the legacy tools with seven-bit(!) fonts, in the modern toolchain, you can do this with the range= option of \setmathfont. For example, to use the integral symbols from STIX Two Math in unicode-math:

\setmathfont[range={"222B-"2233,"2A0B-"2A1C},Scale=MatchUppercase]{XITS Math}

You can add the StylisticSet=8 option to get the alternative upright integrals.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .