2

the line of the square root don't match.

\sigma = \sqrt{\frac{1}{N} \mathlarger{\sum}_{n=1}^{N} \left( x_{n}-  \mu  \right) ^{2}}

enter image description here

Any ideas how to fix it?

Thanks

ab3001
  • 63
  • 2
    the left part is a character and the top part is a rule so the details depend on the font (you have given no information) and the way your pdf viewer (you have not said which) snaps rules and characters to pixel boundaries. – David Carlisle Nov 25 '23 at 20:27
  • 5
    Please check if zooming in fixes the issue -- have seen that problen over the years. Then, it is a problem with the pdf viewer which can be resolved by switching pdf viewers until the problem is resolved in the original viewer. Futhermore, while code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. In this case it would also be helpful to mention the pdf viewer. – Peter Grill Nov 25 '23 at 20:31
  • David and Peter already told you why this happens. In ConTeXt it is possible to use glyphs instead of rules for the bar, and then this problem usually goes away. – mickep Nov 25 '23 at 21:11
  • What you've encountered is a sceen resolution artefact. I won't show up in print. – Mico Nov 25 '23 at 21:26
  • Off-topic: Do try to ween yourself off an excessive reliance on \left and \right. For the equation at hand, the \left and \right directives do nothing useful, but do create needless code clutter. – Mico Nov 25 '23 at 21:28
  • See also https://tex.stackexchange.com/questions/168806/break-in-square-root-line – John Kormylo Nov 26 '23 at 21:17

0 Answers0