TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to write this equation: enter image description here

I'm facing problem with the curly brace.

I tried using \right

\begin{equation}
2 \uparrow \uparrow k \stackrel{\text{def}} = \left.2^{2^{2^{.^{.^{.^{{2}}}}}}}\right\}
\end{equation}

enter image description here

which isn't what we want.

and the same result using \bigg :

\begin{equation}
2 \uparrow \uparrow k \stackrel{\text{def}}= 2^{2^{2^{.^{.^{.^{{2}}}}}}}\bigg\}.
\end{equation}

Thanks in advance.

share|improve this question
1  
Please show the code you tried (complete, short, compilable) and describe exact the problem that occurs. – Kurt Mar 13 at 21:47
    
I added the code that I had tried. Thanks Kurt. – mnabil Mar 14 at 8:52

One way to achieve right curly braces is:

\documentclass{article}
\usepackage{array}

\begin{document}
\[
\left.\begin{array}{c}
2\uparrow\uparrow k = 2^{2^{2^{2^2}}}
  \end{array}\right\}
\]
\end{document}

enter image description here

share|improve this answer

Raise a \Big brace:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\[
2 \mathbin{\uparrow\uparrow} k
\overset{\mathrm{def}}{=}
  2^{2^{2^{\cdot^{\cdot^{\cdot^{2}}}}}}
  \raisebox{\depth}{$\Bigr\}\scriptstyle k$}
\]

\end{document}

enter image description here

share|improve this answer

A solution with blkarray, yhmath (for its \adots command) and the \upuparrows symbol from amssymb:

\documentclass[a4paper]{article}
\usepackage{mathtools, amssymb, yhmath, blkarray}
\newcommand\eqdef{\ensuremath{\stackrel{\text{def}}{ = }}}

\begin{document}

     \[ 2\upuparrows k\eqdef
     \raisebox{.15\height}{$ \begin{blockarray}{@{}c<{\mskip-4mu}\Right{\}}{$\scriptstyle k $}} 2^{2^{2^{\adots^{\raisebox{-1.25\height}{$\scriptscriptstyle 2 $}}}}}
     \end{blockarray} $}
     \]%

\end{document} 

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.