Difference Between Tex & iTex - When to Use?

  • Thread starter Thread starter g.lemaitre
  • Start date Start date
g.lemaitre
Messages
267
Reaction score
2
what's the difference between and ?<br /> <br /> when should i use one and not the other. <br /> <br /> thanks
 
Physics news on Phys.org
Itex is for use in a line of text (Inline TEX) while tex is for use for formulae on their own line. There are some differences in layout - for example \sum_1^n renders as \sum_1^n in itex tags and as \sum_1^n in tex tags. If you 'quote' my post you'll see there are no newlines there - the tex tags added them. Things like multiline formulae (e.g. \begin{eqnarray}x&=&1+2\\&=&3\end{eqnarray}) look silly inline, but don't appear to be forbidden.

In summary, if there's a vertically compact way to render something (fractions as a/b, for example), itex uses that and tex doesn't. Tex adds newlines before and after, and itex doesn't. You might want to read the section on inline equations in latex in a latex manual, which will probably go into more detail.
 
excellent, thanks for the info
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
0
Views
792
  • · Replies 3 ·
Replies
3
Views
844
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
4
Views
4K