It's the first time I use LaTeX and I am a little bit confused.

I want to make this text

to dic + dcj for all 1 <= i, j <= 3

looks like this one text

I found multiple lists of LaTeX symboles, like this list, but I didn't found how to do it. I just identified the \leq symbole

dic + dcj for all 1 \leq i, j \leq 3

this worked for less or equal but I got errors in the compilation. For the ic,cj,i,j font I didn't found any solution. Can someone help me?


1 Answer 1


As noted in the comment, for an absolute beginner, take some introductionary courses and work out each chapter.

To give a fast answer, you have to obeye, if you are setting normal text or mathematics. Mathematics have to be announced, that LaTeX will change its behavior. To typeset parts of mathematical formulae within normal text, use a dollar sign ($) in the input to mark the beginning of a formulae and also its end. Here is a MWE for your question.

To type the formulae within the normal text, you have to use a dollar
sign in the input, as here: to $d_{ic} + d_{cj}$ for all $1 \leq i, j
\leq 3$.

To present it as a formulae of its own paragraph, you have to use a
different environment, of course.

This looks like this:

enter image description here

You must log in to answer this question.

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