Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've noticed that when square root signs get too large, their front leg goes vertical (1), and that otherwise, it angles to the right (2).

How can I standardize all my square root signs to either behavior?

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{align}
\Delta F_0 &= \sqrt{\sum_{i=1}^n\left(\frac{\delta F_0}{\delta x_i}\Delta x_i\right)^2}\\[0.2cm]
\Delta F_0 &= \sqrt{6.044 \cdot  10^{-6}\text{m}^2}
\end{align}

\end{document}

enter image description here

share|improve this question
1  
BTW, I use \partial to represent derivatives instead of \delta... –  Vivi Dec 18 '12 at 3:06
    
Oh, that's much better. Thank you. (If you can't tell, I'm pretty new to LaTeX) –  Alex Lee Dec 18 '12 at 3:11

1 Answer 1

In general, you can't standardise this: the over-large ones have to be straight as TeX can not stretch otherwise, for smaller sizes it depends on the font in use, the shape, and how many designed sizes there are is controlled by the font not TeX.

Almost all fonts will use a slanted design for the designed glyphs before TeX falls back to the straight extender, so one way to standardise on sloping design unless you have really tall entries is to use a font that has more sizes of designed sqrt size than the original cm fonts. The yhmath font is one such font:

enter image description here

\documentclass{article}
\usepackage{amsmath,yhmath}
\begin{document}

(1)
\[\Delta F_0 = \sqrt{\sum_{i=1}^n\left(\frac{\delta F_0}{\delta x_i}\Delta x_i\right)^2}\]


(2)
\[\Delta F_0 = \sqrt{6.044 \cdot 10^{-6}\text{m}^2}\]

\end{document}
share|improve this answer
    
Thank you, but when I try to use yhmath, it gives me the following error: miktex-makemf: The yrcmex source file could not be found. Running ttf2pk.exe... miktex-makepk: PK font yrcmex10 could not be created. ) !pdfTeX error: pdflatex.EXE (file yrcmex10): Font yrcmex10 at 600 not found ==> Fatal error occurred, no output PDF file produced! texify: pdflatex failed for some reason (see log file). –  Alex Lee Dec 18 '12 at 3:33
    
the yhmath fonts are available in scalable format these days so tex shouldn't have to be making pk fonts. I expect miktex package manager can be coaxed into installing the right fonts but I know nothing of miktex (the image I showed was made with a stock texlive 2012 install) –  David Carlisle Dec 18 '12 at 3:43
3  
It seems that the problem with yhmath in MiKTeX is a long standing one: see here, or here, or here –  egreg Dec 18 '12 at 7:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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