Article View: comp.text.tex
Article #339New on CTAN: unicodehat
From: CTAN Announcements
Date: Tue, 17 Nov 2026 15:47
Date: Tue, 17 Nov 2026 15:47
48 lines
3725 bytes
3725 bytes
Moritz R. Schäfer submitted the
unicodehat
package.
Version: v1.0.0
License: lppl1.3c
Summary description: Unicode circumflex letters as hatted letters in mathematics
Announcement text:
--------------------------------------------------------------------------------
Maps all precomposed Unicode Latin letters bearing a single circumflex accent
to the corresponding hatted letters in mathematics, while preserving the original
characters in text. Intended for directly typed quantum-mechanical operator nota-
tion.
Use UTF-8 input with LuaLaTeX or XeLaTeX. For text, choose a font containing the
input characters:
\documentclass{article}
\usepackage{fontspec}
\usepackage{unicodehat}
\begin{document}
Text: Ĥ. Mathematics: $Ĥ = Ê$.
\end{document}
In mathematics, for example, Ĥ expands to \hat{H}. Outside mathematics the original
Unicode character is retained. The package uses newunicodechar and defines no package
options.
--------------------------------------------------------------------------------
This package is located at
https://mirrors.ctan.org/macros/latex/contrib/unicodehat
More information is at
https://ctan.org/pkg/unicodehat
--------------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Manfred Lotz
CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs .
Technical Details
Message-ID:
<c5a8e2b24dede52f@hogwart>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: CTAN Announcements <manfred@ctan.org> Newsgroups: comp.text.tex Subject: New on CTAN: unicodehat Date: Tue, 17 Nov 2026 16:47:01 +0100 (CET) Organization: CTAN Lines: 48 Message-ID: <c5a8e2b24dede52f@hogwart> Content-Type: text/plain; charset=utf-8 Injection-Info: solani.org; logging-data="28787"; mail-complaints-to="abuse@news.solani.org" To: ctan-ann@ctan.org Cancel-Lock: sha1:npp6EFB81veqRC2S5BStYy8aZaw= X-Mailman-Rule-Hits: member-moderation Precedence: list X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address Message-ID-Hash: D5YV6BBMVP3GPVRJWWUBLIPL3LAWCZE2 X-Rspamd-Action: no action DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ctan.org; s=201703; t=1794930423; bh=V87ZxK5gLGKOpP7AiKd5JMVqlGxyQbnEDJ1wOEu5XsI=; h=Date:From:To:Subject:From; b=MGsRmvT4fuoAJCzFhGvBDMMBul/QhpjbZAelzNFtw5zcVI1YUioE6m5MMezzK+8yy ZGTFUhcMcMqLlntrIp/US8eiwSu7lwENd7bCls6LOyUpYmfrvJWl192D3taJHoDEaU tH0a/AI30ZJODyGZjy6LamK/Ta0YhJHZVEjHmlTY= X-Rspamd-Server: irony X-MailFrom: manfred@ctan.org X-Rspamd-Queue-Id: BE26B803C5 X-Message-ID-Hash: D5YV6BBMVP3GPVRJWWUBLIPL3LAWCZE2 X-User-ID: eJwFwYkBwCAIA8CVeBKs44gp+4/gHbO87kKxwOFg2SX6co7Y6EzuoCK21K4D+8PhWZBl2/cAG3IQsw== X-Mailman-Version: 3.3.8 X-Spamd-Result: default: False [0.45 / 16.00]; BAYES_HAM(-3.00)[100.00%]; MISSING_MIME_VERSION(2.00)[]; R_BAD_CTE_7BIT(1.05)[unknown,utf8]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ORG_HEADER(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVRCPT(0.00)[outlook.de]; RECEIVED_HELO_LOCALHOST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; LOCAL_OUTBOUND(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]