[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] support for xemacs
From: |
Uwe Brauer |
Subject: |
Re: [AUCTeX-devel] support for xemacs |
Date: |
Sat, 18 Mar 2017 17:20:06 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Uwe Brauer <address@hidden> writes:
> Yes, patch set is in git. Downloading and compiling would be best.
> Yes
> M-RET (translated from <M-return>) runs the command LaTeX-insert-item
> (found in LaTeX-mode-map), which is an interactive compiled Lisp
> function in ‘latex.el’.
> It is bound to C-c C-j, M-RET, <menu-bar> <LaTeX> <Item>.
> (LaTeX-insert-item)
> Insert a new item in an environment.
> You may use ‘LaTeX-item-list’ to change the routines used to insert the
item.
> With the test file I posted here:
> http://lists.gnu.org/archive/html/auctex-devel/2017-03/msg00020.html
> the command should insert suitable number of `&'s after `\\', the logic
> is 2 * ncols - 1. So you can replace 2 with 5, it should give you 9 &.
This is what I obtain
\label{eq:testfile:1}
&&&
I insert the modified file just in case
,----
| \documentclass{article}
| \usepackage{amsmath}
| \usepackage[overload]{empheq}
| \begin{document}
| \begin{empheq}[left=\empheqlbrace]{alignat = %
| 2}
| \label{eq:1}
| x &= y_1-\dots &\quad& \text{Hit M-RET at EOL} \\
| \label{eq:testfile:1}
| &&&
| \end{empheq}
| \end{document}
`----
Uwe