[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] mdframed blocks for latex export
From: |
Thomas S. Dye |
Subject: |
Re: [O] mdframed blocks for latex export |
Date: |
Sun, 22 Feb 2015 16:50:11 -1000 |
Aloha Vikas,
Vikas Rawal <address@hidden> 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