Latex source file

Latex’s reserved characters

# $ % ^ & _ { } \

They have specal meaning in latex.
Use backslash to output them

\# \$ \% \^{} \& \_ \{ \} \ {}

The backslash it’s self can’t be output by add another backslash.
Have a try .

The \\ is used to take a newline.

Commands

Command start with \ backslash

You can \textsl{lean} on me!
->
You can lean on me!


Please, start a new line right here!\newline Thank you!
Please, start a new line right here!\ Thank you!
->
Please, start a new line right here!
Thank you!

Note

If Latex meet a ‘%’ percent sign, it will ignore words behind it.

1
2
3
4
5
This is an % stupid
% Better: instructive <----
example: Supercal%
ifragilist%
icexpialidocious

This is an example: Supercalifragilisticexpialidocious


If comment content is very long, try verbatim macro package’s comment environment.
In document’s guid space declare \usepackage{verbatim}

1
2
3
4
5
6
7
This is another
\begin{comment}
rather stupid,
but helpful
\end{comment}
example for embedding
comments in your document.

This is another example for embedding comments in your document.