Code Monkey home page Code Monkey logo

latex-box's Introduction

LaTeX-BoX

LaTeX-BoX

This plugin provides:

  • Background compilation using latexmk.
  • Completion for commands, environments, labels, bibtex entries, and inline maths.
  • A simple table of contents.
  • Smart indentation.
  • Highlight matching \begin/\end and \left\right pairs.
  • Motion between \begin/\end and \left\right pairs with the % key.
  • Motion through brackets/braces (with user-defined keys).
  • Environment objects (e.g., select environement with "vie" or "vae").
  • Inline math objects (e.g., select inline math with "vi$" or "va$").
  • Folding of parts (part/chapter/section/etc) and environments.
  • OmniCompletion for bibliography entries respects BibLaTeX's \addbibresource, \addglobalbib and \addsectionbib commands.
  • The table of contents functionality does not depend anymore on the assumption that \@writefile{toc}{\contentsline ...} entries in the *.aux file always occur at the start of some line.
  • Completion of \ref{...} commands was completely rewritten. It is now able to handle \@newlabel{label}{{number}{page}...} entries in the *.aux file even if number or page contain arbitrary nested levels of braces. Labels are additionally held in a cache per *.aux file, which is updated only if the modification time of the file changes.
  • The table of contents now opens files different from the one currently being edited in a new buffer. (I actually think, that this behaviour was implemented already, but I could not get it working.) To make this work, LaTeX-Box is not loaded per buffer but globally.

This plugins aims at being lightweight and simple. For more fully-fledged plugins, see:

  • LaTeX-Suite: vimscript#475
  • AutomaticTexPlugin: vimscript#2945

Installation

With gmarik vundle

https://github.com/gmarik/vundle

Add Bundle 'LaTeX-Box-Team/LaTeX-Box' to your ~/.vimrc and run :BundleInstall in a vim buffer. Add ! to the command to update.

With pathogen

https://github.com/tpope/vim-pathogen

Add the LaTeX-Box bundle to your bundle directory, for instance with git clone. This will typically be enough:

cd ~/.vim/bundle
git clone git://github.com/LaTeX-Box-Team/LaTeX-Box.git

Without a plugin manager

Copy the directories to your .vim/ folder.

Mirror information

This is mirrored on

latex-box's People

Contributors

aetherknight avatar alexjf avatar andrew-hill avatar bgrant avatar dynosure avatar goballooning avatar halbtuerke avatar jdeut avatar jnwhiteh avatar jonasdiemer avatar kieranclancy avatar lervag avatar leszekswirski avatar michamos avatar mungerd avatar mvy avatar ppwwyyxx avatar punassuming avatar randy3k avatar randybot avatar sotte avatar tc-0 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.