LaTeX help?

not_kevin

Veteran
Joined
Jul 23, 2008
Messages
495
Location
California, USA
WCA ID
2008YOUN02
YouTube
Visit Channel
I'm writing some solutions in LaTeX for Mathcamp (hopefully I can go!), but there's a small part where I write:
$\dfrac{\frac{x}{y}}{\frac{z}{w}}$
Although it's functional within the pdf, it's not very pretty; all the lines are of the same length, which makes it difficult to discern which order to divide them in. Is there a way to increase the length of the middle bar? Thanks!
 
I would almost always use
Code:
$\dfrac{x/y}{z/w}$
Double fractions are so disgusting. If you really need them, maybe something like
Code:
$\dfrac{\hspace{...}\frac{x}{y}\hspace{...}}\frac{z}{w}$
will do the trick, but then again, brackets are your friend:
Code:
$\dfrac{\left(\frac{x}{y}\right)}{\left(\frac{z}{w}\right)}$

Also, if you find yourself enforcing displaystyle in inline equations often, start using display equations instead.
 
i didn't even know there was a \dfrac but yeah i just do the same as moogra but i am pretty noob as well.
 
Back
Top