Math & ScienceProblem with displaying brackets in fractions

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Bill21
Posts: 1
Joined: Thu May 06, 2021 5:04 pm

Problem with displaying brackets in fractions

Post by Bill21 »

Hi!
I need display fraction with multiple levels and brackets in some levels. If i use standart left, right constructions, i have ugly fraction. I have a lot of empty place in brackets. Below you see example and tex code. What do I need to change to correct display this fraction?
fraction.jpg
fraction.jpg (19.15 KiB) Viewed 3808 times
\frac{u}{v}=\frac{y_0}{x_0} + \cfrac{k_0}{\cfrac{x_0}{\left( \cfrac{y_1}{x_1}+\cfrac{k_1}{\cfrac{x_1}{\left(\cfrac{y_2}{x_2}+\cfrac{k_2}{\left(\ddots + \cfrac{k_{n-1}}{\cfrac{x_{n-1}y_n}{x_n}}\right)}\right)}}\right)}}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Problem with displaying brackets in fractions

Post by Bartman »

A Infominimal working example marked as code (LaTeX tags are more suitable for inline code) improves the chance to get help.

You can omit the parentheses, use the array environment inside each pair of parentheses, or work with the \scaleleftright command of the scalerel package.
Post Reply