YaTeX-like latex completion for Atom
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keymaps
lib
menus
spec
styles
.gitignore
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

latex-shape-completion package

This package is Atom-ic clone of the marvelous YaTeX-mode in Emacs. Currently, the following is supported:

Image and Greek completion.

You can invoke intuitive image completion for math and greek letters, by : and ;.

Greek Completion

We also provide math font completion for \mathfrak{..} and so on by @.

Environment completion

You can invoke environment completion by C-c C-b: Environment Completion

Section completion

You can invoke section completion by C-c C-b: Section Completion

Smart Newline

With Cmd-Return (in macOS) or Ctrl-Enter (others), Atom automatically inserts \\, \item or simple newline according to its context: Smart Newline

Other features

  • {\large ...}-style and \maketitle-style completion is also supported.

TODOs

  • Avoid shadowing of names: one wants to input \dot{...}, but it matches \documentclass{...}!
  • Something like YaTeX-change-* to change commands/parens/environments.
  • Something like YaTeX-kill-* to smartly remove commands/parens/environments.
  • Accent completion by C-c C-a
  • Something like YaTeX-goto-corresponding-* by C-c g.
  • Argument number specification via C-u 2 or so.
  • \end{...}-completion by C-c e
    latextools already provides it, but doesn't care for whether it's already closed or not.