The symbol \big\lVert is as big as \Big\lVert with the Stix Two fonts. Is this a bug in the font itself, and is there a suitable workaround?

MWE (run in lualatex):



Here is a possibly related question. Unfortunately, I don't know enough about looking inside OTF font files to check if the cause is similar. But the same cure does not seem to apply here. It doesn't matter whether I include amsmath or not (I usually do).

  • Bonus question: How could I investigate the font myself? Aug 6 '17 at 17:38
  • 2
    this is a known problem. it has been discussed on a forum regarding the stix two fonts: unfortunately, i have mislaid my password, and can't access the discussion right now, but it's been more than a year, and i don't believe there has been a well defined resolution. i will try to find out more tomorrow. Aug 6 '17 at 18:58
  • There seems to be no intermediate size between normal and \Big.
    – egreg
    Aug 6 '17 at 19:20
  • @barbarabeeton After Ulrike Fischer's helpful answer, this may not be so urgent anymore. But it would be interesting to know a bit about what was said about it in the forum, and why a good resolution seemed so hard to get. Is there a hidden gotcha in Ulrike's solution, perhaps? Aug 6 '17 at 22:17

With lualatex I think that you can patch the font like this. With this patch \Vert behaves like |. Be aware that a lot of guesswork is involved and that I don't know how stable the internal structure is.




local patch_stixmath = function (fontdata)
 if fontdata.psname == "STIXTwoMath"




\foreach\x in {1,2,...,300}
{$\left|\rule{0pt}{\fpeval{5+\x*0.1}pt}\fpeval{5+\x*0.1} \right\Vert $ }


enter image description here

  • Fantastic! I get what you say about guesswork, but suspect this fix should be good at least until stix 2.1 appears. +1 now, acceptance later (after some more testing). After poking around a bit in the luatex manual, I even have the illusion of almost understanding how it works. 8-) Aug 6 '17 at 22:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.