Take the 2-minute tour ×
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.

This question already has an answer here:

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

share|improve this question

marked as duplicate by Werner, Guido, Jesse, Adam Liter, Sean Allred Apr 10 at 5:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
That question doesn't answer mine. Just a fraction of it. –  Adam Apr 10 at 3:16
    
Does Peter's answer answer your question? I would discourage fiddling with the size of the subscript... –  Werner Apr 10 at 3:19
    
...you could try \scripscriptstyle... –  Werner Apr 10 at 3:38
    
Thank you! And yes Peter's answer is great. –  Adam Apr 11 at 2:35

1 Answer 1

up vote 3 down vote accepted

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}

% http://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}
share|improve this answer
    
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 at 2:32
    
@Adam: I don't know how to do that, but I think that should be a separate question. –  Peter Grill Apr 11 at 18:44
    
Ok thank you very much. –  Adam Apr 14 at 15:04

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