CaTeX (軽鳥/怪鳥) - YaTeX like completions for LaTeX in VSCode
![Visual Studio Marketplace](https://vsmarketplacebadge.apphb.com/installs/mr-konn.catex.svg)
Functionalities
- YaTeX-like image/greek completion
- Powerful snippet completion for LaTeX commands/environments:
\section{}
-like completion (C-c s)
\begin{}\end{}
-type completion (C-c b)
{\Large }
-like completion (C-c l)
\maketitle
-like completion (C-c m)
- In any completion, you can automatically register unknown commands!
- Automatic settings update;
right after you edit
settings.json
or workspace file,
other affected editors automatically reflects that change and
there is no need for reloading or restarting!
DEMOs
Image and Greek Completion
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/image-and-greek.gif)
Image Completion, manually invoked for surrounding
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/image-invoked.gif)
\section{}
-completion
Completion and surrounding:
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/section-1.gif)
Registration of custom completion, with arg specification:
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/section-2.gif)
\begin{}\end{}
-type completion
Completion and surrounding:
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/env-1.gif)
Registration of custom completion, with arg specification:
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/env-2.gif)
{\Large }
-type completion
Completion and surrounding
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/large-1.gif)
Custom registration, with/out arg specs:
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/large-2.gif)
\maketitle
-type completion
Completion and registration:
![GIF Anime](https://github.com/konn/catex/raw/HEAD/images/maketitle-completion.gif)
Recommendation for Other Extension
James Yu's LaTeX Workshop extension comes with rich complementary features such as auto-typesetting, SyncTeX support, and jump between corresponding \begin
and end
, etc.
Although it collides with the @ completion for math fonts, the author strongly recommend to install LaTeX Workshop as well.
To be honest, CaTeX was designed to fill a gap between LaTeX Workshop and YaTeX.
TODOs
- Supports
<>
and ()
-style arguments for commands.
- Prefixed
\begin-\end
completions
- Package name completions
- Contextual completion based on grammatical scopes
- (Unifying dictionaries of snippet completion and image-completions)