TeX Live

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

Emerge
Install :

Usage
Most of the time users will implement TeX Live through the editor of choice. The following is a list of compilers to capable of translating a document into  file:

LaTeX:

XeTeX:

LuaTeX:

Editors
There are several editors users can choose from in Gentoo. To list a few pure TeX editors:

Most editors support LaTeX syntax highlighting like Vim, emacs (which supports compilation and previewing), gedit or gleany 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.

Find the Gentoo package that contains a tex package
contains a program to search for the Gentoo package containing a tex package. For example, texmfind bbm.sty returns.

eselect pdftex
Gentoo would automatically clean out any previous version during upgrade. In order to intentionally install several versions into different slots a script exists that enables easy switching:

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 the default PDF viewer with the documentation.

In order to use the texdoc command, the  USE flag enabled for TeX Live and any other module which users would like documentation available.

To enable the  USE flag on any TeX Live module automatically, use a wildcard:

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

To enable the  USE flag only for certain modules, add them to. A quick way of adding them all is by running this command:

External resources

 * Wikibooks LaTeX