Hi Aditya,
thank you very much, now I need to specify the alignment only for one "column"
and it gets applied for all of them. However, there is still the problem with
the standard setting of the alignment. For example,
\starttext
\startformula \startalign[m=2, align={right,left}]
\NC ab \NC =
On Fri, 1 Jan 2021, Hans Hagen wrote:
> On 1/1/2021 8:21 AM, Aditya Mahajan wrote:
> > \startformula \startalign[m=2,distance=8em,n=5,
> > align={right,middle,middle,middle,left, right,middle,middle,middle,left}]
> > \NC 0 \NC < \NC 2x + 5y \NC < \NC 10
> > \NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR
On 1/1/2021 8:21 AM, Aditya Mahajan wrote:
\startformula \startalign[m=2,distance=8em,n=5,
align={right,middle,middle,middle,left, right,middle,middle,middle,left}]
\NC 0 \NC < \NC 2x + 5y \NC < \NC 10
\NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR
\NC 3 \NC < \NC 2y + 3z \NC < \NC 15
\NC 10\NC < \NC 8y
On Wed, 30 Dec 2020, Johann Birnick wrote:
> Okay, but I think it's a bug, because as you see in the linked pdf it worked
> the
> simple way some years ago...
Yes, something has changed internally. Earlier, if you used:
\startalign[align={right,left}, n=4]
...
\stopalign
then the alignment
The developers might tune in; perhaps it was changed.
> On 30 Dec 2020, at 15:01, Johann Birnick wrote:
>
> Okay, but I think it's a bug, because as you see in the linked pdf it worked
> the
> simple way some years ago...
Okay, but I think it's a bug, because as you see in the linked pdf it worked the
simple way some years ago...
On Wed, 2020-12-30 at 14:38 +0100, Hans Åberg wrote:
> One has to indicate the align pattern for all columns, otherwise it defaults
> to left, it seems:
>
> \starttext
>
>
One has to indicate the align pattern for all columns, otherwise it defaults to
left, it seems:
\starttext
\startformula \startalign[m=2,distance=8em,n=5,
align={right,middle,middle,middle,left,right,middle,middle,middle,left}]
\NC 0 \NC < \NC 2x + 5y \NC < \NC 10
\NC 4 \NC < \NC 3x + y \NC <
Hi Alain,
I don't know what you mean by "you have two position in the second and one in
the first" ?
The 4 is not aligned correctly. Please see
https://dl.contextgarden.net/myway/mathalign.pdf where the example comes from.
The output looks different.
Best regards,
Johann
On Wed, 2020-12-30 at
Hi Johann,
The 4 is right aligned, but for this
column you have two position in the second and one in the first.
You could try ~4 and it will align
with 10.
Best regards,
Alain
Le 29/12/2020 à 22:27, Johann Birnick a
écrit :
Hi Otared,
I'm using the same version. The problem is the "right"-alignment. See the 4 on
the right side. It should be right-aligned. I attached my pdf.
Best regards,
Johann
On Tue, 2020-12-29 at 21:37 +0100, Otared Kavian wrote:
> Hi Johann,
>
> The example you sent works fine here with LMTX
Hi Johann,
The example you sent works fine here with LMTX version 2020.12.28 01:41.
Which version of ConTeXt are you using ?
Best regards: Otared
> On 29 Dec 2020, at 14:36, Johann Birnick wrote:
>
> Hi there,
>
> I noticed that Math align is not working properly. In particular I mean the
>
Dear Hans,
I reinstall a new beta and test the previous file.
(LuaMetaTeX: version 2.03.4, ConTeXt version: 2019.12.16 18:54, format:
2019.12.17)
The problem is gone!
The space in the aligned display math mode is normal.
Thank you so much.
Best regards,
Dalyoung
Dear Hans,
Here is a small example which shows a strange spacing in the aligned display
math mode.
The same code is OK in both inline mode and just display mode, but it is not
good in aligned mode.
I hope that it helps your fix .
Thank you.
Best regards,
Dalyoung
%
running luametatex
On Mon, Dec 16, 2019 at 3:08 PM Hans Hagen wrote:
> On 12/16/2019 2:17 AM, Jeong Dal wrote:
> > Dear Mikael,
> >
> > I also confirm your problem.
> > I am using
> > "ConTeXt ver: 2019.12.06 21:40 MKIV beta fmt: 2019.12.9 int:
> english/english”
> >
> > However, if you change “\Bigl(“ to
On 12/16/2019 2:17 AM, Jeong Dal wrote:
Dear Mikael,
I also confirm your problem.
I am using
"ConTeXt ver: 2019.12.06 21:40 MKIV beta fmt: 2019.12.9 int: english/english”
However, if you change “\Bigl(“ to “\left(“, then the space between left
parenthesis and text become narrower.
I hope
Dear Mikael,
I also confirm your problem.
I am using
"ConTeXt ver: 2019.12.06 21:40 MKIV beta fmt: 2019.12.9 int: english/english”
However, if you change “\Bigl(“ to “\left(“, then the space between left
parenthesis and text become narrower.
I hope that it will be fixed soon.
Best
Hi Mikael,
II tested your example and can confirm the issue, using lmtx version:
2019.12.15 17:34 on MacOS.
Best regards: OK
> On 15 Dec 2019, at 16:54, Mikael P. Sundqvist wrote:
>
> Hi,
>
> I hope this report is not a duplicate of another one. I updated lmtx today
> (from
Dear Otared,
Am Mittwoch, den 07.12.2011, 05:11 +0100 schrieb Otared Kavian:
Thank you having tested the file I sent.
did the example work for you with MKIV in the past?
As I suspected, your testing confirms that the change or the bug has been
introduced in a recent version of ConTeXt
On 6-12-2011 22:52, Otared Kavian wrote:
\definemathmatrix[alignedcases]
[align={right,left,left},
distance=3pt,
left={\left\{\;},
right={\right.},
style=\displaystyle]
\starttext
\startformula
\startalignedcases
Dear Paul,
Thanks for your attention: as you may have seen, Hans found the fix and after
that math align works fine.
As you noticed, the issue was related to what you reported some time ago.
Best regards: OK
On 7 déc. 2011, at 09:03, Paul Menzel wrote:
Dear Otared,
Am Mittwoch, den
Dear Otared,
I run your code and got the output which is as same as in your file
align-mkii.pdf
I don't know why you got align-mkiv.pdf.
In my log file,
ConTeXt ver: 2011.10.08 11:42 MKIV fmt: 2011.10.12 int: english/english
...
mkiv lua stats luatex banner - this is luatex,
Dear Dalyoung,
Thank you having tested the file I sent.
As I suspected, your testing confirms that the change or the bug has been
introduced in a recent version of ConTeXt mkiv, some time between October and
late November.
The version I am running is
ConTeXt ver: 2011.11.29 23:11 MKIV
On Mon, 19 Jan 2009, Otared Kavian wrote:
Hi everyone,
This question is primarily intended for Aditya… but I guess other fellows on
the list can also help me solve the following alignment problem:
Is it possible to have an alignment like the rsult of the following with
On 19 janv. 09, at 15:38, Aditya Mahajan wrote:
On Mon, 19 Jan 2009, Otared Kavian wrote:
[...]
So my question is: whether one can use \startcases ...\stopcases
instead of \startmatrix ... \stopmatrix in order to obtain the
result of the plain TeX example?
No, but there is not much
On Mon, 19 Jan 2009, Otared Kavian wrote:
On 19 janv. 09, at 15:38, Aditya Mahajan wrote:
On Mon, 19 Jan 2009, Otared Kavian wrote:
[...]
So my question is: whether one can use \startcases ...\stopcases instead
of \startmatrix ... \stopmatrix in order to obtain the result of the plain
On 19 janv. 09, at 19:49, Aditya Mahajan wrote:
On Mon, 19 Jan 2009, Otared Kavian wrote:
[…]
Should I add this to the wiki?
Please do.
Aditya
Done:
http://wiki.contextgarden.net/\startcases
Best regards: OK
Aditya,
This confuses me, I thought when using 3 columns I have to set n=3
otherwise I get errors about extra tab found etc.
However doing as you suggested, seems to work.
Then another question, the formula numbering is not aligned with the
other formula's in my text
like in the code below.
On Sun, 26 Aug 2007, WN wrote:
Aditya,
This confuses me, I thought when using 3 columns I have to set n=3 otherwise
I get errors about extra tab found etc.
However doing as you suggested, seems to work.
This is due to the m key. m=2 tells context that there are two blocks
of equations. n=2
On Sat, 25 Aug 2007, WN wrote:
Hi,
Is there a way to increase the distance between the columns in
startalign/stopalign ?
I read the Myway on math align and there are examples where one can set
the distance but
only for pairs of equations.
In the following code I have 3 columns but they
Taco Hoekwater wrote:
David Arnold wrote:
And where should we put this module temporarily?
Put it in the local directory and do
\input math-ext
at the top of your test files.
attached is a next version with 'definable' aligns
\definemathalign[myalign][...]
\startmyalign ...
I might have missed it by not reading careful enough: is it possible
to left/right/middle align certain columns inside \startalign?
Thanks a lot for these definitions, Hans!
Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
Mojca Miklavec wrote:
I might have missed it by not reading careful enough: is it possible
to left/right/middle align certain columns inside \startalign?
some day (try to convince me/taco, bribe us, write detailed specs, send
us so many mails that we give in, etc)
Hans
Taco, Hans, et al,
That worked by putting it in the same directory as my little test file.
However, with this directory structure:
../book.tex
../bookenv.tex
../math-ext.tex
../chapter6/chapter6.tex
../chapter6/section5.tex
Bookenv.tex is our environment file. I tried:
\input math-ext
and
David Arnold wrote:
Taco, Hans, et al,
That worked by putting it in the same directory as my little test file.
However, with this directory structure:
../book.tex
../bookenv.tex
../math-ext.tex
../chapter6/chapter6.tex
../chapter6/section5.tex
Bookenv.tex is our environment file. I tried:
Yikes,Cont-new.tex is huge. Where do I put this line? Between \unprotect ... \protect? Or at the very end?On Jan 16, 2006, at 10:16 AM, Hans Hagen wrote: \ifx\startalign\undefined \input math-ext.tex \fi ___
ntg-context mailing list
ntg-context@ntg.nl
Hans, Willi, et al,
I was thinking there are pros and cons to each solution, Hans' and
Willi's. So I tried:
Here are some simple examples of adding fractions already having
common denominators.
%output=pdf
\input math-ext
\starttext
\placeformula[-]
\startformula
David Arnold wrote:
In this situation, will I have to put it into the base context tree?
Yes, you would, but we are only testing now. I assume (based on the
name) that Hans has a new core file in mind instead of a module.
Taco
___
ntg-context
On Mon, 16 Jan 2006, Hans Hagen wrote:
Mojca Miklavec wrote:
I might have missed it by not reading careful enough: is it possible
to left/right/middle align certain columns inside \startalign?
some day (try to convince me/taco,
Please, please, please :-)
bribe us,
Not possible, I am a
David Arnold wrote:
Yikes,
Cont-new.tex is huge. Where do I put this line? Between \unprotect ...
\protect? Or at the very end?
On Jan 16, 2006, at 10:16 AM, Hans Hagen wrote:
at the top, before \unprotect
(not that critical btw)
Hans
___
David Arnold wrote:
Hans, Willi, et al,
I was thinking there are pros and cons to each solution, Hans' and
Willi's. So I tried:
Here are some simple examples of adding fractions already having
common denominators.
%output=pdf
\input math-ext
\starttext
\placeformula[-]
\startformula
Aditya Mahajan wrote:
Maybe some way of doing this for all columns in a align, say
\startformula \startalign[align={2,right}] %This is ugly syntax, can't
% think of something good right away
\NC a \NC= -1 \NR
\NC b \NC= 1 \NR
\stopalign \stopformula
since we hav
Hans, Taco, et al,
If I do something like this:
\placeformula[-]
\startformula
\startalign[m=2,distance=7em]
\frac5{21}-\frac3{21}=\frac{5-3}{21}
\frac{2}{x+2}-\frac{x-3}{x+2}=\frac{2-(x-3)}{x+2}\\
=\frac2{21} =\frac{2-x+3}{x+2}\\
=\frac{5-x}{x+2}
\stopalign
\stopformula
--- On Jan 16, Hans Hagen wrote ---
Aditya Mahajan wrote:
Maybe some way of doing this for all columns in a align, say
\startformula \startalign[align={2,right}] %This is ugly syntax, can't
% think of something good right away
\NC a \NC= -1 \NR
\NC b \NC= 1 \NR
Hans,
This is pretty good!
But yes, I know that I can get some separation with:
\definecombination[twoformulas][location=top,align=middle,distance=1cm]
But, as you noted in another post, is there a way to use the full
spread of the page where each of these maths are centered in their
David Arnold wrote:
Hans, Taco, et al,
If I do something like this:
\placeformula[-]
\startformula
\startalign[m=2,distance=7em]
\frac5{21}-\frac3{21}=\frac{5-3}{21}
\frac{2}{x+2}-\frac{x-3}{x+2}=\frac{2-(x-3)}{x+2}\\
=\frac2{21} =\frac{2-x+3}{x+2}\\
=\frac{5-x}{x+2}
--- On Jan 16, Hans Hagen wrote ---
Taco Hoekwater wrote:
David Arnold wrote:
And where should we put this module temporarily?
Put it in the local directory and do
\input math-ext
at the top of your test files.
attached is a next version with 'definable' aligns
--- On Jan 15, Hans Hagen wrote ---
Hi,
Here a first attempts for a flexible alignment mechanism (i depend on taco
for the fine points of math typesetting since he's typeset \infty more
complex formulas than i have)
(n=n_of_columns, m=n_of_pairs, so both requested multiple column features
Hans et al,
I tried saving this file as ~/tmp/math-ext.tex and compiling with:
texexec --module math-ext.tex
But I got:
[MP texexec-mpgraph.4000] [1.1] [2.1] .
(/usr/local/teTeX/share/texmf.local/tex/context/base/verb-tex.tex
loading : Context Support Macros / Pretty TEX Verbatim
) .
And where should we put this module temporarily?
On Jan 15, 2006, at 2:37 PM, Hans Hagen wrote:
Hi,
Here a first attempts for a flexible alignment mechanism (i depend
on taco for the fine points of math typesetting since he's typeset
\infty more complex formulas than i have)
49 matches
Mail list logo