in order to use subscript, the format used is:
\[ A_{k} \]
But whenever I use this, it puts the expression in a new line. But I don't want it to be placed in a new line, what should I do.
in order to use subscript, the format used is:
\[ A_{k} \]
But whenever I use this, it puts the expression in a new line. But I don't want it to be placed in a new line, what should I do.
There are two modes of typing equations in LaTeX:
$ ... $ or \( ... \) (see this question for more details on the two).\[ ... \] is quite popular when you don't want to give a number to your equation.For example:
\documentclass{article}
\begin{document}
$A_k$ are the coefficients...
While \[ A_k \] are the coefficients...
\end{document}
$A_k$instead of\[ A_k \](no need for grouping as well{...}. – jak123 Oct 19 '15 at 06:01