> Arash Esbati writes:
>>> +(defun LaTeX-item-equation-matrix ()
>>
>> Maybe the function name should be reconsidered since it has little
>> to do with equation.
> I admit that amsmath.el is not really consistent about name-space.
> Other functions in that style also go with '-equation-'.
Hi Keita,
Ikumi Keita writes:
>> Arash Esbati writes:
>> diff --git a/style/amsmath.el b/style/amsmath.el
>> index 5e7812e7..f72f8be8 100644
>> --- a/style/amsmath.el
>> +++ b/style/amsmath.el
>> @@ -57,7 +57,8 @@
>> "align*" "gather*" "flalign*" "multline*" "equation*"
>>
Hi Arash,
> Arash Esbati 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
> ---
Uwe Brauer writes:
> I tested your code, nice, some observations
Thanks for testing.
> Gives this
> \begin{equation}
> \label{eq:testams:1}
> \begin{pmatrix}
> 1 & 8 \\
> &
> \end{pmatrix}
> \end{equation}
>
> Could the & be aligned?
I'm not sure it makes sense to align those &
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
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?
> \begin{equation}\label{Mn}
> \begin{array}{rcl}
> \lim_{n\rightarrow\infty} M^n &=&
Hi
Please consider
In which I run LaTeX-fill-environment
That seems to me also a strange result. Using an array and a pmatrix is
odd I confess, but I received this file in that form.
Any ideas what to do?
Uwe Brauer
\documentclass[12pt]{article}
\usepackage{a4wide}
15 matches
Mail list logo