This is an alternative package for Atom editor that support LaTeX, TeX and BibTeX grammar syntax.
% commented text
.\begin{comment} ... \end{comment}
.source.todo
.In-line verbatim \verb|<verbatim text>|
.
Verbatim environment blocks \begin{verbatim} ... \end{verbatim}
.
Support other source code highlight, beginning with % language:
and ending with % end
. Currently, support this scopes:
source.r
source.stata
source.shell
I plan to support any scope, but I need more knowledge about coffeeScript to achieve that.
\command
.\foo@bar
.documentclass[<optional args>]{<class>}
\usepackage[<optional args>]{<packages>}
\input[<optional args>]{<files>}
\include[<optional args>]{<files>}
\includegraphics[<optional args>]{<file>}
\bibliography[<optional args>]{<file>}
\nobibliography[<optional args>]{<file>}
\title[<optional args>]{<heading>}
\part[<optional args>]{<heading>}
\chapter[<optional args>]{<heading>}
\section[<optional args>]{<heading>}
\subsection[<optional args>]{<heading>}
\paragraph[<optional args>]{<heading>}
\begin{<environment>} ... \end{<environment>}
$ ... $
\[ ... \]
\begin{equation}
or \begin{align}
.\left\{
, \left[
, \left(
, \left.
with any of: \right\}
, \right]
, \right)
, \right.
.&
, _
, ^
, \\
, .
, -
.{
and }
. Non matched }
is not highlighted.(
, )
.[
, ]
. Inside brackets groups highlights keyword foo = bar
.@entry{...}
.key1999,
foo = ... ,
text.tex.latex
is active on tex
, sty
and cls
files.text.tex.bibtex
is active on bib
files.sty
, cls
and ltx
.You must disable language-latex
or language-tex
before enable this.
The older package language-latex
has some issues, so I write from scratch a new package. This is not a fork, so there is no compatibility warranty.
This software is in alpha stage of development. Please, add an issue for request a feature.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.