From: Uwe Brauer <oub@mat.ucm.es>
To: 50639@debbugs.gnu.org
Cc: Tassilo Horn <tsdh@gnu.org>
Subject: bug#50639: adding symbols to the tex--prettify-symbols-alist
Date: Fri, 17 Sep 2021 14:53:00 +0200 [thread overview]
Message-ID: <878rzvfjo3.fsf@mat.ucm.es> (raw)
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
Tags: patch
<#secure method=smime mode=sign>
Hi
The purpose of this trivial patch is to add symbols, such as varkappa
and calligraphic and fractur letters to the tex--prettify-symbols-alist.
I have signed all the FSF paper, also the patch is very trivial
Regards
Uwe Brauer
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.6, Xaw3d scroll bars)
of 2021-07-31 built on Utnapischtim
Repository revision: 83a915d3dfafd5f3d737afe1e13b75e4dd3aef96
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Ubuntu 16.04.7 LTS
Configured using:
'configure --prefix=/opt/emacs28 --with-x-toolkit=athena --without-pop
--with-mailutils'
[-- Attachment #2: pretty-patch.diff --]
[-- Type: text/patch, Size: 3746 bytes --]
# HG changeset patch
# User Uwe Brauer <oub@mat.ucm.es>
# Date 1631882696 -7200
# Fri Sep 17 14:44:56 2021 +0200
# Node ID f8e49d2c643b209d5c39d29dc91ddd92e38bec4e
# Parent 3b17c79f46e694f6df6a5b81026cbd2b43ba158d
Add symbols to tex--prettify-symbols-alist
* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add
mathbb, caligraphic letters, fractur, varkappa and \|.
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -3469,7 +3469,98 @@
("\\Bbb{P}" . ?ℙ) ; Also sometimes \mathbb.
("\\Bbb{Q}" . ?ℚ)
("\\Bbb{R}" . ?ℝ)
+ ("\\Bbb{T}" . ?ℝ)
+ ("\\Bbb{T}" . #x1D54B)
("\\Bbb{Z}" . ?ℤ)
+ ("\\mathbb{N}" . ?ℕ) ; AMS commands for blackboard bold
+ ("\\mathbb{P}" . ?ℙ) ; Also sometimes \mathbb.
+ ("\\mathbb{Q}" . ?ℚ)
+ ("\\mathbb{R}" . ?ℝ)
+ ("\\mathbb{T}" . #x1D54B)
+ ("\\mathbb{Z}" . ?ℤ)
+ ("\\pm" . ?\u00B1)
+ ("\\|" . ?\u2016)
+ ("\\varkappa" . ?\u03F0)
+ ;; caligraphic
+ ("\\mathcal{A}" . #x1D49C)
+ ("\\mathcal{B}" . #x0212C)
+ ("\\mathcal{C}" . #x1D49E)
+ ("\\mathcal{D}" . #x1D49F)
+ ("\\mathcal{E}" . #x02130)
+ ("\\mathcal{F}" . #x02131)
+ ("\\mathcal{G}" . #x1D4A2)
+ ("\\mathcal{H}" . #x0210B)
+ ("\\mathcal{I}" . #x02110)
+ ("\\mathcal{J}" . #x1D4A5)
+ ("\\mathcal{K}" . #x1D4A6)
+ ("\\mathcal{L}" . #x02112)
+ ("\\mathcal{M}" . #x02133)
+ ("\\mathcal{N}" . #x1D4A9)
+ ("\\mathcal{O}" . #x1D4AA)
+ ("\\mathcal{P}" . #x1D4AB)
+ ("\\mathcal{Q}" . #x1D4AC)
+ ("\\mathcal{R}" . #x0211B)
+ ("\\mathcal{S}" . #x1D4AE)
+ ("\\mathcal{T}" . #x1D4AF)
+ ("\\mathcal{U}" . #x1D4B0)
+ ("\\mathcal{V}" . #x1D4B1)
+ ("\\mathcal{W}" . #x1D4B2)
+ ("\\mathcal{X}" . #x1D4B3)
+ ("\\mathcal{Y}" . #x1D4B4)
+ ("\\mathcal{Z}" . #x1D4B5)
+ ;; fractur
+ ("\\mathfrak{A}" . #x1D504)
+ ("\\mathfrak{B}" . #x1D505)
+ ("\\mathfrak{C}" . #x0212D)
+ ("\\mathfrak{D}" . #x1D507)
+ ("\\mathfrak{E}" . #x1D508)
+ ("\\mathfrak{F}" . #x1D509)
+ ("\\mathfrak{G}" . #x1D50A)
+ ("\\mathfrak{H}" . #x0210C)
+ ("\\mathfrak{I}" . #x02111)
+ ("\\mathfrak{J}" . #x1D50D)
+ ("\\mathfrak{K}" . #x1D50E)
+ ("\\mathfrak{L}" . #x1D50F)
+ ("\\mathfrak{M}" . #x1D510)
+ ("\\mathfrak{N}" . #x1D511)
+ ("\\mathfrak{O}" . #x1D512)
+ ("\\mathfrak{P}" . #x1D513)
+ ("\\mathfrak{Q}" . #x1D514)
+ ("\\mathfrak{R}" . #x0211C)
+ ("\\mathfrak{S}" . #x1D516)
+ ("\\mathfrak{T}" . #x1D517)
+ ("\\mathfrak{U}" . #x1D518)
+ ("\\mathfrak{V}" . #x1D519)
+ ("\\mathfrak{W}" . #x1D51A)
+ ("\\mathfrak{X}" . #x1D51B)
+ ("\\mathfrak{Y}" . #x1D51C)
+ ("\\mathfrak{Z}" . #x02128)
+ ("\\mathfrak{a}" . #x1D51E)
+ ("\\mathfrak{b}" . #x1D51F)
+ ("\\mathfrak{c}" . #x1D520)
+ ("\\mathfrak{d}" . #x1D521)
+ ("\\mathfrak{e}" . #x1D522)
+ ("\\mathfrak{f}" . #x1D523)
+ ("\\mathfrak{g}" . #x1D524)
+ ("\\mathfrak{h}" . #x1D525)
+ ("\\mathfrak{i}" . #x1D526)
+ ("\\mathfrak{j}" . #x1D527)
+ ("\\mathfrak{k}" . #x1D528)
+ ("\\mathfrak{l}" . #x1D529)
+ ("\\mathfrak{m}" . #x1D52A)
+ ("\\mathfrak{n}" . #x1D52B)
+ ("\\mathfrak{o}" . #x1D52C)
+ ("\\mathfrak{p}" . #x1D52D)
+ ("\\mathfrak{q}" . #x1D52E)
+ ("\\mathfrak{r}" . #x1D52F)
+ ("\\mathfrak{s}" . #x1D530)
+ ("\\mathfrak{t}" . #x1D531)
+ ("\\mathfrak{u}" . #x1D532)
+ ("\\mathfrak{v}" . #x1D533)
+ ("\\mathfrak{w}" . #x1D534)
+ ("\\mathfrak{x}" . #x1D535)
+ ("\\mathfrak{y}" . #x1D536)
+ ("\\mathfrak{z}" . #x1D537)
("--" . ?–)
("---" . ?—)
("\\ordfeminine" . ?ª)
next reply other threads:[~2021-09-17 12:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-17 12:53 Uwe Brauer [this message]
2021-09-17 14:33 ` bug#50639: adding symbols to the tex--prettify-symbols-alist Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rzvfjo3.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=50639@debbugs.gnu.org \
--cc=tsdh@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.