### LaTeX users online

In total there are**5**users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)

Most users ever online was

**1327**on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 5 guests

### LaTeX blog world

TUG 2016 in Toronto - Arriving and first excursion (Stefan)Define new macros for logical markup (Tobi)

Finding typefaces (fonts) (Tobi)

Order of float placement parameters (Tobi)

Changes and News (Clemens)

What's new in chemmacros v5.6? (Clemens)

Lass Dich nicht von einem Hobby stressen! (Markus)

Das "Currentfile" Paket (Uwe)

TeX Live 2016 released (Stefan)

How to Deal with Wide Tables (Lian Tze Lim)

Get TeX Live 2016 now (Tobi)

LyX 2.2 released (Stefan)

Point vs. Big Point (Tobi)

Event tip: TeX Users Group meeting 2016 Toronto (Stefan)

Programming network switches and routers using TeX (Stefan)

## Aligning Math Symbols## LaTeX Forum: Math & ScienceAdd tags
3 posts
• Page
1 of 1
Hi there! I'm a beginner to Latex and need some help with aligning subscripts and superscripts in Maths. Here's what I have:
- Code: Select all • Open in online LaTeX editor
`\documentclass{article}`
\usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{a4paper}
\usepackage[frenchb]{babel}
\title{Remaining Maths Homework} \author{Herp Derp} \date{15 November 2012} \begin{document} \maketitle
\Large Exercise 5.1 \normalsize \\ \\Q1. (a) The graph of $f(x)$ has a domain $D \in [0,8]$, which is divided into four rectangles of equal base, $x = 2$. The actual area under the graph of $f(x)$ isestimted as: $\sum_{i=1}^{+\infty}{f(x)}$ and $\int_{x_0}^{x_1}$ \end{document}
And here's the output: As you can see, the `$\infty and i=1$` are to the side of the sigma function and not on top of it. How do I solve this?- learningtex
**Posts:**2**Joined:**Fri Nov 16th, 2012
TeX normally typesets summation and product symbols with the indices on the sides in "text" style math fields, but on top/bottom in "display" style math. You can select a math display with
`\[...\]` , which is equivalent to the displaymath environment. If you want it in text mode, but still want display-sized symbols, use the `\displaystyle` command (there is also a `\textstyl` command). I provide an example of both here.- Code: Select all • Open in online LaTeX editor
`\documentclass{article}` \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{a4paper} \usepackage[frenchb]{babel} \title{Remaining Maths Homework} \author{Herp Derp} \date{15 November 2012} \begin{document} \maketitle \Large Exercise 5.1 \normalsize \\ \\Q1. (a) The graph of $f(x)$ has a domain $D \in [0,8]$, which is divided into four rectangles of equal base, $x = 2$. The actual area under the graph of $f(x)$ isestimted [sic] as: $\sum_{i=1}^{+\infty}{f(x)}$ and $\int_{x_0}^{x_1}$ Option 1: \\Q1. (a) The graph of $f(x)$ has a domain $D \in [0,8]$, which is divided into four rectangles of equal base, $x = 2$. The actual area under the graph of $f(x)$ is estimated as: \[\sum_{i=1}^{+\infty}{f(x)}\] and \[\int_{x_0}^{x_1}\] \\ Option 2: \\Q1. (a) The graph of $f(x)$ has a domain $D \in [0,8]$, which is divided into four rectangles of equal base, $x = 2$. The actual area under the graph of $f(x)$ is estimated as: $\displaystyle\sum_{i=1}^{+\infty}{f(x)}$ and $\displaystyle\int_{x_0}^{x_1}$ \\ \end{document}
- kaiserkarl13
**Posts:**575**Joined:**Tue Mar 25th, 2008**Location:**Knoxville, TN, USA
3 posts
• Page
1 of 1
## LaTeX users onlineUsers browsing this forum: No registered users and 5 guests |