Hot answers tagged

163

Sublime Text with LaTeXTools plugin Available for: Windows, Mac, Linux This is a simple, but powerful, editor. It's similar to Notepad++, but available on multiple platforms, and much easier to setup for LaTeX with the LaTeXTools plugin, which is available from the Package Control tool. It is also similar to TextMate, but is being actively developed and ...


115

The directives are understood by TeXShop, TeXWorks and TexStudio. The TS stands for TeXShop which was the IDE that first implemented them on the Mac. (Other editors have similar kinds of metadata). I'll comment on each directive separately, since I think they are not equally useful. My comments apply in principle to both TeXShop and TeXworks. J.C. ...


98

ShareLaTeX - Online LaTeX editor in your web browser. Note: The companies behind ShareLaTeX and Overleaf have merged, and as such the two services will at some point in the future be merged into one. See https://www.overleaf.com/blog/518-exciting-news-sharelatex-is-joining-overleaf#.Wa_pdL8hWV4. Unlimited projects for free latex, pdflatex and XeLaTeX ...


62

I managed to find the perfect solution! For some reason, this didn't show up on my previous Google searches. I tailored my version of this solution: http://nimal.info/blog/2010/latex-on-windows-with-miktex-and-notepad/ My version (on a 64-bit Windows 7 machine) is as follows: Download and install Basic MiKTeX 2.9 (32-bit) Download and install SumatraPDF ...


53

Texpad — texpad Platforms: Mac (and iOS) License: Commercial Languages: English, German and Japanese Unicode: Yes % !TeX directives: Yes Syntax Highlighting: Yes Auto-typeset: OSX only Code Completion: Yes, command completion and autofill Code Folding: No Spell Checking: Yes SyncTeX: Yes Built-in Output Viewer: Yes, supports PDF Project Management: Yes, ...


53

Atom with latex, latex-plus, or latextools packages Platforms: Windows, Mac, Linux Licence: Open source (MIT license) % !TEX directives: Yes Syntax highlighting: Yes (with language-latex package), customizable Code completion: Yes, customizable Code folding: Yes Spell check: Yes SyncTeX: Yes Built-in output viewer: Yes (with pdf-view package) Project ...


53

Advantage If you use biblatex or multiple languages with babel or polyglossia, you can benefit from the integrated commands of csquotes. There are commands to quote in languages other than the main language so that the quoted text is typeset in accordance with the rules of the language. There are also commands to make formal quotes, both in the main ...


50

Auto-Latex Equations add-on for Google Docs For all math equations typeset in MathJax/LaTeX, the Auto-Latex Equations add-on for Google Docs is free and works brilliantly. It simply replaces all your math with high-quality images of the equation. All you have to do is type an equation within delimiters, like $$55 + \sqrt{5}$$ and it can be rendered in ...


43

+1 David for sed one-liner but with all due respect there is no better tool for working with tables than AWK. This is the solution for the above problem! awk 'BEGIN {FS="&";OFS="&"}{print $1,$3,$2,$4,$5}' file.csv > newfile.csv


43

As a tip for the future: When creating big tables, I make a command to encode the row. \newcommand{\resultrow}[4]{#1 & #2 & #3 & #4 \\} If you then want to change the order/layout of something you only have to change the command definition. You should take care in making the command as descriptive as possible, and that the arguments are in ...


40

Editors that understand % ! TeX directives E P R S TeXShop x x x x TeXStudio x x x x TextMate ? x x ? TeXworks x x x x SublimeText o x x x Atom o x x o Vim (vimtex) o x x o Overleaf ? x ? ? | | | | x = yes | | | Spellcheck o = no | | Root ? = ? | Program ...


40

TeXstudio In the current release (2.12 branch), TeXstudio's build process ('Build & View') by default runs pdfLaTeX but not a bibliography tool, which you need to do separately. There is also a need to change the settings to run Biber rather than BibTeX for creating a bibliography. The configuration step sets Biber as default bibliography tool. In ...


39

I always recommend that you learn the basics of LaTeX before you learn LyX. LyX will not save you from learning LaTeX so you might as well learn it well from the start. After you really understand what LyX is doing (through LaTeX), you might find you like it better than using LaTeX directly. This is the case for me. This is also why I don't think LyX is a ...


38

Vim with vimtex — vim Platforms: GNU/Linux, MS Windows, Mac, wherever you get Vim with clientserver and a TeX distribution with latexmk running License: Vim License (Vim), MIT License (vimtex) Unicode: Yes RTL/bidi support: Partial % !TEX directives: Only % !TEX root, however, Vim by itself supports many things such as modelines and buffer-local variables ...


36

Well even if I know which quotes I want to use in a document: I would find it painful to remember which quotes and keyboard keys to use in an English text, and which in the German and whatever a Frenchman must use in a French text. Actually at the time csquotes appeared I was just thinking about a generic system to relieve me from trying to remember which of ...


35

Update (2017-02-14) Thanks to the time spent on the answer below, and to some new features in WinEdt 10.2, now WinEdt 10.2 is really "LaTeX3-sensitive". WinEdt 10.2 incorporates the highlighting scheme in this answer (with many improvements) and features many other functionalities to support LaTeX3 (e.g. command completion for commands and environments ...


33

Any editor with regular expression replace can easily swap columns. For example on the command line if tab.tex contains your input this regexp will swap column 2 and 3. (You may need more or less backslashes in the regexp depending on the command line shell in use) sed -e "s/^\([^\&]*\)\&\([^\&]*\)\&\([^\&]*\)/\1\3\2/" tab.tex A ...


33

There are two separate tasks here: making your keyboard produce the various Unicode symbols, and making those symbols meaningful to LaTeX. 1. Producing Unicode symbols from your keyboard If you're on a Mac, make a .keylayout file, put it in the ~/Library/Keyboard Layouts directory, then log out and back in again. Your new keyboard layout should now appear ...


32

Visual Studio Code with LaTeX-Workshop (on GitHub) other extensions are available Platforms: Windows, Mac, Linux License: open source (on GitHub), License MIT Languages: de, en, fr, ... Unicode: Yes RTL/bidi: ... % !TEX directives: Yes Syntax Highlighting: Yes, customizable (extensions) Code Completion: Yes, customizable (extensions) Code Folding: Yes ...


28

Emacs with AUCTeX (adapted from this answer) AUCTeX Version 11.88 Version 11.88 has (currently) probably the best support for biber and biblatex among *TeX editors: AUCTeX is able to look at biblatex load options to automatically choose the right bibliography processor on a per-document basis, you need only to enable file parsing by setting TeX-parse-self ...


28

Amazingly enough, TeXShop does in fact have such a facility. The problem is that long-time users of it like myself are probably unaware of it. It can be found under the Edit Menu -> Experiment This menu will open a window which you can copy a snippet of the currently open document. When you press the Typeset button on the window, it will show the result ...


27

Stick point somewhere near \usepackage{array,colortbl} and two buffers will open up for array and colortbl packages if you do M-x getpackage which you can bind to a key of your choice (defun getpackage () (interactive) (search-backward "\\") (re-search-forward "usepackage[^{}]*{" nil t) (while (looking-at "\\s-*,*\\([a-zA-Z0-9]+\\)") (re-search-forward "\...


27

For the record, here's my font-lock settings for Emacs with LaTeX3. To make use of these, I define a latex3-mode which is derived from the inbuild latex-mode. (Note: I don't use AucTeX, I use the simple TeX modes.) The idea of the font-locking is similar to Joseph's in that it adds more matches for highlighting. I've added a specials for core functions (...


26

As far I know, one nice true WYSIWYG editor that is BaKoMa, although include also a source editor. There are licenses since 55$ but there are a evaluation period, so you can test for free if the ratio quality/price is enough. Another shareware program,Scientific Workplace is a WYSIWYW (what you see is what you want, nearly to a WYSIWYG) that import/...


26

From http://texstudio.sourceforge.net TeXstudio has been forked from Texmaker in 2009, because of the non-open development process of Texmaker and due to different philosophies concerning configurability and features. Originally it was called TeXmakerX because it started off as a small set of extensions to Texmaker with the hope that they would ...


25

Alan Munn’s answer covered most of the questions for TeXShop; I’ll explain them for TeXworks. (This is adapted from Joseph Wright’s blog post TeXworks ‘magic comments’.) % !TeX program =〈program〉: 〈program〉 should be one of the programs set up in TeXworks and is case-insensitive. (Note that the “TS-” in TS-program is optional in TeXworks.) % !TeX encoding =...


25

On a Windows PC and on Ubuntu, it is Ctrl+Right arrow On Mac OS X it is Command+Right arrow ⌘+⇒ It can be changed to Tab (⇥), but this is by default linked to another shortcut. If you go to the Preferences, "Shortcuts" tab, open up the "Editor" and the "Basic Key Mapping" list. Scroll down until you find Next placeholder or one word right Double click ...


24

As already mentioned in my comment above, EqualX is a nice equation editor available for Linux, Windows, and Mac. It requires a working TeX Live or MiKTeX installation available. The generated images can be directly dragged and dropped into other applications. The properties bar (activate with Window > Properties Bar) between image and source area allows ...


Only top voted, non community-wiki answers of a minimum length are eligible