[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: labels in align env (amsmath style)
From: |
Seweryn Kokot |
Subject: |
[AUCTeX] Re: labels in align env (amsmath style) |
Date: |
Thu, 09 Nov 2006 20:11:55 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
> This works without problems here. Type
>
> C-c C-e align RET
> a = & 3 + 5 M-RET
> b = & 4 + 6 C-c . C-x C-x
Here typing M-RET I get \item
C-h k "M-RET" gives
"M-RET (translated from <escape> <return>) runs the command
LaTeX-insert-item"
This is what I have in .emacs file:
---
...
(add-hook 'LaTeX-mode-hook
'(lambda ()
(local-set-key [return] 'newline-and-indent)
(local-set-key (kbd "C-c a") 'reftex-parse-all)
(local-set-key [kp-enter] 'newline)
(setq compile-command "make all")))
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
(setq reftex-plug-into-AUCTeX t)
(setq reftex-extra-bindings t) ; np: C-c t: toc, C-c c: citation
(setq reftex-external-file-finder
'(("tex" . "kpsewhich -format=.tex %f")
("bib" . "kpsewhich -format=.bib %f")))
(setq reftex-label-alist '(AMSTeX)) ; \eqref instead of \ref
(setq reftex-enable-partial-scans t)
(setq reftex-save-parse-info t)
(setq reftex-use-multiple-selection-buffers t)
...
(custom-set-variables
...
'(reftex-insert-label-flags (quote ("s" "sft")))
...
---
And It seems that amsmath package is visible since when I type C-c C-e
ali TAB and align is completed. The problem is that I cannot get
\label automatically as in equation so I cannot reference to these
equations.
What is missing? Any idea?
Thanks in advance
SK
- [AUCTeX] labels in align env (amsmath style), Seweryn Kokot, 2006/11/09
- Re: [AUCTeX] labels in align env (amsmath style), David Kastrup, 2006/11/09
- [AUCTeX] Re: labels in align env (amsmath style),
Seweryn Kokot <=
- Re: [AUCTeX] Re: labels in align env (amsmath style), David Kastrup, 2006/11/09
- [AUCTeX] Re: labels in align env (amsmath style), Seweryn Kokot, 2006/11/09
- Re: [AUCTeX] Re: labels in align env (amsmath style), David Kastrup, 2006/11/09
- [AUCTeX] Re: labels in align env (amsmath style), Seweryn Kokot, 2006/11/09
- Re: [AUCTeX] Re: labels in align env (amsmath style), David Kastrup, 2006/11/09
- [AUCTeX] Re: labels in align env (amsmath style), Seweryn Kokot, 2006/11/09
- Re: [AUCTeX] Re: labels in align env (amsmath style), David Kastrup, 2006/11/10
- [AUCTeX] Re: labels in align env (amsmath style), Seweryn Kokot, 2006/11/10
- Re: [AUCTeX] Re: labels in align env (amsmath style), David Kastrup, 2006/11/10
- [AUCTeX] Re: labels in align env (amsmath style), Seweryn Kokot, 2006/11/10