Math & Science ⇒ Formatting problem with formula
-
- Posts: 4
- Joined: Mon May 02, 2011 10:18 pm
Formatting problem with formula
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.
- problem.jpg (5.64 KiB) Viewed 2438 times
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
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Formatting problem with formula
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
-
- Posts: 4
- Joined: Mon May 02, 2011 10:18 pm
Re: Formatting problem with formula
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,
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Formatting problem with formula
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}