Since in LaTeX you’re basically writing text, lines tend to be longer than your average Python statement, so if you want to avoid vertical scrolling this is what’s best. Soft wrap basically breaks very long lines into multiple ones, without actually inserting a real line break. Open its settings and make sure the ‘Soft Wrap’ option is checked. To do so, just go to the Settings View with Ctrl+Comma and in the ‘Packages’ tab look for our newly installed package, language-latex. Writing LaTeX is slightly different from normal coding, so for this specific language I like to turn on soft wrapping. You can also explicitly set a language for any open document with Ctrl+Shift+l (or Cmd+Shift+l on a Mac). If it doesn’t, double check that the document you have open is recognized as a LaTeX file (it should say ‘Latex’ on the bottom right corner). To install it, open the Settings View with Ctrl+Comma and in the Install tab look for language-latex. We’ll use language-latex, which works great out of the box. We want to have something like the right panel. If you open a LaTeX document right now, it should look like plain text, ie. The first thing we’ll want to do is to have syntax highlighting for. Look for the Install tab in the left, and in there just search for the package in question (wording has to be exact to get the intended package as first result). To find and download a package within Atom, go to the Settings View with Ctrl+Comma (or under Edit > Preferences). In what follows we will install several packages. The good news is that it is very easy to add these, and while there are several options for each feature, I’ve tested (almost?) all of them. This means that it doesn’t come with LaTeX support out-of-the-box, which has to be added by us, in the form of packages.Įach package (typically) adds one additional feature: syntax highlighting, compiling, PDF preview, etc. If you haven’t, go to to download and install it.Ītom, like other text editors, works in such a way that it provides a lean, solid foundation to build on top of. I’m assuming you already have Atom up and running. However, I’ve tried lots of packages and configurations, and I believe the combination described below makes Atom a solid LaTeX editor. When I first migrated to Atom, I found that LaTeX support was a bit subpar, at least when compared to Sublime’s. It’s been a while since I updated my series on Atom +, but here comes a good one: how to set up Atom as a LaTeX editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |