Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


variable sized math operators scaling problem #192

mgee opened this Issue · 4 comments

3 participants

Markus Engelbrecht Philipp Stephani Khaled Hosny
Markus Engelbrecht

I am using Asana-Math and the ams packages.

When using eg. \bigwedge or \prod in a $ .. $ environment everything is fine.
But as soon as I use it in \begin{equation} ... \end{equation} the \bigwedge or \prod is too large (takes approx. 2 rows of text).

I am using texlive 2010 with luatex 0.66 and OSX 10.6.7.


Philipp Stephani

The size of operators is by and large a design choice. Could you give an example where the choice would be definitely wrong? If you definitely want operators in display style to be smaller, you can change a math parameter:

  local function patch_asana(fontdata)
    local mc = fontdata.MathConstants
    if mc then
      mc.DisplayOperatorMinHeight = 0.6 * mc.DisplayOperatorMinHeight
  luatexbase.add_to_callback("luaotfload.patch_font", patch_asana, "patch_asana")
\setmathfont{Asana Math}
Markus Engelbrecht

Thanks Philipp,
using your code snippet it looks fine :-)

Here is a minimal example where the bigwedge is too large.

\setmathfont{Asana Math}

\bigwedge_{i = 0}^{n}{x_i}
Khaled Hosny

You can also use \luatexUmathoperatorsize\displaystyle = 1em which achieves similar effect to the lua snippet above (I've to insert it after \begin{equation} to have effect, thouh)

Markus Engelbrecht

Nice solution.
Since this now works, I close this issue.

Markus Engelbrecht mgee closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.