A year ago I wrote my thesis and I compiled it using LuaLaTeX (I need very much memory because I have a lot of pgfplots graphs) and it works pretty good. Today I recompile it and some formulas mess up.

The problem is using symbols with a variable height like square roots and brackets. Below there is a MWE showing the problem and then the images of the result compiling with LuaLaTeX or pdfLaTeX.




\hbar\omega_{\pm} = \frac{\hbar q}{2} \sqrt{ \frac{\hbar^2q^2}{m^2} + 2c_1^2 + 2c_2^2 \pm2\sqrt{ {c_1}^4 + {c_2}^4 + 2{c_1}^2{c_2}^2\left(\frac{2{g_{12}}^2}{g_{11}g_{22}}-1\right) } }

\hbar\omega_{\pm} = \frac{\hbar q}{2} \left[ \frac{\hbar^2q^2}{m^2} + 2c_1^2 + 2c_2^2 \pm2\sqrt{ {c_1}^4 + {c_2}^4 + 2{c_1}^2{c_2}^2\left(\frac{2{g_{12}}^2}{g_{11}g_{22}}-1\right) } \right]^{1/2}



enter image description here


enter image description here

The second equation has the same problem with both compilators: the brackets are not high enough compared with the square root. Checking more carefully I see that this problem was present also a year ago. The second problem is instead new and involves only LuaLaTeX: I can't nest two square root without obtaining that strange black area....

But the problem disappears if I have no fractions:

enter image description here

It seems like there is a maximum height of the symbols that can't be overcame

closed as off-topic by Andrew Swann, user31729, Guido, Henri Menke, Paul Gaborit Dec 29 '14 at 10:12

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • What version of LuaTeX do you have? You find the information in the first line of the log file – egreg Oct 28 '13 at 14:10
  • @egreg Version beta-0.70.2-2012062323 (TeX Live 2012/Debian) (format=lualatex 2013.6.19) – Red Oct 28 '13 at 14:12
  • I'm afraid there's a bug with the square root, in that version; with 0.76 I get a good result in the first equation, while the delimiters are too low in the second. – egreg Oct 28 '13 at 14:14
  • @egreg Do you think the height of the delimiters is a bug too? Because it is wrong also with pdflatex – Red Oct 28 '13 at 14:17
  • 4
    This question appears to be off-topic because it is about a bug now fixed in the current distributions – Andrew Swann Dec 29 '14 at 9:23

Browse other questions tagged or ask your own question.