Tag Info

Hot answers tagged


You can use pdflatex for that. If you call pdflatex --version you get which distribution is used, in my case TeX Live: pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX) kpathsea version 6.2.0 Copyright 2014 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). [...] Or you can use the latex command, which works the same.


You need more backslashes! There are two levels of quoting going on. As you will notice in the first example to get \n it was necessary to put \\n in the source. In your case you need to write \\\\label: # -*- mode: snippet -*- # name: eqnarray # key: eq # -- \begin{eqnarray$1} ${1:$(if (string-match "*" yas-text) "\\\\label{eq:" "")}$2${1:$(if ...


Here is a solution the does not disable the guillemets in French documents. Thanks to Giordano and David Carlisle for providing all the pieces necessary to assemble the information. AUCTeX thinks any document that loads the class you're using (call it foo.cls) is in French. It thinks that because it has compiled foo.cls into a file (foo.el or foo.elc) that ...


I found a reasonable workaround here on SuperUser (by giordano). The code that fixed it was: (add-hook 'TeX-language-fr-hook (lambda () (setq TeX-quote-language `("francais" "``" "''" ,TeX-quote-after-quote)))) Obviously, this doesn't solve the underlying problem of why AUCTeX is entering French mode when it doesn't need to, but it does put ...


You changed the value of the scale factor by setting preview-scale-function to 1.5 with (set-default 'preview-scale-function 1.5) In this way you magnify the snippet and the left white space. You can get better results using values between 1.2 and 1.25.


I installed the AUCTeX according to its manual. I wrote a small tex file, but I did not figure out how to get a side-by-side preview like that of TeXStudio for example. I found one here called latex-preview-pane. It works but still do not get a PDF only bohemic script instead (see image below). Author of latex-preview-pane here. It looks like (as ...


A solution with the skeleton-mode Put this code in your .emacs (define-skeleton eqnstar "Doc string" nil "\\begin{eqnarray*}\n" " " _ " \n" "\\end{eqnarray*}") Use it with M-x eqnstar.

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