summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xetex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-22 21:44:39 +0000
committerKarl Berry <karl@freefriends.org>2022-11-22 21:44:39 +0000
commit383ade8f42bfc4c156b9739d28ae96d370178753 (patch)
tree44cdf51226c160ef32332542b3777c8f2cde4b40 /Master/texmf-dist/doc/xetex
parentcebc6e65cc9a429afbc4ae53d5a8b67d18d72351 (diff)
unimath-plain-xetex (22nov22)
git-svn-id: svn://tug.org/texlive/trunk@65085 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xetex')
-rw-r--r--Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.pdfbin39206 -> 44146 bytes
-rw-r--r--Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.tex48
2 files changed, 47 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.pdf b/Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.pdf
index b64b05c93d6..ed1756eacfa 100644
--- a/Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.pdf
+++ b/Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.tex b/Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.tex
index 5140d0a2b55..093e183bf75 100644
--- a/Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.tex
+++ b/Master/texmf-dist/doc/xetex/unimath-plain-xetex/unimath-plain-xetex-doc.tex
@@ -11,6 +11,8 @@
\def\monofontname{Source Code Pro}
\def\mathfontname{Erewhon Math}
\input unimath-plain-xetex
+\unicodeprimesoff
+\betweenprimeskip=-1mu\relax
\def\xetex{X\kern-.125em\lower.5ex\hbox{\char"018E}\kern-.1667em%
T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX}
@@ -23,6 +25,7 @@
\def\pkg#1{{\tensf #1}}
%\catcode`\@=11 \@sizeat{40pt}\the\sf@size \catcode`\@=12
\font\hugesans="\sansfontname" at 35pt
+\font\sevenlmmath="Latin Modern Math:script=math,+ssty=0" at 7pt
\makefontcmdcompatible{ten}
\def\ttverbatim{\begingroup
@@ -34,6 +37,7 @@
{\catcode`\|=0 |catcode`|\=12 % | is temporary escape character
|obeylines % end of line is active
|gdef|ttfinish#1^^M#2\endtt{#1|vbox{#2}|endgroup$$}}
+\def\charhex{\char"}
\catcode`\"=\active
{\obeylines \gdef"{\ttverbatim \spaceskip.5em \let^^M=\ \let"=\endgroup}}
\def\<#1>{$\langle${\it#1\/}$\rangle$}
@@ -85,7 +89,7 @@
\centerline{Zhang Tingxuan}
\medskip
-\centerline{2022/11/06\quad Version 0.0β}
+\centerline{2022/11/23\quad Version 0.0γ}
\biggskip
\centerline{\bf Abstract}
@@ -199,4 +203,46 @@ You can also input Unicode math characters in your document's source file.
For example, "$∫_a^b y\,dx$" yields $∫_a^b y\,dx$ and "$$∫_a^b y\,dx.$$" yields
$$∫_a^b y\,dx.$$
+
+
+\section{Primes ($'$)}
+The package changed ``"'"'' command in math mode, which yields prime(s)
+in superscript. After loading this package, the primes produced by ``"'"''
+will be turned into Unicode primes:
+$$\vbox{\openup2pt\halign{#\hfil\quad&\quad#\hfil\quad&\quad#\hfil\cr
+{\it Input} & {yields} & {\it Unicode slot}\cr
+"'" & $^{\hbox{\sevenlmmath\charhex2032}}$ & U+2032 \cr
+"''" & $^{\hbox{\sevenlmmath\charhex2033}}$ & U+2033 \cr
+"'''" & $^{\hbox{\sevenlmmath\charhex2034}}$ & U+2034 \cr
+"''''" & $^{\hbox{\sevenlmmath\charhex2057}}$ & U+2057 \cr
+"'''''" & $^{\hbox{\sevenlmmath\charhex2032
+ \hskip-.15em\charhex2032
+ \hskip-.15em\charhex2032
+ \hskip-.15em\charhex2032
+ \hskip-.15em\charhex2032}}$
+ & $(\hbox{U+2032})\times5$\cr
+$\vdots$ & $\vdots$ & $\vdots$ \cr
+$(\hbox{"'"})\times N$ & $(^{\hbox{\sevenlmmath\charhex2032}})\times N$ &
+$(\hbox{U+2032})\times N$\hbox to 20pt{\quad$(N>4)$\hss} \cr
+}}$$
+However, some OpenType math fonts don't contain some of the characters above.
+For example, there is no U+2032, U+2033 or U+2034 in Erewhon Math.
+When using such fonts, you can ``turn off'' the Unicode primes easily
+by inputing the following line {\it after} loading the package:
+\begintt
+\unicodeprimesoff
+\endtt
+Then when you input ``"'"'' $n$ times you will get $n$ primes,
+and each prime's Unicode character slot is U+2032, even when $n\leq 4$.
+
+If the primes contain more than one single prime encoded U+2032,
+a negative math skip will inserted between every two single primes.
+This math skip is defined as "\betweenprimeskip" and its default value
+is "-2.7mu", which is proper for Latin Modern Math. To change the value
+of "\betweenprimeskip" is just like change any math skip, for example,
+\begintt
+\betweenprimeskip=-1mu
+\endtt
+This line should also written {\it after} loading the package.
+
\bye \ No newline at end of file