0

My first day with Tex and my first stumble ...

How do I code x subscripted with i subscripted with n? x_i_n gets rejected:

 ! Double subscript

That is exactly what I am trying to say ;-) A ref to a good tutorial that would answer this kind of questions would be much appreciated. I saw a dozen but all do not go beyond general article structure and a few examples.

Theova
  • 105
Valeri
  • 1
  • 3
    x_{i_{n}} is the way to go. – egreg Jul 23 '19 at 11:30
  • 3
    note that the official latex syntax always uses braces to avoid such ambiguity, while x_i does work you will not see such syntax in the latex book, only x_{i} then it is clearer that the syntax you need is x_{i_{n}} – David Carlisle Jul 23 '19 at 11:46

1 Answers1

0

As noted in other comments, the solution is

x_{i_{n}}

A good introduction which may fit your interests is The Not So Short Introduction to LaTeX by Tobias Oetiker.

moewe
  • 175,683
Theova
  • 105