LaTeX forum ⇒ Math & ScienceReduce space before and after a sum in an equation Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
NELLLY
Posts: 113
Joined: Thu Nov 26, 2009 2:21 am

Reduce space before and after a sum in an equation

Postby NELLLY » Mon Sep 09, 2013 12:33 pm

Hello
I need to reduce the space before and after the sum in an equation to be placed within a text. This is the equation
  1. \documentclass[12pt]{article}
  2. \begin{document}
  3. texte.....$\alpha = \displaystyle\sum_{j=UCL+1}^{n}BIN(j, n, p_0)$....texte
  4. \end{document}

I used \! to reduce space but I didn't get good results.

Tags:

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Sep 09, 2013 12:40 pm

Use \mathclap from mathtools (part of the mh bundle).
  1. \documentclass[11pt]{article}
  2. \usepackage[T1]{fontenc}
  3. \usepackage{mathtools} % loads »amsmath«
  4.  
  5. \begin{document}
  6. \[
  7. \alpha =\sum_{\mathclap{j=UCL+1}}^{n} BIN(j,n,p_0)
  8. \]
  9. \end{document}



Further reading:



Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

NELLLY
Posts: 113
Joined: Thu Nov 26, 2009 2:21 am

Postby NELLLY » Fri Feb 05, 2016 12:42 am

Thanks.


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 5 guests