From: Jambunathan K <kjambunathan@gmail.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Custom latex environments using properties
Date: Tue, 30 Aug 2011 11:35:58 +0530 [thread overview]
Message-ID: <81k49vtovt.fsf@gmail.com> (raw)
In-Reply-To: <CAMXnza1F_Vz3NUH8jQBkRSA0eqsJEq5u_7jhUxFC_UAjLkiNqw@mail.gmail.com> (suvayu ali's message of "Tue, 30 Aug 2011 00:52:05 +0200")
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
Suvayu
> Hi everyone,
>
> I am trying to implement a way to wrap a custom latex environment
> around a sub-tree where I specify the environment and its options as a
> PROPERTY. I am expecting it to work as BEAMER_env or BEAMER_envargs
> works for org-beamer export.
Not strictly answering your question. But is tangentially related ...
The excerpt pasted below is from org-special-blocks.el. I am not much
familiar with LaTeX. I hope these special blocks could be used for
achieving the desired resutls.
Also there is a way to wrap a block of text in custom divs in case of
HTML exporter.
,----
| ;; This package generalizes the #+begin_foo and #+end_foo tokens.
|
| ;; To use, put the following in your init file:
| ;;
| ;; (require 'org-special-blocks)
|
| ;; The tokens #+begin_center, #+begin_verse, etc. existed previously.
| ;; This package generalizes them (at least for the LaTeX and html
| ;; exporters). When a #+begin_foo token is encountered by the LaTeX
| ;; exporter, it is expanded into \begin{foo}. The text inside the
| ;; environment is not protected, as text inside environments generally
| ;; is. When #+begin_foo is encountered by the html exporter, a div
| ;; with class foo is inserted into the HTML file. It is up to the
| ;; user to add this class to his or her stylesheet if this div is to
| ;; mean anything.
`----
next prev parent reply other threads:[~2011-08-30 6:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 22:52 Custom latex environments using properties suvayu ali
2011-08-30 6:05 ` Jambunathan K [this message]
2011-08-30 6:51 ` Sebastien Vauban
2011-08-30 7:21 ` Jambunathan K
[not found] ` <CAMXnza2jN0A3a=uWRetZykQ_OtwjyR47VYC_s6tCcePUb3YHOg@mail.gmail.com>
2011-08-30 17:20 ` Jambunathan K
2011-08-30 18:07 ` Suvayu Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81k49vtovt.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).