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

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

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 > wrote: You

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

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 > wrote: On 2016-05-20, at 20:45, Eric S Fraga > wrote: On Friday, 20 May 2016 at 18:10, Doyley, Marvin M.

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 >> >>

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 > >