I found this link on how to typeset continued fractions. The form I want is the following: enter image description here with dots in between as illustrated. Thanks in advance.

a_0 + \frac{1\kern6em}{\displaystyle
  a_1 + \frac{1\kern5em}{\displaystyle
    a_2 +\stackunder{}{\ddots\stackunder{}{\displaystyle
      {}+ \frac{1}{\displaystyle
        a_{n-1} + \frac{1}{a_n}}}

enter image description here

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.