2015-01-16 04:48:42 +00:00
# Auctex Layer for Spacemacs
![logo ](img/latex.png )
<!-- markdown - toc start - Don't edit this section. Run M - x markdown - toc/generate - toc again -->
**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 )
<!-- markdown - toc end -->
## Description
2014-12-01 23:20:24 +00:00
Includes support for Auctex including some bindings, sane defaults, and manual loading for better startup times.
2015-01-16 04:48:42 +00:00
## Install
To use this contribution add it to your `~/.spacemacs`
```elisp
2015-02-18 03:36:12 +00:00
(setq-default dotspacemacs-configuration-layers '(auctex))
2015-01-16 04:48:42 +00:00
```
## Features
### Company Auctex
2014-12-01 23:20:24 +00:00
Along with other things this layer includes company-auctex, it's only enabled if you also enable my other contrib layer `company-mode` .
2015-01-16 04:48:42 +00:00
### Tags navigation
2015-01-16 04:45:53 +00:00
Tags navigation can be performed with key `%` thanks to [evil-matchit][].
2014-12-21 13:23:40 +00:00
## Keybindings
Key Binding | Description
--------------------|------------------------------------------------------------------
2015-01-11 20:33:45 +00:00
< kbd > SPC m b < / kbd > | build and view
2014-12-21 13:23:40 +00:00
< kbd > SPC m e < / kbd > | insert LaTeX environment
< kbd > SPC m c < / kbd > | close LaTeX environment
< kbd > SPC m i </ kbd > | insert `\item`
< kbd > SPC m f </ kbd > | insert LaTeX font - full bindings here: [AUCTeX documentation ](https://www.gnu.org/software/auctex/manual/auctex/Font-Specifiers.html )
< kbd > SPC m C < / kbd > | TeX command on master file
< kbd > SPC m p r < kbd > | preview region
< kbd > SPC m p b< / kbd > | preview buffer
< kbd > SPC m p d< / kbd > | preview document
< kbd > SPC m p e< / kbd > | preview environment
< kbd > SPC m p s< / kbd > | preview section
< kbd > SPC m p p< / kbd > | preview at point
< kbd > SPC m p f< / kbd > | cache preamble for preview
2015-01-11 20:33:45 +00:00
< kbd > SPC m p c< / kbd > | clear previews
2014-12-21 13:23:40 +00:00
< kbd > SPC m *< / kbd > | TeX documentation, can be very slow
2014-12-01 23:20:24 +00:00
## 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.
2015-01-16 04:45:53 +00:00
[evil-matchit]: https://github.com/redguardtoo/evil-matchit