# Auctex Layer for Spacemacs ![logo](img/latex.png) **Table of Contents** - [Auctex Layer for Spacemacs](#auctex-layer-for-spacemacs) - [Description](#description) - [Install](#install) - [Features](#features) - [Company Auctex](#company-auctex) - [Tags navigation](#tags-navigation) - [Keybindings](#keybindings) - [Maintainer](#maintainer) ## Description Includes support for Auctex including some bindings, sane defaults, and manual loading for better startup times. ## Install To use this contribution add it to your `~/.spacemacs` ```elisp (setq-default dotspacemacs-configuration-layers '(auctex)) ``` ## Features ### Company Auctex Along with other things this layer includes company-auctex, it's only enabled if you also enable my other contrib layer `company-mode`. ### Tags navigation Tags navigation can be performed with key `%` thanks to [evil-matchit][]. ## Keybindings Key Binding | Description --------------------|------------------------------------------------------------------ SPC m b | build and view SPC m e | insert LaTeX environment SPC m c | close LaTeX environment SPC m i | insert `\item` SPC m f | insert LaTeX font - full bindings here: [AUCTeX documentation](https://www.gnu.org/software/auctex/manual/auctex/Font-Specifiers.html) SPC m C | TeX command on master file SPC m p r | preview region SPC m p b| preview buffer SPC m p d| preview document SPC m p e| preview environment SPC m p s| preview section SPC m p p| preview at point SPC m p f| cache preamble for preview SPC m p c| clear previews SPC m * | TeX documentation, can be very slow ## Maintainer This layer was created by and is maintained by @trishume, ping me in the Gitter chat if you have questions. Feel free to submit PRs for this layer though if you have improvements. [evil-matchit]: https://github.com/redguardtoo/evil-matchit