File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ #+TITLE: Starter Kit Latex
3
+ #+OPTIONS: toc:nil num:nil ^:nil
4
+
5
+ This is part of the [[file:starter-kit.org][Emacs Starter Kit]].
6
+
7
+ * Starter Kit Latex
8
+ :PROPERTIES:
9
+ :results: silent
10
+ :END:
11
+ Support for editing Latex
12
+
13
+ ** Prerequesites
14
+
15
+ In order to use AUCTeX the following software is required in addition:
16
+
17
+ *** A working TeX installation
18
+
19
+ **** UNIX-Style systems
20
+ A popular TEX system is TEX Live which may also be available via the
21
+ package system of your operating system distribution.
22
+
23
+ **** Mac OSX
24
+ A popular TEX system for Mac OS X is MacTEX which is based on TEX
25
+ Live.
26
+
27
+ *** A recent Ghostscript
28
+
29
+ This is needed for operation of preview-latex in both DVI and PDF
30
+ mode. Most versions of Ghostscript nowadays in use should work fine
31
+ (version 7.0 and newer).
32
+
33
+ ** Installation
34
+
35
+ #+begin_src emacs-lisp
36
+ (starter-kit-install-if-needed 'auctex)
37
+ #+end_src
38
+
39
+ ** Customization
40
+
41
+ #+begin_src emacs-lisp
42
+ (when (locate-library "auctex")
43
+ (setq TeX-auto-save t)
44
+ (setq TeX-parse-self t)
45
+
46
+ (add-hook 'LaTeX-mode-hook 'auto-fill-mode)
47
+ (add-hook 'LaTeX-mode-hook 'visual-line-mode)
48
+ (add-hook 'LaTeX-mode-hook 'flyspell-mode)
49
+ (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
50
+ (add-hook 'LaTeX-mode-hook 'turn-on-reftex)
51
+ (setq reftex-plug-into-AUCTeX t)
52
+ )
53
+
54
+ #+end_src
55
+
You can’t perform that action at this time.
0 commit comments