Hi

I have tons of latex documents with the following alias:


\newcommand{\setR}{{\mathord{\mathbb R}}}

The reason is that in X-symbol-mode, for reason unknown to me, decided
only to display \setR by a symbol, but not the original AMS {\mathbb R}.


I know I could write a lisp function which would replace back and
forwards between these two commands, I say back and forward because I
might use GNU Emacs and Xemacs for some time together.

In any case I got curious and thought of either appending  the new
commands as symbols to
 tex--prettify-symbols-alist

Like

 (add-to-list 'tex--prettify-symbols-alist
          '(("\\setN" . ?ℕ)
            ("\\setP" . ?ℙ)        
            ("\\setR" . ?ℝ)
            ("\\setZ" . ?ℤ)))

Or just modifying the list itself and explicitly adding this symbols.

In both cases it did not work, prettify mode did not even display the
symbols.

So the question is simply that

I cannot have

    ("\\Bbb{R}" . ?ℝ)
    and
                ("\\setR" . ?ℝ)

In the same list? So a list is really one-to-one?

Thanks

Uwe Brauer

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to