chemacs2
latex-snippets
Our great sponsors
chemacs2 | latex-snippets | |
---|---|---|
31 | 9 | |
739 | 948 | |
- | - | |
0.0 | 0.0 | |
12 months ago | 11 months ago | |
Emacs Lisp | Vim Snippet | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
chemacs2
- Easiest Way To Switch Emacs Configs On The Fly?
-
A Late Night Rant About Emacs
I honestly suggest sticking with Doom Emacs as your main work system to start, and have a toy config you slowly build up as you gain more experience. You could manage such a system with tools like Chemacs, https://github.com/plexus/chemacs2, or if using Emacs 29 you could use custom-user-directory, https://blog.phundrak.com/emacs-29-what-can-we-expect/#custom-user-directory.
You could manage such a system with tools like Chemacs, https://github.com/plexus/chemacs2
- need package(plugin) and resources suggestions for Note taking setup - New to emacs
-
Easiest way to install vanilla emacs along with Doom Emacs, keeping everything separate
Edit: Actually this may be what you want: https://github.com/plexus/chemacs2
I'm using chemacs2
-
How to Make Emacs Look Cooler with Simple Customization
https://www.spacemacs.org/ is a layer on top of emacs that solves a number of shortcomings including a more modern UI. If you use https://github.com/plexus/chemacs2, you can always run emacs and spacemacs independently, both for learning, troubleshooting etc.
- Init file anywhere?
- How do you manage several similar emacs configs?
-
Using init.el as a wrapper to a primary config
have a look at how https://github.com/plexus/chemacs2 does this sort of things.
latex-snippets
-
LaTeX3: Programming in LaTeX with Ease
Though I'm not the same commenter, I personally got over the curve by learning from the LaTeX-tutorial.com website recommended by my professor of a math course, and then by learning how to use the Vim text editor with LaTeX. I also took a math course that happened to required weekly problem sets to be submitted in LaTeX.
The first stage of learning was to learn LaTeX with from the website LaTeX-Tutorial.com, which includes a tutorial with no paywall [1]. I paid the closest attention to tutorials 00 to 05 for the core functionality, then skimmed the rest of the tutorial, as I would only rarely use the remaining features. (For tables, even after gaining a general familiarity with how the tabular environment work, I still found it faster to use the Tables Generator website [3], which was also recommended by my instructor).
I then gained practice using TeXstudio as I preferred an offline program, though my professor and most of my fellow students used Overleaf as an online editor. However, I found that I spent a lot of time transcribing handwritten problem sets into LaTeX documents on TeXstudio and Overleaf, and searched for a faster and more pleasant method (in particular, I found that there was a significant delay in my experience when compiling LaTeX code to a PDF with TeXstudio and Overleaf).
That was the source of my motivation for learning how to use Vim with LaTeX, though you should have enough knowledge for effectively writing LaTeX documents with just the information from the LaTeX tutorial website. I was also motivated due to my curiosity about Vim in general, from past discussions on the text editor in an xkcd comic and various forum discussions.
To begin the learning process for Vim, I completed the default-installed Vim tutorial (also motivated because I was curious about Vim in general, from past discussions on the text editor in an xkcd comic and various forum discussions) over a weekend day. Crucially, I followed most of the advice from a Hacker Noon article [4] about more efficient ways to scroll up and down. I then edited the .vimrc config file to allow for using the cursor to keep things simple, using most of the default configurations for Neovim.
Then, I roughly followed E.J. Mastnak's guide at [1] to get set up, over the course of another weekend day. After some troubleshooting with the configuration, I finally got the setup to work, and I’ve happily been using Vim with LaTeX since then. Since the process reduced the friction to compile LaTeX code to a PDF, I compiled my document more often, so I could catch errors early and often (I rarely spend time troubleshooting and debugging LaTeX code now, since I now fix errors shortly very after they appear, as I compile the document every few lines of code or so).
The main major drawback of using Vim and LaTeX was that I followed the advice to enable autocompletion with snippets (e.g. typing “AA” automatically types in “\forall”) via the the UltiSnips software, which would make substitutions without an audible notification (in contrast to other software that I use to make snippets outside of Vim, that would make an audible ping before a substitution). That led to some significant typos in an early assignment I submitted, and I since learned from my mistake to be far more careful when using Vim with LaTeX for enabling snippets. However, snippets also functioned as a nice learning tool, as I would learn through practice what some basic commands would be, through the auto-substitution (for example, I’ve now easily remembered through exposure that <= is written as `\leq`) in LaTeX.
To conclude, you can use free tutorials to learn the basics of LaTeX, and use Overleaf and TeXstudio to practice. For additional speed and pleasantness, you can spend a couple focused weekend days (or possibly more) to learn how to use Vim with LaTeX following another free guide. Then, you can reinforce your learning through regular practice (in my experience, my regular practice was necessary due to requirements of a math course—if your work or education similarly requires LaTeX, a real-life necessity is a great motivator for practicing document production with LaTeX).
[1] https://latex-tutorial.com/tutorials/
[2] https://www.ejmastnak.com/tutorials/vim-latex/intro/
[3] https://www.tablesgenerator.com
[4] https://hackernoon.com/learning-vim-what-i-wish-i-knew-b5dca...
[5] https://github.com/gillescastel/latex-snippets/blob/master/t...
-
Troubles to set up vimtex and ultisnips for latex
I copied the vim configuration which is in https://github.com/gillescastel/latex-snippets into my vimrc. But I don't know how to acess to the "~/.vim/UltiSnips/" file to copy all the snippets that Gilles Castel putted in the link . Also when i open a vim .tex file, some features of vimtex don't work: it doesn't compile, it doesn't show the zathura pdf that i installed by the "sudo apt install zathura" command and some latex command are replaced by their symbols (like \cap) while other aren't (like \cup).
My ~/.vimrc configuration is just copied from this website https://github.com/gillescastel/latex-snippets
-
How to check if you're in markdown math?
I was trying to use some of Gilles Castel's LaTeX snippets for my own notetaking, which I do on nvim with markdown, using pandoc to convert to pdf. The problem with this is that the tex snippets are designed to be activated only when in LaTeX math, but there's no function to directly check this in the plugin I'm using for pandoc markdown.
- Emacs' org-mode gets citation support
- help with ultisnips and vimtex
- A place to learn LaTeX online (learnlatex.org)
What are some alternatives?
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
vim-pandoc - pandoc integration and utilities for vim
emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]
crafted-emacs - A sensible base Emacs configuration.
spacemacs - A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
nixconfig - My NixOS config
cheovim - Neovim configuration switcher written in Lua. Inspired by chemacs.
doom-nvim - A Neovim configuration for the advanced martian hacker [Moved to: https://github.com/doom-neovim/doom-nvim]
dotfiles - My dotfiles for Bash/Zsh, Vim/Neovim, Doom Emacs, tmux, Git, terminal emulators, JupyterLab, aria2, mpv, Nix and Homebrew
launchers - coursier CLI launchers