[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EXTERNAL *] Re: Fontification of $ sign

From: Jean Eid
Subject: Re: [EXTERNAL *] Re: Fontification of $ sign
Date: Sat, 16 Sep 2023 23:53:56 +0000

Thanks Arash,
Yes I know about that trick but o am wondering whether something else can be done. 


Lazaridis School of Business and Economics. Jean Eid (he, him, his) 

Associate Professor

Office: +1(519)-884-0710x2262

75 University Avenue West Waterloo, Ontario, N2L 3C5

Inspiring Lives

From: Arash Esbati <>
Sent: Saturday, September 16, 2023 7:43:48 AM
To: Jean Eid <>
Cc: <>
Subject: [EXTERNAL *] Re: Fontification of $ sign
Jean Eid <> writes:

> Anyway to turn off the fontification of math within $ signs?

IIRC that one is built in and cannot be turned off (I think this is
also documented somewhere in the manual but I didn't check).  Therefore
you have to go through some more troubles (see Tassilo's message).

> The reason is that I use polymode with auctex and ess and when I have
> an inline R _expression_ with a dollar sign like so :
>     the average salary is $\bar x=\Rexpr{mean(mydata$salary}}$
> the $ fontification bleed out.

The usual trick to fix this is to write something like this:

  the average salary is $\bar x=\Rexpr{mean(mydata$salary}}$% $

You get misformed fontification, but you can limit it until EOL.

Best, Arash

* ⚠ Notice: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]