Skip to content
Latex syntax sugar for the Espresso text editor
Branch: master
Clone or download
Pull request Compare This branch is 34 commits ahead of pkalkul:master.
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.
Code/Itemizers
CodeSenseLibraries
CodeSenseProviders
ContextualSettings
English.lproj
Icons
Itemizers
Latex.xcodeproj
PlaceholderThemes
Syntaxes
Tests
TextActions
.gitignore
Info.plist
Languages.xml
Latex_Prefix.pch
README.markdown
Sample.tex

README.markdown

Latex.sugar

A Sugar for the delicious Espresso text editor to provide syntax highlighting and basic itemizers for LaTeX documents. Supports the Espresso Sugar Standard

Use

Once installed Espresso should automatically recognize your LaTeX files, provided they end in .tex. In addition to syntax highlighting for some common LaTeX features (functions & arguments, comments, (sub)sections, and text formatting, among others!) this Sugar provides itemizers (things that show up in the Navigator pane), simple code completion (for oft-used functions like \cite and \begin{}), and a few useful snippets.

There are textual shortcuts for several of the snippets:

  • Tables Type table[TAB] to open up a basic table environment; you can then type your caption, press tab, and type the reference label immediately. Woohoo!
  • Figures Type figure[TAB] to open up a basic figure environment; you can type the caption, press tab, type the reference label, press tab, and finally type the path to the figure. Woohoo, again!
  • Packages Type use[TAB] followed by the name of a package to insert a \usepackage{foo} line at the cursor.
  • Bibliography Type bib[TAB] followed by the filename of your .bib file to insert a bibliography.

Itemizer support is working now.

Installation

Clone this project somewhere, with the following:

git clone git://github.com/doches/Latex.sugar.git ./Latex.sugar

And then link it to your syntaxes directory:

ln -s "$(pwd)/Latex.sugar" "/Users/$(whoami)/Library/Application Support/Espresso/Sugars/"

Bugs

  • So far all known bugs have been fixed, if you find one, let me know.
You can’t perform that action at this time.