enter image description hereI want to print text and equation like this in the image in latex but I am getting double script error with $.

1: How to combine text and equation in a paragraph in latex?

  • 3
    $i$ can be equal to $j$. ... \textit{Domino tiles} $\{P_{8(i-1)+1}, P_{8(i-1+2}, \ldots, P_{8i}\}$ [2] from the permutation, ... – Werner Feb 11 at 22:34
  • 3
    Consider reading some starter documentation on (La)TeX. Your question is fundamental to using (La)TeX, so you need some foundation... – Werner Feb 11 at 22:35

You can use $...$ or \(...\) to set inline math as part of paragraph text. I prefer the former:

enter image description here



$i$ can be equal to~$j$. The total number of pips~$p$ of a \emph{Domino
tile} is defined as $p(S_{ij}) = i + j$ \cite{domino}. The \emph{game} begins by setting
a constant permutation of the \emph{Domino tiles} ($P_{ij} = \pi(S_{ij})$)
that permits player~$i$ to take seven random \emph{Domino tiles}
$\{ P_{8(i-1)+1}, P_{8(i-1)+2}, \ldots, P_{8i} \}$ \cite{domino} from the permutation, at

  \bibitem{abc} First reference.
  \bibitem{domino} Second reference.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.