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}
> 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
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 \\
>>> "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
> 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
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
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}
>>
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
>>> "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