From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: mdframed blocks for latex export Date: Sun, 22 Feb 2015 16:50:11 -1000 Message-ID: References: <92374C1A-4019-4505-BACE-493BB409D2A6@agrarianresearch.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPj6R-0005nq-AG for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 21:50:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPj6M-00075d-9s for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 21:50:35 -0500 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:58404) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1YPj6L-00075Y-Vn for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 21:50:30 -0500 In-Reply-To: <92374C1A-4019-4505-BACE-493BB409D2A6@agrarianresearch.org> (Vikas Rawal's message of "Mon, 23 Feb 2015 05:58:11 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vikas Rawal Cc: org-mode mailing list Aloha Vikas, Vikas Rawal writes: > In a document I am preparing using Org-mode, I need to create some > =E2=80=9Cboxes=E2=80=9D containing text, tables and figures. In LaTeX, md= framed 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=20=20=20=20=20=20=20=20=20=20=20=20 | Contents of box go here.=20=20=20=20 | #+end_mdframed=20=20=20=20=20=20=20=20=20=20=20=20=20=20 `----------------------------- exports this valid mdframed code to LaTeX: \begin{mdframed}[foo] Contents of box go here. \end{mdframed} hth, Tom --=20 Thomas S. Dye http://www.tsdye.com