TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I make the unicode integral symbol ∫ act as if it is followed by \limits? Classically \usepackage[intlimits]{amsmath} would do. But with unicode-math this does not help anymore. I also tried:

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{XITS Math}

\usepackage{newunicodechar}
\newunicodechar{∫}{∫\limits}

\begin{document}
    \[ ∫_a^b f(x) dx \]
\end{document}

But that seems to lead to an infinite recursion

! TeX capacity exceeded, sorry [input stack size=5000].
share|improve this question
up vote 11 down vote accepted

You can use the macros \removenolimits and \addnolimits to change the limits for specified operators.

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{XITS Math}

\let\limU\removenolimits  %limit position up
\let\limR\addnolimits     %limit position right

\begin{document}
Example
    \[ ∫_a^b f(x) dx \]
\limU{\int}
    \[ ∫_a^b f(x) dx \]
\limR{\int}
    \[ ∫_a^b f(x) dx \]
\end{document}

You'll have to swicht with \limU/R for each operator you want to change the limits position. (Tested with LuaLaTeX)

share|improve this answer
1  
Works also with XeLaTeX. – egreg Jul 31 '12 at 14:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.