Page Layout ⇒ Nested framed Box with Math Formulae and Symbols
-
- Posts: 1
- Joined: Wed Sep 14, 2011 5:53 am
Nested framed Box with Math Formulae and Symbols
I can't figure out how to use \fbox or \framebox to create nested boxed content such that each line is enumerated and the numbering is outside of any boxes and the content of one or more lines can be within the nested boxes. Here is a screen capture of what I'm trying to explain: Thanks in advance!!
Nested framed Box with Math Formulae and Symbols
Nested boxes on multiple lines cannot be done. You can use the "framed" environment.
http://en.wikibooks.org/wiki/LaTeX/Advanced_Topics
See this:
Nikolay
http://en.wikibooks.org/wiki/LaTeX/Advanced_Topics
See this:
Code: Select all
\documentclass{article}
\usepackage{lineno}
\usepackage{framed}
\begin{document}
\linenumbers
Text.
\begin{framed}
Text.
\begin{framed}
Text 2.
\begin{framed}
\[ \begin{array}{ll}
x & y \\
z & \zeta
\end{array} \]
\end{framed}
\end{framed}
\begin{framed}
Text last.
\end{framed}
\end{framed}
\framebox[9cm][l]{Some text.
\framebox[7cm][l]{More text.
\framebox[4cm][l]{Even more text}
}}
More text.
\end{document}
Nested framed Box with Math Formulae and Symbols
You might be interested in the KMcalc package here.