Aloha Vikas,
Vikas Rawal <[email protected]> writes:
> In a document I am preparing using Org-mode, I need to create some
> “boxes” containing text, tables and figures. In LaTeX, mdframed seems
> to be the way to go. Is there a way to do it in Org-mode? How do I
> define something like
>
> #+begin_mdframed
> Contents of the box go here
> #+end_mdframed
I think you've found the answer.
This Org mode code:
,-----------------------------
| #+attr_latex: :options [foo]
| #+begin_mdframed
| Contents of box go here.
| #+end_mdframed
`-----------------------------
exports this valid mdframed code to LaTeX:
\begin{mdframed}[foo]
Contents of box go here.
\end{mdframed}
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com