Saturday, October 16, 2010

Latex online tutorial part 2 - Commands

LATEX commands are all case sensitive . They may be one of the two formats.

  • They start with a backslash \ and then have name consisting of lettters only. Commands names can be terminated by a space, a number or any other 'non-letter'.
  • They contain a backslash and exactly one Non-letter.
It ignores whitespace after commands. If you want to get a spaceafter commands ,put {} and a blank after command name. the {} stops LATEX from deleting space after command names. 

EX:
Input:

I read that Knuth divides the
people working with \TeX{} into
\TeX{}nicians and \TeX perts.\\
Today is \today.

output:

I read that Knuth divides the people
working with TEX into TEXnicians and
TEXperts.
Today is June 24, 2010.

Notice that \today is a command that produces the present date and year.

To create a Italic effect in LATEX :
We use \textsl{} command .

EX:   I/P:  you can \textsl{play} cricket
         o/p: you can play cricket.

To go to new line use the \newline command.

Download the big list of LATEX command OR LINK 2 



No comments:

Post a Comment