TeX Live

TeX Live is a complete TeX distribution with several programs to create professional documents.

Installation
Install :

Usage
Most of the time you will use TeX Live through the editor of your choice. Here a list of the different compiler to translate a document into.

LaTeX:

XeTeX:

LuaTeX:

Editors
There are several you can choose from in Gentoo. To list a few pure TeX editors:
 * - KDE based editor, which lets you write in LaTeX code and then compile the document
 * - Qt based editor, which lets you write in LaTeX code and then compile the document
 * - GTK based editor, which lets you write in LaTeX code and then compile the document
 * - Qt based WYSIWYM editor, you type directly into the LaTeX document and can edit LaTeX code afterwards
 * app-editors/texworks - Qt based editor, suggested editor by the UK-TUG which lets you write in LaTeX code and then compile the document. Can be found in the betagarden overlay as live ebuild.
 * This is by far not a complete list.

Most of the editors support LaTeX syntax highlighting like, (which supports compilation and previewing),  or  and most development IDE's provide some plugins like  and.

Programs with LaTeX support

 * - has a LaTeX plugin to display mathematical formulae
 * - has a LaTeX plugin for inserting formulae in mind maps

eselect pdftex
Gentoo would automatically clean out any previous version during upgrade. If you intentionally install several versions into different slots, there is a script that enables you to easily switch between them:

You can list available distributions with the following command:

To set the distribution:

texdoc
Shows the original TeX documentation by keywords. For example everything about article:

This should open your default pdf viewer and show you the documentation. In order to use texdoc, you need to have the doc USE flag enabled for TeX Live and any module you want to have documentation about. To enable the doc USE flag on any TeX Live module automatically, you could use a wildcard:

A full list of installed TeX modules can be shown with the following command:

To enable the doc USE flag only for certain modules, add them to. A quick way of adding them all:

External resources

 * Wikibooks LaTeX