TeX Live

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

Emerge
Install :

Upgrading
When users try to upgrade TeXLive, they'll meet "hard blocking". Here we describe a solution and the reasons behind it.

Solution
First you need to unmerge some packages in dev-texlive:

Then do upgrade:

Or simply pull in "world":

Why this workaround?
Some ebuilds (see below) do contain "hard blocking", specified by the operator. Hard blocked packages can't be installed simultaneously, even temporarily. They are "hard" instead of normal block, because of some file moves. 

As of 2017, portage can't resolve hard-blocks automatically, and users have to handle them manually.

As of 2017, the operators are found only in the packages, , and. Packages blocked by them are these three themselves plus.

Usage
Most of the time users will implement TeX Live through the editor of choice. The following is a list of compilers 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 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