$P\left( 1 + \dfrac{1}{2+\dfrac{1}{3+\dfrac{1}{ \begin{array}{c}{\ddots} \\ n-2 + \dfrac{1}{ n-1 + \dfrac{1}{n}} \end{array} }}}\right)$
How I can reduce the space in the top of the parenthesis?
Beforehand, thank you.
$P\left( 1 + \dfrac{1}{2+\dfrac{1}{3+\dfrac{1}{ \begin{array}{c}{\ddots} \\ n-2 + \dfrac{1}{ n-1 + \dfrac{1}{n}} \end{array} }}}\right)$
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\vcenter
with \hbox
, take care of the inner $...$
:Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$P\left(\vcenter{\hbox{$ 1 + \dfrac{1}{2+\dfrac{1}{3+\dfrac{1}{
\begin{array}{c}{\ddots} \\ n-2 + \dfrac{1}{ n-1 + \dfrac{1}{n}}
\end{array} }}}$}}\right)$
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis