diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/unicode-math')
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/CHANGES.md | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/README.md | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/RELEASE_CHECKLIST.md | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex | 25 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/um-doc-style.tex | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/unicode-math-code.pdf | bin | 329260 -> 329534 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/unicode-math.pdf | bin | 163778 -> 162775 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/unimath-example.pdf | bin | 22081 -> 22146 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.pdf | bin | 1612062 -> 1608262 bytes |
10 files changed, 45 insertions, 27 deletions
diff --git a/Master/texmf-dist/doc/latex/unicode-math/CHANGES.md b/Master/texmf-dist/doc/latex/unicode-math/CHANGES.md index b309a174625..08f01fbfa24 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/CHANGES.md +++ b/Master/texmf-dist/doc/latex/unicode-math/CHANGES.md @@ -1,6 +1,19 @@ CHANGE HISTORY ============== +## v0.8m (2018/07/29) + + * Restore behaviour of legacy syntax `x_\mathrm{x}` (i.e., with no braces). + While strictly ‘incorrectly’, this usage is widely used. + N.B. this syntax is not supported for the `\symXX` commands. + * Add `\cuberoot` and `\fourthroot` as proper radicals. + * Some additional input subscripts/superscripts. + * Some documentation additions (thanks for the contributions). + * Deprecation warning: the *internal* `\__um_switchto_XX:` commands will be dropped in + a future release in favour of `\__um_switch_to:n {XX}` (or similar). These are internal + commands and shouldn't be used by third-parties; please write if you have a use case. + + ## v0.8l (2018/02/02) * Issue an error message if `\setmathfont{...}[range=...]` is used first; a `range` @@ -10,6 +23,7 @@ CHANGE HISTORY * Document incompatibility with the `mathspec` package. (#436) * Fix bugs for using `range=\partial` and `range=\nabla`. (#441) + ## v0.8k (2018/01/13) * Eliminate warnings `Variant form 'NV' invalid for base form`... (#430). diff --git a/Master/texmf-dist/doc/latex/unicode-math/README.md b/Master/texmf-dist/doc/latex/unicode-math/README.md index c9bd15fec0c..92578d2057c 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/README.md +++ b/Master/texmf-dist/doc/latex/unicode-math/README.md @@ -62,8 +62,10 @@ PACKAGE USAGE Please see the PDF documentation for full details. A simple beginning is: - \usepackage{unicode-math} - \setmathfont{texgyrepagella-math.otf} +```tex +\usepackage{unicode-math} +\setmathfont{texgyrepagella-math.otf} +``` Most LaTeX math should still work after this. (Let me know if it doesn't.) Furthermore, it will be in a different font. diff --git a/Master/texmf-dist/doc/latex/unicode-math/RELEASE_CHECKLIST.md b/Master/texmf-dist/doc/latex/unicode-math/RELEASE_CHECKLIST.md index 445351f8136..13c2f4e788e 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/RELEASE_CHECKLIST.md +++ b/Master/texmf-dist/doc/latex/unicode-math/RELEASE_CHECKLIST.md @@ -2,11 +2,11 @@ - [ ] Finish final changes on `working` branch - [ ] Ensure `CHANGES.md` is up-to-date with a new version number -- [ ] `build setversion` +- [ ] `build tag foo` +- [ ] `git push` +- [ ] Check Travis build status (hopefully is working that date) - [ ] Update local distro fully with tlmgr - [ ] Run `build check` locally -- [ ] `git push` -- [ ] Check Travis build status - [ ] Install prerelease versions of `fontspec` and `latex3` and re-check - [ ] `git checkout master; git rebase working` - [ ] `build ctan` diff --git a/Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex b/Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex index ff82a414a96..3d871ddd8b4 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex +++ b/Master/texmf-dist/doc/latex/unicode-math/um-doc-main.tex @@ -655,11 +655,11 @@ sans serif bold, you must write |\symbfsf{...}| rather than |\symbf{\symsf{...}} This may change in the future. \begin{table} -\caption{Mathematical styles defined in Unicode. Black dots indicate an style exists in the font specified; blue dots indicate shapes that should always be taken from the upright font even in the italic style. See main text for description of \cs{mathbbit}.} +\caption{Mathematical styles defined in Unicode. Closed dots indicate an style exists in the font specified; open dots indicate shapes that should always be taken from the upright font even in the italic style. See main text for description of \cs{mathbbit}.} \tablabel{mathalphabets} \centering \def\Y{\textbullet} -\def\M{\textcolor[rgb]{0.5,0.5,1}{\textbullet}} +\def\M{\textopenbullet} \begin{tabular}{@{} lll l ccc @{}} \toprule \multicolumn{3}{c}{Font} & & \multicolumn{3}{c}{Alphabet} \\ @@ -672,9 +672,9 @@ Serif & Upright & Normal & \cs{symup} & \Y & \Y & \Y \\ & Italic & Normal & \cs{symit} & \Y & \Y & \M \\ & & Bold & \cs{symbfit} & \Y & \Y & \M \\ Sans serif & Upright & Normal & \cs{symsfup} & \Y & & \Y \\ + & & Bold & \cs{symbfsfup} & \Y & \Y & \Y \\ & Italic & Normal & \cs{symsfit} & \Y & & \M \\ - & Upright & Bold & \cs{symbfsfup} & \Y & \Y & \Y \\ - & Italic & Bold & \cs{symbfsfit} & \Y & \Y & \M \\ + & & Bold & \cs{symbfsfit} & \Y & \Y & \M \\ Typewriter & Upright & Normal & \cs{symtt} & \Y & & \Y \\ Double-struck & Upright & Normal & \cs{symbb} & \Y & & \Y \\ & Italic & Normal & \cs{symbbit} & \Y & & \\ @@ -841,6 +841,16 @@ If you ever need to enter the straight quote |'| or the backtick |`| in maths mode, these glyphs can be accessed with \cs{mathstraightquote} and \cs{mathbacktick}. +\subsubsection{Subscripts and superscripts and symbol alphabets} + +In traditional \LaTeX, users have for many years exploited a loophole in the implementation +of |\mathrm| and similar to write expressions such as |x_\mathrm f| to achieve +$x_{\mathrm{f}}$ instead of writing the more correct |x_{\mathrm{f}}|. +Shorthand notation such as |x_\mathrm f| is not officially documented \LaTeX\ syntax, +and due to a particular implementation detail in \pkg{unicode-math} this \emph{incorrect} +syntax is no longer supported. + + \subsubsection{Unicode subscripts and superscripts} You may, if you wish, use Unicode subscripts and superscripts in your @@ -1187,6 +1197,13 @@ This warning could be suppressed by loading the package as follows: \usepackage[warnings-off={mathtools-colon}]{unicode-math} \end{Verbatim} +\subsection{How to overwrite a macro} + +\pkg{unicode-math} defines the macros by \cs{AtBeginDocument}, +namely delays the definition until |\begin{document}| is met. +If you want to overwrite a macro defined by \pkg{unicode-math}, +please redefine it in \cs{AtBeginDocument} after loading this package. + \subsection{Programmer's interface} (Tentative and under construction.) diff --git a/Master/texmf-dist/doc/latex/unicode-math/um-doc-style.tex b/Master/texmf-dist/doc/latex/unicode-math/um-doc-style.tex index 46c2a8e1cf8..e5b581aed19 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/um-doc-style.tex +++ b/Master/texmf-dist/doc/latex/unicode-math/um-doc-style.tex @@ -2,9 +2,6 @@ \makeatletter \input{unicode-math.dtx} -\GetFileInfo{unicode-math.dtx} -\let\umfiledate\filedate -\let\umfileversion\fileversion \CheckSum{0} \EnableCrossrefs diff --git a/Master/texmf-dist/doc/latex/unicode-math/unicode-math-code.pdf b/Master/texmf-dist/doc/latex/unicode-math/unicode-math-code.pdf Binary files differindex 79b17d3d19d..4cafb85ff78 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/unicode-math-code.pdf +++ b/Master/texmf-dist/doc/latex/unicode-math/unicode-math-code.pdf diff --git a/Master/texmf-dist/doc/latex/unicode-math/unicode-math.pdf b/Master/texmf-dist/doc/latex/unicode-math/unicode-math.pdf Binary files differindex 94d3a034995..10a4e76b8c2 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/unicode-math.pdf +++ b/Master/texmf-dist/doc/latex/unicode-math/unicode-math.pdf diff --git a/Master/texmf-dist/doc/latex/unicode-math/unimath-example.pdf b/Master/texmf-dist/doc/latex/unicode-math/unimath-example.pdf Binary files differindex 89d173fbeaf..822d0ef7038 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/unimath-example.pdf +++ b/Master/texmf-dist/doc/latex/unicode-math/unimath-example.pdf diff --git a/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx b/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx index 808f26bc693..e6c75522f88 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx +++ b/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx @@ -46,7 +46,7 @@ \defmathfont{lm}{latinmodern-math.otf}{CC6666} \defmathfont{xits}{xits-math.otf}{CCCC66} \defmathfont{stix}{STIXMath-Regular.otf}{AA66CC} -\defmathfont{cambria}{Cambria Math}{66CCCC} +\defmathfont{cambria}{CambriaMath.ttf}{66CCCC} \defmathfont{asana}{Asana-Math.otf}{6666CC} \defmathfont{pagella}{texgyrepagella-math.otf}{AA6666} \defmathfont{dejavu}{texgyredejavu-math.otf}{AACC66} @@ -150,25 +150,11 @@ \def\AMSSYMB{\boxdot\boxplus\boxtimes\square\blacksquare\centerdot\lozenge\blacklozenge\circlearrowright\circlearrowleft\leftrightharpoons\boxminus\Vdash\Vvdash\vDash\twoheadrightarrow\twoheadleftarrow\leftleftarrows\rightrightarrows\upuparrows\downdownarrows\upharpoonright\restriction\downharpoonright\upharpoonleft\downharpoonleft\rightarrowtail\leftarrowtail\leftrightarrows\rightleftarrows\Lsh\Rsh\rightsquigarrow\leftrightsquigarrow\looparrowleft\looparrowright\circeq\succsim\gtrsim\gtrapprox\multimap\therefore\because\doteqdot\Doteq\triangleq\precsim\lesssim\lessapprox\eqslantless\eqslantgtr\curlyeqprec\curlyeqsucc\preccurlyeq\leqq\leqslant\lessgtr\backprime\risingdotseq\fallingdotseq\succcurlyeq\geqq\geqslant\gtrless\vartriangleright\vartriangleleft\trianglerighteq\trianglelefteq\bigstar\between\blacktriangledown\blacktriangleright\blacktriangleleft\vartriangle\blacktriangle\triangledown\eqcirc\lesseqgtr\gtreqless\lesseqqgtr\gtreqqless\Rrightarrow\Lleftarrow\veebar\barwedge\doublebarwedge\measuredangle\sphericalangle\varpropto\smallsmile\smallfrown\Subset\Supset\Cup\doublecup\Cap\doublecap\curlywedge\curlyvee\leftthreetimes\rightthreetimes\subseteqq\supseteqq\bumpeq\Bumpeq\lll\llless\ggg\gggtr\circledS\pitchfork\dotplus\backsim\backsimeq\complement\intercal\circledcirc\circledast\circleddash\lvertneqq\gvertneqq\nleq\ngeq\nless\ngtr\nprec\nsucc\lneqq\gneqq\nleqslant\ngeqslant\lneq\gneq\npreceq\nsucceq\precnsim\succnsim\lnsim\gnsim\nleqq\ngeqq\precneqq\succneqq\precnapprox\succnapprox\lnapprox\gnapprox\nsim\ncong\diagup\diagdown\varsubsetneq\varsupsetneq\nsubseteqq\nsupseteqq\subsetneqq\supsetneqq\varsubsetneqq\varsupsetneqq\subsetneq\supsetneq\nsubseteq\nsupseteq\nparallel\nmid\nshortmid\nshortparallel\nvdash\nVdash\nvDash\nVDash\ntrianglerighteq\ntrianglelefteq\ntriangleleft\ntriangleright\nleftarrow\nrightarrow\nLeftarrow\nRightarrow\nLeftrightarrow\nleftrightarrow\divideontimes\varnothing\nexists\Finv\Game\eth\eqsim\beth\gimel\daleth\lessdot\gtrdot\ltimes\rtimes\shortmid\shortparallel\smallsetminus\thicksim\thickapprox\approxeq\succapprox\precapprox\curvearrowleft\curvearrowright\digamma\varkappa\Bbbk\hslash\backepsilon} \input{unicode-math.dtx} -\makeatletter -\def\GetFileInfo#1{% - \def\filename{#1}% - \def\@tempb##1 ##2 ##3\relax##4\relax{% - \def\filedate{##1}% - \def\fileversion{##2}% - \def\fileinfo{##3}}% - \edef\@tempa{\csname ver@#1\endcsname}% - \expandafter\@tempb\@tempa\relax? ? \relax\relax} -\makeatother -\GetFileInfo{unicode-math.dtx} -\let\umfiledate\filedate -\let\umfileversion\fileversion \begin{document} \MakeShortVerb\| \title{Every symbol (most symbols) defined by \textsf{unicode-math}} \author{Will Robertson} -\date{\umfiledate \qquad \umfileversion} \maketitle This document uses the file \texttt{unicode-math-table.tex} @@ -198,6 +184,8 @@ Symbols defined in \textsf{amssymb} are indicated with {\color[gray]{0.6} \texts \section{Opening symbols, \cmd\mathopen} \begingroup \def\sqrt{\sqrtsign{}} +\def\cuberoot{\cuberootsign{}} +\def\fourthroot{\fourthrootsign{}} \def\longdivision{\longdivisionsign{}} \SHOW\mathopen \endgroup diff --git a/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.pdf b/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.pdf Binary files differindex 4a5e798a464..c650c1c4709 100644 --- a/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.pdf +++ b/Master/texmf-dist/doc/latex/unicode-math/unimath-symbols.pdf |