Difference between revisions of "LaTeX:Style"

Line 16: Line 16:
 
</nowiki></pre>
 
</nowiki></pre>
  
 +
results in the same as this:
  
  
 +
<pre><nowiki>
 +
\documentclass{article}
 +
\begin{document}
 +
This        is    a        sample document.
  
 +
 +
 +
 +
It illustrates how \LaTeX\ treats space.
 +
\end{document}
 +
</nowiki></pre>
  
 
== Comments ==
 
== Comments ==

Revision as of 16:47, 10 July 2007

LaTeX
About - Getting Started - Diagrams - Symbols - Downloads - Basics - Math - Examples - Pictures - Layout - Commands - Packages - Help

You'll develop your own style of using LaTeX. The sections below outline some tips that you'll find helpful.


Space

In LaTeX, you can use as much space as you like--LaTeX won't see it when it compiles. If you put in three spaces, it will only see one. If you put in 6 empty lines, it's the same as one. Therefore, this:

\documentclass{article}
\begin{document}
This is a sample document.

It illustrates how \LaTeX\ treats space.
\end{document} 

results in the same as this:


\documentclass{article}
\begin{document}
This        is     a        sample document.




It illustrates how \LaTeX\ treats space.
\end{document} 

Comments

Including Packages

See also