3

When I write a long limit there is a big gap between the limit and the function. How can I fix this? Furthermore is there a way to make the limits smaller so as not to be longer than the limit symbol? Also why is that gap there and that size difference between the length of the symbol and the limit under it? Shouldn't all be under it?

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\begin{document}

$\displaystyle \lim_{n\to +\infty}x(n)$

\end{document}

enter image description here

lockstep
  • 250,273
Adam
  • 4,684

1 Answers1

4

You can use \mathclap from the mathtools package. Altough I would not recommend it, you can resize the subscript via the solutions from Reducing font size in equation:

enter image description here

Code

\documentclass[12pt]{article}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{calc}

% https://tex.stackexchange.com/questions/60453/reducing-font-size-in-equation/ \newcommand{\Scale}[2][4]{\scalebox{#1}{$#2$}}% \newcommand{\Resize}[2]{\resizebox{#1}{!}{$#2$}}%

\begin{document} \noindent Without \verb|\mathclap|: [ \lim_{n\to +\infty}x(n) ] But with \verb|\mathclap|:: [ \lim_{\mathclap{n \to +\infty}}x(n) ] Using \verb|\scriptstyle| to resize: [ \lim_{\scriptscriptstyle n \to +\infty} x(n) ] Using \verb|\Scale| [ \lim_{\Scale[0.5]{n \to +\infty}} x(n) ] Using \verb|\Resize| [ \lim_{\Resize{\widthof{$\lim{}$}}{n \to +\infty}} x(n) ] \end{document}

Peter Grill
  • 223,288
  • Thank you very helpful! Is it possible to make the limits to start at the beggining of the lim symbol and not ahead of it? I mean not to be centered the lim symbol and the limits. – Adam Apr 11 '14 at 02:32
  • @Adam: I don't know how to do that, but I think that should be a separate question. – Peter Grill Apr 11 '14 at 18:44