LaTeX: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
LaTeX is a fantastic typesetting package. Unfortunately it has a big problem: no useful documentation. So this is a collection of useful tips I have learnt while spending a lot of time googling for LaTeX documentation. | LaTeX is a fantastic typesetting package. Unfortunately it has a big problem: no useful documentation. So this is a collection of useful tips I have learnt while spending a lot of time googling for LaTeX documentation. | ||
== LaTeX Distribution == | |||
* As of 2008, the best available distribution for Linux/UNIX seems to be TexLive (version 2007, 2008 is not released yet). It has a stable ebuild for Gentoo Linux (the old tetex distribution is now obsolete). | |||
== Alignment == | == Alignment == |
Revision as of 10:43, 11 August 2008
LaTeX is a fantastic typesetting package. Unfortunately it has a big problem: no useful documentation. So this is a collection of useful tips I have learnt while spending a lot of time googling for LaTeX documentation.
LaTeX Distribution
- As of 2008, the best available distribution for Linux/UNIX seems to be TexLive (version 2007, 2008 is not released yet). It has a stable ebuild for Gentoo Linux (the old tetex distribution is now obsolete).
Alignment
- By default LaTeX justifies a paragraph. Should you need to have it aligned use:
\begin{flushright} This is some text. \end{flushright}
- There is also a \begin{flushleft} environment, of course.
Eclipse Support (via Texlipse)
- The support is good overall. It allows you to mix freely *.tex files within another project (with PHP files for example). It will configure a LaTeX builder for the project, which will build your document. However, it is intended that only one document is created (although you can combine multiple source TeX files to create it).
- Check the project properties to define which is the main LaTeX source file and which document will be built. You can also define what program will be used for the build (pdflatex etc).