From: Marcin Borkowski <mbork@mbork.pl>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
"Doyley, Marvin M." <mdoyley@ur.rochester.edu>
Subject: Re: latex newcommand in org
Date: Sat, 21 May 2016 18:24:54 +0200 [thread overview]
Message-ID: <874m9rtm3t.fsf@mbork.pl> (raw)
In-Reply-To: <87bn3zn0ao.fsf@ucl.ac.uk>
On 2016-05-21, at 13:00, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Friday, 20 May 2016 at 23:45, Doyley, Marvin M. wrote:
>> Eric’s suggestion works like a charm with the following modification
>> #+latex_header:\newenvironment{response}{\color{red}}{\ignorespacesafterend}
>
> Excellent and the modification makes sense for your use case.
You might also want to say
\newenvironment{response}{\unskip\color{red}\ignorespaces}{\unskip\ignorespacesafterend}
(not tested).
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
next prev parent reply other threads:[~2016-05-21 16:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4623b22355d94329a72b69bd254e036d@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-20 18:45 ` latex newcommand in org Eric S Fraga
2016-05-20 19:50 ` Marcin Borkowski
2016-05-20 20:37 ` Doyley, Marvin M.
2016-05-20 21:00 ` Leslie Watter
2016-05-20 23:45 ` Doyley, Marvin M.
[not found] ` <600dd6834d16428ba8a66f9bdd1b0f14@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-21 11:00 ` Eric S Fraga
2016-05-21 16:24 ` Marcin Borkowski [this message]
2016-05-20 18:10 Doyley, Marvin M.
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=874m9rtm3t.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=mdoyley@ur.rochester.edu \
/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).