Math & ScienceFormatting problem with formula

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
johnnydarten
Posts: 4
Joined: Mon May 02, 2011 10:18 pm

Formatting problem with formula

Post by johnnydarten »

Hi all,
I'm using Texmaker to write a scientific paper and I need to write something looking like the boxed formula in the attached picture...every time I write I cannot generate that shape accurately...Does anyone know how to do that?

Thanks in advance
Attachments
The desired output.
The desired output.
problem.jpg (5.64 KiB) Viewed 2377 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Formatting problem with formula

Post by Stefan Kottwitz »

Hi Jonny,

welcome to the board!

Where's the problem? Is it the box or the def above the equal sign or the exponents?
Perhaps show us what you've got until now. That problem should not be difficult. I'm just travelling without a TeX compiler, but could return to your question in the evening.

Stefan
LaTeX.org admin
johnnydarten
Posts: 4
Joined: Mon May 02, 2011 10:18 pm

Re: Formatting problem with formula

Post by johnnydarten »

Hi Stefan,

It is the exponent which I have problem with...simply it never comes out like that whatever I did. I made many trials but in vain. Do you know how to do it to look exactly like that?

Regards,
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Formatting problem with formula

Post by Stefan Kottwitz »

Hi Jonny,

the mathdots package provides inverse diagonal dots by \iddots. Together with a small \raisebox correction for the last exponent:

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\usepackage{mathdots}
\begin{document}
\[
2\uparrow\uparrow k\stackrel{\text{def}}{=}2^{2^{2^{\iddots^{\raisebox{-.5ex}{\tiny 2}}}}}
  \raisebox{.5\baselineskip}{\scriptsize$\bigg\}k$}
\]
\end{document}
exponents with diagonal dots
exponents with diagonal dots
exponents.png (3.08 KiB) Viewed 2407 times
Stefan
LaTeX.org admin
Post Reply