Re: [O] latex newcommand in org

2016-05-21 Thread Marcin Borkowski
On 2016-05-21, at 13:00, Eric S Fraga 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 make

Re: [O] latex newcommand in org

2016-05-21 Thread Eric S Fraga
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. -- : Professor Eric S Frag

Re: [O] latex newcommand in org

2016-05-20 Thread Doyley, Marvin M.
Eric’s suggestion works like a charm with the following modification #+latex_header:\newenvironment{response}{\color{red}}{\ignorespacesafterend} Thanks I really appreciate the help. Cheers, M On May 20, 2016, at 5:00 PM, Leslie Watter mailto:les...@watter.net>> wrote: You can use also macros

Re: [O] latex newcommand in org

2016-05-20 Thread Leslie Watter
You can use also macros in combination with latex \newcommand: Following there's a sample with html: #+MACRO: color @@html:$2@@ # macro sample: {{{color(red, aceitação)}}} Note: untested with latex newcommand1 Cheers, LEslie On Fri, May 20, 2016 at 4:50 PM, Marcin Borkowski wrote: >

Re: [O] latex newcommand in org

2016-05-20 Thread Doyley, Marvin M.
Thanks, I will give Eric’s suggestion a go. Cheers, M On May 20, 2016, at 3:50 PM, Marcin Borkowski mailto:mb...@mbork.pl>> wrote: On 2016-05-20, at 20:45, Eric S Fraga mailto:e.fr...@ucl.ac.uk>> wrote: On Friday, 20 May 2016 at 18:10, Doyley, Marvin M. wrote: Hi there, In my group, we ty

Re: [O] latex newcommand in org

2016-05-20 Thread Marcin Borkowski
On 2016-05-20, at 20:45, Eric S Fraga wrote: > On Friday, 20 May 2016 at 18:10, Doyley, Marvin M. wrote: >> Hi there, >> >> In my group, we typically response to reviewers comments (in latex) by first >> defining the following command in the header >> >> \newcommand{\response}[1]{\textcolor{re

Re: [O] latex newcommand in org

2016-05-20 Thread Eric S Fraga
On Friday, 20 May 2016 at 18:10, Doyley, Marvin M. wrote: > Hi there, > > In my group, we typically response to reviewers comments (in latex) by first > defining the following command in the header > > \newcommand{\response}[1]{\textcolor{red}{#1}} > then marking up the text as follows > > \respo

[O] latex newcommand in org

2016-05-20 Thread Doyley, Marvin M.
Hi there, In my group, we typically response to reviewers comments (in latex) by first defining the following command in the header \newcommand{\response}[1]{\textcolor{red}{#1}} then marking up the text as follows \response{red text} I try to do the same in org, i.e., putting #+latex_heade