2

I am a beginner in latex. I am getting double subscript error while compiling the eqn below. pls help

\textit{$[S_e]_e_=_1^N$} 
5
  • 1
    Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Commented Jul 30, 2018 at 9:12
  • Welcome to TeX SX! What's the \textit command for?
    – Bernard
    Commented Jul 30, 2018 at 9:13
  • to get the text in italics
    – poorna
    Commented Jul 30, 2018 at 9:32
  • What are the _ (underscore) symbols supposed to achieve? Are you trying to create subscript material? If so, why are there _ symbols to the left and right of =? And, is the ^ symbol supposed to create a superscript? Please advise.
    – Mico
    Commented Jul 30, 2018 at 9:35
  • 2
    Which text? You have a math formula, and this does nothing. Anyway, in maths, all letters are already in italic.
    – Bernard
    Commented Jul 30, 2018 at 9:37

2 Answers 2

11

To have more than one letter in subscript, put the text in curly braces ({and }):

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\begin{document}

$[S_e]_{e=1}^N$

\end{document}

This gives:

Math equation

2

An alternative, slightly aesthetic, to the answer of @Tom you can use \scriptscriptstyle in mathmode to decrease the subscript $e=1$. Thus N and e=1 have a bit more distance. enter image description here

\documentclass[12pt]{article}
\usepackage{graphicx}
\begin{document}
$[S_e]_{\scriptscriptstyle e=1}^N$
\end{document}
2
  • using \scalebox for text give bad results. Never do this!
    – TeXisFun
    Commented Jul 30, 2018 at 10:50
  • @TeXisFun I have delete \scalebox.
    – Sebastiano
    Commented Aug 15, 2018 at 17:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .