Differences for \Vert in mkii and mkiv
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
Dear Aditya, dear Hans, I noticed a serious difference between what one gets for \left\Vert in mkii and in mkiv. Probably this is due to the fact that in mkiv the glyph for \Vert is constructed in a different manner, but as far as I know from what I see in the mathematical printed materials, the correct one, or the expected one, is the output from mkii. I join two small PDF files obtained with the typesetting of the following minimal example: %%% begin test-Vert.tex \let\|=\Vert \starttext Look at the differences between mkii output and that with mkiv: \startformula \left\Vert\int_0^1 G(\cdot,s)ds\right \|_{L^q} \lesssim \|G\|_{L^p}. \stopformula \stoptext %%% end test-Vert.tex Is there a way to redefine locally \Vert (or \|) so that in mkiv one gets the same output as with mkii? Thanks in advance: OK
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 18 Jan 2011, Otared Kavian wrote:
Dear Aditya, dear Hans,
I noticed a serious difference between what one gets for \left\Vert in mkii and in mkiv. Probably this is due to the fact that in mkiv the glyph for \Vert is constructed in a different manner, but as far as I know from what I see in the mathematical printed materials, the correct one, or the expected one, is the output from mkii.
I don't know why the glyphs are different. In MkIV, the virtual font is mapping 0x2016 to 0xFF605, but I don't know how FF605 is created.
Is there a way to redefine locally \Vert (or \|) so that in mkiv one gets the same output as with mkii?
Not locally. You could change math-vfu.lua to change the mapping, but I don't completely understand how those work (with the virtual glyphs like FF605) Aditya
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
Dear Aditya, I am sorry I overlooked you answer… I just saw that you have answered my message regarding the \Vert symbol. Thank you and please pardon me. I tried to modify the mapping of 0x2016 to 0xFF605, but since I don't understand the way or where 0xFF605 is constructed, I didn't get any result. 0x2016 is described in char-def.lua, and in font-agl.lua. FF605 is referred to only in math-vfu.lua. Maybe if Hans has a little time, he can explain where the double vertical bar is constructed: the problem is that these bars are scaled swelled (or English) rules rather than bars as in Latin Modern. Since more and more people are going to use only mkiv, this issue can be annoying for mathematical typesetting. Best regards: OK On 19 janv. 2011, at 17:44, Aditya Mahajan wrote:
On Tue, 18 Jan 2011, Otared Kavian wrote:
Dear Aditya, dear Hans,
I noticed a serious difference between what one gets for \left\Vert in mkii and in mkiv. Probably this is due to the fact that in mkiv the glyph for \Vert is constructed in a different manner, but as far as I know from what I see in the mathematical printed materials, the correct one, or the expected one, is the output from mkii.
I don't know why the glyphs are different. In MkIV, the virtual font is mapping 0x2016 to 0xFF605, but I don't know how FF605 is created.
Is there a way to redefine locally \Vert (or \|) so that in mkiv one gets the same output as with mkii?
Not locally. You could change math-vfu.lua to change the mapping, but I don't completely understand how those work (with the virtual glyphs like FF605)
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 ___________________________________________________________________________________
participants (2)
-
Aditya Mahajan
-
Otared Kavian