[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \mathbb and \mathcal prettify does not accept multiple characters
From: |
Tassilo Horn |
Subject: |
Re: \mathbb and \mathcal prettify does not accept multiple characters |
Date: |
Thu, 09 Jun 2022 14:26:49 +0200 |
User-agent: |
mu4e 1.7.26; emacs 29.0.50 |
Hendrik Rommeswinkel via Discussion list for AUCTeX developers
<auctex-devel@gnu.org> writes:
Hi Hendrik,
> I noticed that while \mathbb{R} gets nicely substituted, \mathbb{RR}
> or \mathcal{ABC} does not. Also, \mathbb R works in latex without
> problems but it does not get prettified. Could someone give me some
> pointers how I can fix this?
If you mean prettified (in terms of prettify-symbols-mode) by "nicely
substituted", then you can simply add the missing replacements to
`tex--prettify-symbols-alist' (provided by the standard emacs
tex-mode.el which auctex simply re-uses).
However, note that prettify-symbols-mode only supports
string-to-character replacements, so replacing \mathbb{RR} with ℝℝ won't
work.
Bye,
Tassilo