### Re: [NTG-context] Placement of numbers in numbered equations on the left

On 9/11/2016 3:46 AM, Aditya Mahajan wrote: On Sat, 10 Sep 2016, Otared Kavian wrote: Hi Hans, Following up the previous bug report, I tried the latest version, ConTeXt ver: 2016.09.09 08:21 MKIV beta, and noticed that you have solved one part of the problem with the placement of equation numbers on the left, when using \startalign. Actually the location of those equation numbers is correct as far as the horizontal distance is concerned, but it is not vertically. In the attached PDF (which is the result of the following example) one can see that equation number (5) is placed on the grid line 10, while it shoul dbe placed on line 11 in alignment with the corresponding formula. Moreover equation number (4) does not show up at all (that number should be placed a little bit below line 9 of the grid). I think that we need to create a test suite for math alignment. The sources for my old article on math alignment could be the initial source of examples. fyi: one reason for 'issues' is that i try to simply these alignment mechanisms so that they can be controlled better for use in framed and such (local vs page stream usage) and spacing and so .. we'll get there eventually Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___

### Re: [NTG-context] Placement of numbers in numbered equations on the left

On Sat, 10 Sep 2016, Otared Kavian wrote: Hi Hans, Following up the previous bug report, I tried the latest version, ConTeXt ver: 2016.09.09 08:21 MKIV beta, and noticed that you have solved one part of the problem with the placement of equation numbers on the left, when using \startalign. Actually the location of those equation numbers is correct as far as the horizontal distance is concerned, but it is not vertically. In the attached PDF (which is the result of the following example) one can see that equation number (5) is placed on the grid line 10, while it shoul dbe placed on line 11 in alignment with the corresponding formula. Moreover equation number (4) does not show up at all (that number should be placed a little bit below line 9 of the grid). I think that we need to create a test suite for math alignment. The sources for my old article on math alignment could be the initial source of examples. Unfortunately, these days I mostly use ConTeXt for presentations only (and use LaTeX for articles). So, my own documents no longer serve as a test suite for the math features. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___

### Re: [NTG-context] Placement of numbers in numbered equations on the left

Hi Hans, Following up the previous bug report, I tried the latest version, ConTeXt ver: 2016.09.09 08:21 MKIV beta, and noticed that you have solved one part of the problem with the placement of equation numbers on the left, when using \startalign. Actually the location of those equation numbers is correct as far as the horizontal distance is concerned, but it is not vertically. In the attached PDF (which is the result of the following example) one can see that equation number (5) is placed on the grid line 10, while it shoul dbe placed on line 11 in alignment with the corresponding formula. Moreover equation number (4) does not show up at all (that number should be placed a little bit below line 9 of the grid). Thanks in advance for your time. Best regards: OK %%% begin example bug-mathalign.tex \showgrid \starttext With the default setting, that is \type{\setupformulas[location=right]} one gets: \placeformula \startformula \startalign \NC \exp(t_1)\exp(t_2)\NC = x_1x_2=\exp(\log(x_1x_2))\NR[eq:explag0] \NC \NC =\exp(\log x_1+\log x_2) = \exp(t_1+t_2).\NR[eq:explag1] \stopalign \stopformula \placeformula \startformula 1+1=2 \stopformula \setupformulas[location=left] While with \type{\setupformulas[location=left]} one gets: \placeformula \startformula \startalign \NC \exp(t_1)\exp(t_2)\NC = x_1x_2=\exp(\log(x_1x_2))\NR[eq:explag0] \NC \NC =\exp(\log x_1+\log x_2) = \exp(t_1+t_2).\NR[eq:explag1] \stopalign \stopformula \placeformula \startformula 2+3=5 \stopformula \stoptext %%% begin example bug-mathalign.tex bug-mathalign-left.pdf Description: Adobe PDF document > On 7 Sep 2016, at 20:25, Otared Kavianwrote: > > Hi Hans, > > Thank you for having fixed the issue with numbered equations in math aligned > environment, noticed and reported by Mikael Sundqvist. > However the problem is solved only when the numbers are on the right: when > the numbers are on the left, there is still a discrepancy between the > location of numbers in equations numbered in an aligned environment and those > which are by themselves. > Please have a look at the attached PDF which is the result of the following > example (using ConTeXt ver: 2016.09.06 19:11 MKIV beta). > Best regards: OK > > %%% begin math-align.tex > \starttext > \placeformula > \startformula > \startalign > \NC \exp(t_1)\exp(t_2)\NC = x_1x_2=\exp(\log(x_1x_2))\NR > \NC \NC =\exp(\log x_1+\log x_2) = \exp(t_1+t_2).\NR[eq:explag1] > \stopalign > \stopformula > > \placeformula > \startformula > 1+1=2 > \stopformula > > \setupformulas[location=left] > with \type{\setupformulas[location=left]} > > \placeformula > \startformula > \startalign > \NC \exp(t_1)\exp(t_2)\NC = x_1x_2=\exp(\log(x_1x_2))\NR > \NC \NC =\exp(\log x_1+\log x_2) = \exp(t_1+t_2).\NR[eq:explag1] > \stopalign > \stopformula > > \placeformula > \startformula > 2+3=5 > \stopformula > \stoptext > %%% end math-align.tex > > > > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___

### [NTG-context] Placement of numbers in numbered equations on the left

Hi Hans, Thank you for having fixed the issue with numbered equations in math aligned environment, noticed and reported by Mikael Sundqvist. However the problem is solved only when the numbers are on the right: when the numbers are on the left, there is still a discrepancy between the location of numbers in equations numbered in an aligned environment and those which are by themselves. Please have a look at the attached PDF which is the result of the following example (using ConTeXt ver: 2016.09.06 19:11 MKIV beta). Best regards: OK %%% begin math-align.tex \starttext \placeformula \startformula \startalign \NC \exp(t_1)\exp(t_2)\NC = x_1x_2=\exp(\log(x_1x_2))\NR \NC \NC =\exp(\log x_1+\log x_2) = \exp(t_1+t_2).\NR[eq:explag1] \stopalign \stopformula \placeformula \startformula 1+1=2 \stopformula \setupformulas[location=left] with \type{\setupformulas[location=left]} \placeformula \startformula \startalign \NC \exp(t_1)\exp(t_2)\NC = x_1x_2=\exp(\log(x_1x_2))\NR \NC \NC =\exp(\log x_1+\log x_2) = \exp(t_1+t_2).\NR[eq:explag1] \stopalign \stopformula \placeformula \startformula 2+3=5 \stopformula \stoptext %%% end math-align.tex math-align.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___