I have an equation using fractions of fractions - much like


However, all of the fraction bars are the same width. I'd like to make the central bar wider than the others for improved readability. Is this possible? I've played around with shrinking the fond sizes of the numerator and denominator a bit, but that still doesn't improve readability.

| improve this question | | | | |
  • Can you post a minimal working example (MWE)? The output of \documentclass{article}\begin{document}$\frac{\frac{a}{b}}{\frac{c}{d}}$\end{document} has different fraction bar lengths. Or didn't you mean the horizontal width but the line thickness? – Qrrbrbirlbel Oct 25 '12 at 14:00
  • 1
    When you say "width" do you mean "bar length" (horizontal width) or do you mean "bar thickness" (vertical width)? – chharvey Mar 11 '13 at 4:54

Some space can be added in the outer nominator/denominator, e.g.:



| improve this answer | | | | |
  • 3
    Oh yes it depends what was meant by "width" (English isn't very clear here) This changes the length (or width as you view it) of the line, whereas genfrac gives control over the thickness (which would be called the width of the line in other circumstances) – David Carlisle Oct 25 '12 at 14:27

You can use \genfrac from the amsmath package.

| improve this answer | | | | |
  • 1
    For orientation, the predefined values are about .4pt, .34pt and .24pt for text/display, script and scriptscript style respectively. – Qrrbrbirlbel Oct 25 '12 at 14:15
  • @Qrrbrbirlbel "about" or "exactly"? How can I derive the actual, precise values? – Lover of Structure Mar 4 '14 at 8:44
  • 1
    @LoverofStructure it is set by the fonts in use (fontdimen 8 of the font in \fam 3) see tex.stackexchange.com/questions/88991/… – David Carlisle Mar 4 '14 at 9:42
  • @DavidCarlisle I'm wondering why the rule thickness isn't by default scaled depending on the mathstyle. Making it easy to have a mathstyle-dependent rule thickness for \genfrac would be good. Am I missing something, or is this an oversight on part of the amsmath folks? – Lover of Structure Mar 5 '14 at 3:24
  • 1
    @LoverofStructure the default thickness depends on the font so is dependent on the mathstyle normally (assuming a smaller font is used in scripts) if you want to change the defaults you can set different values for fontdimen8, otherwise the intention for \genfrac was probably one-off use so normal lengths are probably easier to use than mu units – David Carlisle Mar 5 '14 at 8:26

Making the line thicker using the TeX primitive:

$$ {a\over b} \oover {c\over d} $$

enter image description here

where the first . is the left delimiter, second the right, and the last argument is a dimension for the fraction bar thickness.

| improve this answer | | | | |

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.