Re: indentation problem II

2022-04-21 Thread Uwe Brauer
Hi I tested your code, nice, some observations \documentclass[12pt]{article} \usepackage{amssymb,amsfonts,amsmath,amsthm} \begin{document} Test starting equation \begin{equation} \label{eq:testams:1} \begin{pmatrix} 1 & 8 ^cursor is there M-RET \end{pmatrix}

Re: indentation problem II

2022-04-21 Thread Uwe Brauer
> Uwe Brauer writes: > Thanks for your responses. Indeed, there is a big chance that inserting > a single & doesn't match the user expectation. This makes the change > even smaller: > diff --git a/style/amsmath.el b/style/amsmath.el > index 5e7812e7..f72f8be8 100644 > --- a/style/amsmath.el

Re: indentation problem II

2022-04-21 Thread Arash Esbati
Uwe Brauer writes: "IK" == Ikumi Keita writes: > >> Hmm, it would basically be useful, but I think automatic insertion of >> ampersands at the first line should be suppressed because matrix-like >> environments are used when writing column-vector like >> \begin{pmatrix} >> 1 \\ >> 2 \\

Re: indentation problem II

2022-04-21 Thread Uwe Brauer
>>> "IK" == Ikumi Keita writes: > Hi Arash, >> Arash Esbati writes: >> Hitting 'M-RET' in a pmatrix inserts only the line break \\ and not any >> ampersands. I don't use these environments so I have no experience >> about what is convenient, but what do think about this change? Is it an

Re: [Culprit found prettify-symbols-mode] (was: indentation problem II)

2022-04-21 Thread Ikumi Keita
> Uwe Brauer writes: >> It seems to me an ordinary result in array environment, "&" signs are >> vertically aligned. What other result do you expect? > Sorry, I just realized that I was fouled by the use of > prettify-symbols-mode. > Sorry for the noise I see, don't mind. Bye, Ikumi

Re: indentation problem II

2022-04-21 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Hitting 'M-RET' in a pmatrix inserts only the line break \\ and not any > ampersands. I don't use these environments so I have no experience > about what is convenient, but what do think about this change? Is it an > improvement? Hmm, it would basically

Re: indentation problem II

2022-04-21 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: >> Uwe Brauer writes: >> That seems to me also a strange result. > > It seems to me an ordinary result in array environment, "&" signs are > vertically aligned. What other result do you expect? > >> \begin{equation}\label{Mn} >> \begin{array}{rcl} >>

[Culprit found prettify-symbols-mode] (was: indentation problem II)

2022-04-21 Thread Uwe Brauer
Hi Uwe, > Uwe Brauer writes: > That seems to me also a strange result. It seems to me an ordinary result in array environment, "&" signs are vertically aligned. What other result do you expect? Sorry, I just realized that I was fouled by the use of prettify-symbols-mode. Sorry for the

Re: indentation problem II

2022-04-21 Thread Uwe Brauer
>>> "IK" == Ikumi Keita writes: Hi Keita, > Hi Uwe, >> Uwe Brauer writes: >> That seems to me also a strange result. > It seems to me an ordinary result in array environment, "&" signs are > vertically aligned. What other result do you expect? I expect this #+begin_src