Difference between revisions of "LaTeX:Style"

Line 6: Line 6:
 
== Space ==
 
== 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:
 
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:
 +
 +
<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:44, 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} 



Comments

Including Packages

See also