ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

La​Te​XOutline

by odapg ST4 New

A Sublime Text package that displays sections of a LaTeX file on a side tab and gives easy access to references

Labels latex

Details

Installs

  • Total 4
  • Win 1
  • Mac 1
  • Linux 2
Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14
Windows 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

LaTeXOutline for Sublime Text

Overview

LaTeXOutline is an ST4 package which allows displaying a clickable table of contents for a LaTeX file. This outline is shown on a separate tab.

It is intended to be used with the article, book and beamer LaTeX classes. In particular, the captured sectioning commands are: part, chapter, section, subsection, subsubsection, subsubsubsection, paragraph and frametitle.

LaTeXOutline accepts multiple-files .tex documents.

LaTeXOutline example

The simplest way to install LaTeXOutline is by using PackageControl. You can also install it manually by following these steps.

Manual installation

  1. Clone or download this repository using the green Clone or download button.
  2. If needed, rename the cloned or extracted folder to LaTeXOutline.
  3. Move the LaTeXOutline folder to your Sublime Text's Packages folder.
  4. Restart Sublime Text.
  5. Modify the settings, the keybindings and possibly the LaTeXOutline-custom.hidden-color-scheme to your liking by going to the menu Settings > Packages Settings > LaTeXOutline or by using the corresponding Command Palette entries.

Usage

  1. Open a LaTeX File.

  2. Use the command Palette entries LaTeXOutline: ToC on the Right (or Left), LaTeXOutline: ToC and labels on the Right (or Left) to open the outline pane. Use LaTeX Outline: Close sidebar to close it.
    Alternatively, use the corresponding shortcuts (by default, ctrl j, a, ctrl j, e, ctrl j, z on windows/linux and ⌘ j, a, ⌘ j, e, ⌘ j, z on mac). See the keybindings settings for more details.

  3. Click on the titles in the LaTeXOutline tab to get to the corresponding place in your LaTeX file.
    Click on a sign to take a look at a part of the LaTeX file in a panel. Use Esc to close the panel.
    Click on a sign to copy the corresponding label to the clipboard (alt+click on a sign copies \ref{label} or \eqref{label}).
    Click on a section's bullet in the LaTeXOutline tab to copy the section's corresponding label in the clipboard. A message is given in the status bar below to indicate if this label has been found.

Remarks

  • Sections and labels numbering in the outline relies on the .aux file and consequently does not work when it is erased.
  • Gathering environment names may take some time and is performed in the background. As a result, they may appear slightly later in the outline (when the corresponding setting is enabled).

Known issues

  • Section numbering does not work with the use of the cleveref package. It is likely that many packages interfering with the .aux file can create issues as well.

License

This plugin is licensed under the MIT license. In particular, it is provided “as is”, without warranty of any kind!

Acknowledgements

LaTeXOutline is originally a specific adaptation of warmdev's original SublimeOutline to LaTeX files, also using modifications due to vlad-wonderkidstudio, see SublimeOutline. It still uses an appreciable part of this code. LaTeXOutline also borrows code from LaTeXTools.