Possible Duplicate:
How do I typeset continued fractions in Pringsheim's concise notation?

How to type a continued fraction in displaystyle as shown below?

enter image description here

Source: Fischler, Stéfane, Irrationalité de valeurs de zêta (d' après Apéry, Rivoal, …), Séminaire Bourbaki 2002-2003, exposé nº 910 (nov. 2002), Astérisque 294 (2004), 27-62

A similar but not quite equal style is the following one due to Alfred Pringsheim adapted from this entry of the Wikipedia:

enter image description here

which was obtained with

\zeta (3) = \frac{6\mid }{\mid 5}
           -\frac{1\mid }{\mid 117}
           -\frac{64\mid }{\mid 535}
           -\cdots -\frac{n^{6}\mid }{\mid 34n^{3}+51n^{2}+27n+5}
           -\cdots .

ADDED. By adapting David Carlisle's code in this answer to the question "How do I typeset continued fractions in Pringsheim's concise notation?" pointed to in the Jake's comment I was finally able to type

enter image description here

I used



together with

\zeta (3) = \cFrac{6 }{5}
           -\cdots .

So this question can be considered as a duplicate of the question mentioned above. Thanks to all!

marked as duplicate by yo', Jake, lockstep, egreg, barbara beeton Sep 24 '12 at 13:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    it's not necessary for the visible form of such a structure to be different in-line or in a display. this should work the same in either environment. – barbara beeton Sep 24 '12 at 13:08
  • Note 1. \frac{64}{535} should be replaced with \cFrac{64}{535}. Note 2. It looks better with thick spaces \; between fractions: \def\cFrac#1#2{% \;\begin{array}{@{}c@{}}\multicolumn{1}{c|}{#1}\\% \hline\multicolumn{1}{|c}{#2}\end{array}\;} – Américo Tavares Sep 29 '12 at 19:54

Browse other questions tagged or ask your own question.