* mdframed blocks for latex export
@ 2015-02-23 0:28 Vikas Rawal
2015-02-23 2:06 ` John Kitchin
2015-02-23 2:50 ` Thomas S. Dye
0 siblings, 2 replies; 3+ messages in thread
From: Vikas Rawal @ 2015-02-23 0:28 UTC (permalink / raw)
To: org-mode mailing list
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
Would appreciate a pointer to the right method.
Thanks,
Vikas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mdframed blocks for latex export
2015-02-23 0:28 mdframed blocks for latex export Vikas Rawal
@ 2015-02-23 2:06 ` John Kitchin
2015-02-23 2:50 ` Thomas S. Dye
1 sibling, 0 replies; 3+ messages in thread
From: John Kitchin @ 2015-02-23 2:06 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list
This is a place where I would resort to raw latex, probably in
#+begin_latex
\begin{mdframed}
...
\end{mdframed}
#+end_latex
Vikas Rawal 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
>
> Would appreciate a pointer to the right method.
>
> Thanks,
>
> Vikas
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mdframed blocks for latex export
2015-02-23 0:28 mdframed blocks for latex export Vikas Rawal
2015-02-23 2:06 ` John Kitchin
@ 2015-02-23 2:50 ` Thomas S. Dye
1 sibling, 0 replies; 3+ messages in thread
From: Thomas S. Dye @ 2015-02-23 2:50 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list
Aloha Vikas,
Vikas Rawal <vikaslists@agrarianresearch.org> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-23 2:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-23 0:28 mdframed blocks for latex export Vikas Rawal
2015-02-23 2:06 ` John Kitchin
2015-02-23 2:50 ` Thomas S. Dye
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).