I found this link on how to typeset continued fractions. The form I want is the following:
with dots in between as illustrated. Thanks in advance.
Asked
Active
Viewed 388 times
2
Eureka
- 1,013
-
1Have you taken a look at https://tex.stackexchange.com/questions/43402/how-to-lower-last-term-in-a-continued-fraction-after-a-diagonal-row-of-dots/43412#43412 ? – aoi Feb 23 '19 at 03:24
1 Answers
3
\documentclass{article}
\usepackage{stackengine,amsmath}
\stackMath
\begin{document}
\[
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}}}
}}}
\]
\end{document}
Steven B. Segletes
- 237,551
