Re: how to export red colored TeX to latex

2021-12-01 Thread Eric S Fraga
On Wednesday, 1 Dec 2021 at 15:00, Juan Manuel Macías wrote: > Anyway, for format chunks of text in export I think > org-link-set-parameters is a good alternative to macros. I also have a few links defined (used to have one for citing but no longer needed) but macros seem to be my first

Re: how to export red colored TeX to latex

2021-12-01 Thread Juan Manuel Macías
Hi Eric, Eric S Fraga writes: > Very nice Juan! I would find this use of links quite useful. Thank you. Yes, org-link-set-parameters is quite productive, and addictive in occasions! :-): I also have link types defined for somewhat extravagant things, such as linking videos and music from the

Re: how to export red colored TeX to latex

2021-11-30 Thread Eric S Fraga
Very nice Juan! I would find this use of links quite useful. -- : Eric S Fraga, with org release_9.5-230-g2bbac4 in Emacs 29.0.50 : Latest paper written in org: https://arxiv.org/abs/2106.05096

Re: how to export red colored TeX to latex

2021-11-30 Thread Juan Manuel Macías
Uwe Brauer writes: > Thanks, right now, I don't need links but it is good to know that there is a > way to use them. It's just a way of using links to produce different strings, depending on the export format (LaTeX, HTML...). I use them quite a bit for text segments as \foreignlanguage{}{},

Re: how to export red colored TeX to latex

2021-11-30 Thread Uwe Brauer
> Hi, > Uwe Brauer writes: > Not exactly related, but if it helps, I have defined this custom link > for colored text segments: > (NB: I apply two colors for `:face', because normally I use two themes, > one clear for the day and another dark for the night hours: when my dark > theme is

Re: how to export red colored TeX to latex

2021-11-30 Thread Juan Manuel Macías
Hi, Uwe Brauer writes: > Hi > > I want to obtain a latex file that contains > > \textcolor{red}{$\delta \phi = \frac{2 m}{R}$} > > > However when I add > \textcolor{red}{$\delta \phi = \frac{2 m}{R}$} > > To an org file and export it as Latex, the construct ends up like this > > >

Re: how to export red colored TeX to latex

2021-11-30 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > maybe @@latex:\textcolor{red}{$\delta \phi = \frac{2 m}{R}$}@@ will do. > John Thanks! That worked! smime.p7s Description: S/MIME cryptographic signature

Re: how to export red colored TeX to latex

2021-11-30 Thread John Kitchin
maybe @@latex:\textcolor{red}{$\delta \phi = \frac{2 m}{R}$}@@ will do. John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin

how to export red colored TeX to latex

2021-11-30 Thread Uwe Brauer
Hi I want to obtain a latex file that contains \textcolor{red}{$\delta \phi = \frac{2 m}{R}$} However when I add \textcolor{red}{$\delta \phi = \frac{2 m}{R}$} To an org file and export it as Latex, the construct ends up like this \textcolor{red}\{\(\delta \phi = \frac{2 m}{R}\)\}