texlive[69039] Master/texmf-dist: newcomputermodern (5dec23)

commits+karl at tug.org commits+karl at tug.org
Tue Dec 5 21:45:10 CET 2023


Revision: 69039
          https://tug.org/svn/texlive?view=revision&revision=69039
Author:   karl
Date:     2023-12-05 21:45:10 +0100 (Tue, 05 Dec 2023)
Log Message:
-----------
newcomputermodern (5dec23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/newcomputermodern/README
    trunk/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex
    trunk/Master/texmf-dist/doc/fonts/newcomputermodern/source.txz
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08-Book.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08-BookItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-BoldItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Book.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-BookItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMath-Book.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMath-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-BoldOblique.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-Book.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-BookItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans08-Book.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans08-BookOblique.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans08-Oblique.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans08-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-BoldOblique.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-Book.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-BookOblique.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-Oblique.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-Regular.otf
    trunk/Master/texmf-dist/tex/latex/newcomputermodern/newcomputermodern.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.pdf
    trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.tex
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Book.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Regular.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Bold.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Book.otf
    trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Regular.otf

Modified: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newcomputermodern/README	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/doc/fonts/newcomputermodern/README	2023-12-05 20:45:10 UTC (rev 69039)
@@ -1,7 +1,7 @@
 
 		New Computer Modern Fonts
 
-           (Package version 4.7, GustFLv1 or later)
+           (Package version 5.0, GustFLv1 or later)
 
 		Antonis Tsolomitis
 		Samos, Greece, 2019--2023
@@ -41,6 +41,10 @@
 and series and in 8pt size in Roman (Regular Italic Book BookItalic)
 and Sans (Regular, Oblique, Book, BookOblique).
 
+As of version 5.0 the Devanagari script is supported for 
+Languages Hindi (default), Sanskrit, Marathi and Nepali in 
+Regular/Book 08/10pt and Bold 10t.
+
 The Math fonts (Regular and Book) support fully all Unicode blocks
 of Mathematics providing the widest possible Mathematical coverage.
 
@@ -49,6 +53,31 @@
 
 Latest additions/improvements:
 
+Version 5.0
+
+Support for Devanagari in Regular/Book 08/10pt and Bold 10t.
+
+Support of the Unicode Devanagari Block as variable letters and numbers
+in Math fonts with auto selection for the numbers in ss04.
+
+Addition in the Math fonts of a matching mathbb design keeping the
+AMS mathbb in ss03 if preferred.
+
+Two levels of scriptness in capitals. One as default with \mathcal and 
+anotther in ss01. Lowercase script are also avalable with \mscrX where
+X is any of the latin lowercase letters. Their design match the ss01 
+capitals. (Notice that this was already supported in version 4.7 but it 
+was forgotten to be included in the documentation.)
+
+Complete support in all fonts for the diacritics Unicode block
+U0300--U036F with stacking support.
+
+A lot of improvements in BoldSans design.
+
+Completion of the Greek+Coptic block in all fonts (it was complete only in
+Regular/Book 10pt).
+
+
 Version 4.7
 
 Many improvements in Bold Sans 10.

Added: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.pdf	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.pdf	2023-12-05 20:45:10 UTC (rev 69039)

Property changes on: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.tex	2023-12-05 20:45:10 UTC (rev 69039)
@@ -0,0 +1,21 @@
+\documentclass{article}
+\usepackage[olddefault]{fontsetup}
+\usepackage{luacolor}
+\pagestyle{empty}
+\newfontfamily{\ncmtest}[Renderer=Harfbuzz]{NewCM10-Regular.otf}
+
+\definecolor{orange}{RGB}{255,191,0}
+
+\definecolor{colorone}{RGB}{91,0,250}
+\definecolor{colortwo}{RGB}{250,0,121}
+\definecolor{colorthree}{RGB}{0,204,250}
+\definecolor{colorfour}{RGB}{14,250,0}
+\definecolor{colorfive}{RGB}{255,150,0}
+\definecolor{colorgray}{gray}{0.8}
+
+\newcommand{\emptydiacritic}{\char"034F}
+
+\begin{document}
+\Huge
+{\ncmtest \color{colorgray}a\color{colorfour}̖\color{colortwo}̗\emptydiacritic\color{colorthree}́\color{colorone}̀\color{colorfive}̐}
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/colored-diacritics.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex	2023-12-05 20:45:10 UTC (rev 69039)
@@ -1,6 +1,8 @@
 \documentclass{article}
 \synctex=1
 \def\xstacked{x̧̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̹̺̻̼͇͈͉͍̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̑̓̔̽̾͆͝͠͡}
+%\def\ttxstackedup{\sffamily x̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̑̓̔̽̾͆͝͠͡}
+%\def\ttxstackeddown{\ttfamily x̧̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̹̺̻̼͇͈͉͍}
 \usepackage{polyglossia}
 \setmainlanguage{english}
 \setotherlanguage[variant=polytonic]{greek}
@@ -7,7 +9,7 @@
 \usepackage[hidelinks,pdfa]{hyperref}
 %\usepackage{xgreek}
 \usepackage[default,varnothing]{fontsetup}
-\usepackage{unicodefonttable,graphicx,wrapfig,xcolor}
+\usepackage{unicodefonttable,graphicx,wrapfig,xcolor,calc}
 \newfontfamily\lmboldsans{lmsans10-bold.otf}
 \newfontfamily\newcmaltendings[CharacterVariant=2]{NewCM10-Book.otf}
 \newfontfamily\newcmaltk[CharacterVariant=1]{NewCM10-Book.otf}
@@ -19,14 +21,30 @@
 \newfontfamily\ipafont[%Renderer     = {Harfbuzz},
 StylisticSet = {05},ItalicFont=NewCM10-BookItalic]{NewCM10-Book.otf}
 %
-\newfontfamily\devanagaritext[%
-  Script=Devanagari,%
-  Scale=0.8,%
-%  ExternalLocation=../../NewComputerModern-sfd/Devanagari/,
-%  FakeBold=1.08,
+%%%%%%%%%%%%%%%%%%%%%%%%%%%% Devanagari text %%%%
+\newfontfamily\hinditext[%
+Script=Devanagari,%
+BoldFont=NewCM10Devanagari-Bold.otf,
   % Renderer=Harfbuzz% Optionally for LuaTeX
-]{Shobhika-Regular.otf}
-%]{NewCM10Devanagari-Regular.otf}
+]{NewCM10Devanagari-Book.otf}
+\newfontfamily\marathitext[%
+Script=Devanagari,%
+Language=Marathi,
+  % Renderer=Harfbuzz% Optionally for LuaTeX
+]{NewCM10Devanagari-Book.otf}
+\newfontfamily\sanskrittext[%
+Script=Devanagari,%
+Language=Sanskrit,
+  % Renderer=Harfbuzz% Optionally for LuaTeX
+]{NewCM10Devanagari-Book.otf}
+\newfontfamily\nepalitext[%
+Script=Devanagari,%
+Language=Nepali,
+  % Renderer=Harfbuzz% Optionally for LuaTeX
+]{NewCM10Devanagari-Book.otf}
+\newcommand{\devanagaritext}{\marathitext}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 \definecolor{mygray}{gray}{.9}
 \definecolor{mygrayone}{gray}{.9}
 \definecolor{mygraytwo}{gray}{.8}
@@ -55,6 +73,8 @@
 \newfontfamily\graythreeb[Color=mygraythree,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
 \newfontfamily\grayfourb[Color=mygrayfour,Opacity=0.7,Scale=10]{NewCM10-Book.otf}
 \newfontfamily\grayfiveb[Color=mygrayfive,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
+\newfontfamily\devgray[Color=mygrayfive,Opacity=0.4,Scale=10,Script=Devanagari]{NewCM10Devanagari-Book.otf}
+\newfontfamily\devgraytwo[Color=mygrayone,Scale=10,Script=Devanagari,Language=Marathi]{NewCM10Devanagari-Book.otf}
 \newcommand\leftgrquotes{\char"201C} %{\char"2018}
 \newcommand\rightgrquotes{\char"201E} %{\char"2019}
 \newcommand{\acro}{\relax}
@@ -61,10 +81,21 @@
 %%% Start of metadata %%%
 
 \newtheorem{theorem}{Θεώρημα}[section]
+\newtheorem{devtheorem}[theorem]{प्रमेय}
+
+%\DeclareSymbolFont{devletters}{\encodingdefault}{NewCMMath-Regular.otf(0)}{}{}
+%\ExplSyntaxOn
+%\int_step_inline:nnn { "0900 } { "097F }
+%{
+%  \Umathcode #1 = "0 ~ \use:c{ symdevletters } ~ #1
+%}
+%\ExplSyntaxOff
+  
+
 \renewcommand{\arraystretch}{1.4}
 
 
-\title{The New Computer Modern FontFamily\\ version 4.7}
+\title{The New Computer Modern FontFamily\\ version 5.0}
 \author{Antonis Tsolomitis}
 %\address{Department of Mathematics\\ University of the Aegean\\ Karlovassi, 832\,00 Samos\\ Greece}
 %\netaddress{atsol (at) aegean dot gr}
@@ -74,6 +105,8 @@
 \begin{document}
 
 %
+\rput(-2,-3){\devgray ल}%
+\rput(10.2,-4){\devgraytwo ल\char"093F\char"0902}%
 \rput(0,0){\grayone ζ}\rput(1,-0.5){\grayfour β}
 \rput(0,-5){\grayone ἆ}\rput(1,-5){\graythree ἃ}\rput(2.5,-5){\grayone ἶ}%
 \rput(3.5,-5){\graythree ῗ}\rput(5,-5){\grayone ᾦ}\rput(6,-5){\graythree ᾓ}
@@ -141,9 +174,18 @@
 \null\thispagestyle{empty}
 
 
+%\vfill
+%
+%\ttxstackedup \qquad
+%{\ttxstackeddown}
+%
+%\vfill
+%
 
 \newpage
 
+%\end{document}
+
 \maketitle
 \tableofcontents
 
@@ -172,6 +214,7 @@
 \textit{What follows is a sequence of commands and results so as to show how to access all features
 of the fonts. Character tables are also included}.
 
+
 \section{How to load the fonts}
 The simpler way to load the fonts is through the \verb|fontsetup| package. The command
 
@@ -233,10 +276,12 @@
 
 \subsection{Diacritics Stacking}
 \marginpar{\begin{center}
-{\color{red}$\rightarrow$}\ \xstacked\ {\color{red}$\leftarrow$}
+{\color{red}$\rightarrow$}\ \xstacked\quad{\sffamily\xstacked}\quad{\ttfamily\xstacked}\ {\color{red}$\leftarrow$}
 \end{center}}
-Diacritics stacking is supported at least for Regular, Book and Bold upright seriffed fonts.
-In the margin you can see an example of stacking on the letter ``x''. If you need to enter
+Diacritics---the full block U+0300 to U+036F---and diacritics stacking
+is supported.
+In the margin you can see an example of stacking on the letter ``x'' in Roman, Sans and Mono.
+If you need to enter
 these accents you can use the \verb|\char| command or just copy-paste from the following line
 (from this pdf file or the provided source \TeX\ file):
 \begin{center}
@@ -255,7 +300,49 @@
 Also notice that your text editor may not support stacking. The editor may show the
 accents one after the other, but the pdf produced by xetex or luatex will have the accents stacked.
 
+\subsubsection{Coloring diacritics}
 
+If one wants to use color for diacritics, different from the color of the base character
+this does not work with Xe\LaTeX\ (the commands of the \verb|color| package
+break the stacking mechanism). It works though with Lua\LaTeX\ using the \verb|luacolor|
+package. However, there is a problem when the base glyph and the first diacritic above
+exist in the font as a precomposed character. For example, this is the case
+with aacute (á) (U+00E1). Such characters are treated as one by Lua and they can not
+be colorized with different colors. A work around is to place the empty character U+034F
+between ``a'' and acute (U+0301). So the following minimal example
+produces the result below:
+
+
+\begin{verbatim}
+\documentclass{article}
+\usepackage[olddefault]{fontsetup}
+\usepackage{luacolor}
+\pagestyle{empty}
+\newfontfamily{\ncmtest}[Renderer=Harfbuzz]{NewCM10-Regular.otf}
+\definecolor{orange}{RGB}{255,191,0}
+\definecolor{colorone}{RGB}{91,0,250}
+\definecolor{colortwo}{RGB}{250,0,121}
+\definecolor{colorthree}{RGB}{0,204,250}
+\definecolor{colorfour}{RGB}{14,250,0}
+\definecolor{colorfive}{RGB}{255,150,0}
+\definecolor{colorgray}{gray}{0.8}
+\newcommand{\emptydiacritic}{\char"034F}
+\begin{document}
+\Huge
+{\ncmtest \color{colorgray}a\color{colorfour}̖\color{colortwo}̗%
+\emptydiacritic\color{colorthree}́ \color{colorone}̀ \color{colorfive}̐ }
+\end{document}
+\end{verbatim}
+
+\vspace{-5.5cm}
+
+
+\null \hfill\includegraphics[scale=2]{colored-diacritics.pdf}
+
+
+\vspace{2cm}
+
+
 \section{Greek}
 
 
@@ -348,7 +435,8 @@
 
 \noindent for the rare case one needs quotes inside quotes. The \verb|fontsetup| package
 does this automatically for Greek if the \verb|xgreek| package has been loaded \textit{before}
-the \verb|fontsetup| package. Otherwise, for non-Greek documents with small passages of Greek,
+the \verb|fontsetup| package or when the language is set to Greek by, say, the Babel package.
+Otherwise, for non-Greek documents with small passages of Greek,
 the author may enable \verb|cv04| by creating a custom command such as
 
 \verb|\newcommand\propergreek[CharacterVariant=4]{NewCM10-Book.otf}|
@@ -514,11 +602,145 @@
 \section{Cherokee}
 Both Unicode blocks 
 U13A0--13FF and UAB70--UABBF for Cherokee are supported. A few letters are:
+%\begin{center}
+  ᎣᎤᎹᏊᏐ  ꭳꭴꭷꮂꮔꮿ
+%\end{center}
+
+
+
+\section{Devanagari}
+
+Devanagari script is supported for the serifed font in Regular (10pt/8pt), Book (10pt/8pt),
+and Bold (10pt). The fonts support Hindi (as the default), Sanskrit, Marathi and Nepali Languages.
+The optional arguments for the \verb|fontspec| font-selection mechanism
+must include
+
+\noindent \verb|Script=Devanagari, Language=XXXX| where \verb|XXXX|
+must be replaced with one of \verb|Hindi|, \verb|Sanskrit|, \verb|Marathi|, \verb|Nepali|.
+If the \verb|Language| parameter is not set then the default is \verb|Hindi|.
+For Lua\LaTeX\ the parameter \verb|Renderer=Harfbuzz| must also be included.
+
+So if say Marathi is needed as the default font document then one can use the following:
+\begin{verbatim}
+\usepackage{fontspec}
+\setmainfont[Script=Devanagari, Language=Marathi,% 
+Renderer=Harfbuzz]{NewCM10Devanagari-Book.otf}
+\end{verbatim}
+
+
+The Devanagari fonts were developed with the help of {\devanagaritext निरंजन} (Niranjan)
+whose name appears in the copyright section of the fonts and I also thank him for
+providing the samples below.
+
+
+\noindent A Sanskrit sample from {\sanskrittext बृहदारण्यकोपनिषद्} (bṛhadāraṇyakopaniṣad) follows:
+
+
 \begin{center}
-  ᎣᎤᎹᏊᏐ  ꭳꭴꭷꮂꮔꮿ
+\fbox{\begin{minipage}{9cm}
+{\hinditext
+ॐ पूर्णमदः पूर्णमिदं, पूर्णात्पूर्णमुदच्यते।\\
+पूर्णस्य पूर्णमादाय पूर्णमेवावशिष्यते॥
+}
+
+\medskip
+
+That\footnote{the outer world} is complete;\\
+this\footnote{the inner world} too is complete.\\
+From one complete comes the other. Taking out\\
+one complete from the other too results in a complete.
+\end{minipage}}
 \end{center}
 
 
+\noindent Next is a beautiful part of a poem in Marathi
+by {\marathitext तुकाराम} (Tukaram) and its translation:
+
+\medskip
+
+\hspace*{-3cm}\begin{tabular}{l|l}
+{\begin{minipage}{\widthof{\marathitext त्यांसि म्हणे जो आपुलें॥ १ ॥}}
+{\marathitext
+%\noindent\begin{verse} 
+जें कां रंजलें गांजलें।\\
+त्यांसि म्हणे जो आपुलें॥ १ ॥\\
+तो चि साधु ओळखावा।\\
+देव तेथें चि जाणावा॥
+%\end{verse}
+}
+\end{minipage}}
+           &
+\begin{minipage}{12cm}
+      %\begin{verse}
+  Only the one who treats the downtrodden people equally is a sage\footnote{\ ``The wise'' of course, not the plant.}.\\
+        One may sense the essence of god there.\\
+      %\end{verse}
+    \end{minipage}
+\end{tabular}
+         
+
+\bigskip
+         
+Devanagari Unicode letters (range U0900--U097F) are also available as variables (letters) and
+numbers in the Regular and Book Math fonts. They are available as usually in three weights
+in the Math fonts so that the color is balanced when in script size (eg in exponents or indices).
+For this to work a version of \verb|fontsetup| package greater or equal to 1.8 with options
+\verb|default| or \verb|olddefault| loaded is needed. This is because Devanagari letters are not
+Math variables in Unicode standard and hence not supported currently as such by the
+unicode-math package. To show this possibility next is a theorem in Hindi (mixing with Greek):
+
+\medskip
+
+%प्रमेय (Πυθαγόρας - पिथागोरास)‘’
+%\setmathfont[StylisticSet=4]{NewCMMath-Regular.otf}
+\setmathfont[StylisticSet=4]{NewCMMath-Book.otf}
+{\hinditext
+\textbf{प्रमेय}\,(\textrm{Πυθαγόρας} (पिथागोरास)) अगर समकोण त्रिभुज के कर्ण की लंबाई को ‘अ’ और
+अन्य दो भुजाओं की लंबाई को ‘क’ और ‘ख’ कहते हैं, तो भुजाओं की लम्बाई के वर्गों की
+जोड़, कर्ण के वर्ग जितनी होती है, अर्थात्
+ $अ^२=क^२+ख^२$।
+}
+%\setmathfont{NewCMMath-Regular.otf}
+\setmathfont{NewCMMath-Book.otf}
+
+
+\bigskip
+
+However, if only Devanagari numbers are needed with the source using arabic numerals
+then one can use the Stylistic Set 04 of the Math font. 
+So the command
+
+%\noindent\verb|\setmathfont[StylisticSet=4]{NewCMMath-Regular.otf}|
+\noindent\verb|\setmathfont[StylisticSet=4]{NewCMMath-Regular.otf}|
+with source:
+\begin{verbatim}
+$$\sum_{n=0}^\infty \frac1{n!}x^n=1+x+\frac{1}{2!}x^2
+   +\frac1{3!}x^3+\frac1{4!}x^4+\ldots=e^x.$$
+$$9!=1\cdot2\cdot3\cdot4\cdot5\cdot6\cdot7\cdot8\cdot9.$$
+$$2^{2^2}$$
+\end{verbatim}
+will have the following effect:
+
+
+%\setmathfont[StylisticSet=4]{NewCMMath-Regular.otf}
+\setmathfont[StylisticSet=4]{NewCMMath-Book.otf}
+
+$$\sum_{n=0}^\infty \frac1{n!}x^n=1+x+\frac{1}{2!}x^2+\frac1{3!}x^3+\frac1{4!}x^4+\ldots=e^x.$$
+$$9!=1\cdot2\cdot3\cdot4\cdot5\cdot6\cdot7\cdot8\cdot9.$$
+$$2^{2^2}$$
+
+\noindent which when the math font is reset to use Arabic numbers with
+
+%\noindent\verb|\setmathfont{NewCMMath-Regular.otf}| it gives:
+\noindent\verb|\setmathfont{NewCMMath-Book.otf}| it gives:
+
+%\setmathfont{NewCMMath-Regular.otf}
+\setmathfont{NewCMMath-Book.otf}
+$$\sum_{n=0}^\infty \frac1{n!}x^n=1+x+\frac{1}{2!}x^2+\frac1{3!}x^3+\frac1{4!}x^4+\ldots=e^x.$$
+$$9!=1\cdot2\cdot3\cdot4\cdot5\cdot6\cdot7\cdot8\cdot9.$$
+$$2^{2^2}$$
+
+
 \section{Medieval Latin and Uncial Greek}
 The family includes new shapes for medieval and uncial Greek.
 The \verb|fontsetup| package provides \verb|\textuncial{<text>}| and
@@ -724,8 +946,65 @@
 \end{center}
 
 
+\subsection{Math Script}
 
+Calligraphic letters are accessed as usual with \verb|\mathcal| producing
+$$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
 
+However, mathematicians often need a second level of ``scriptness''. The fonts
+provide an alternative calligraphic, a script design at StylisticSet 1. For this to work
+one has to re-set the math font using
+
+\noindent\verb|\setmathfont[StylisticSet=1]{NewCMMath-Book.otf}|
+
+(or the Regular version). So the following code
+\begin{verbatim}
+$$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
+\setmathfont[StylisticSet=1]{NewCMMath-Book.otf}
+$$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
+$$
+\mscra\mscrb\mscrc\mscrd\mscre\mscrf\mscrg\mscrh\mscri\mscrj
+\mscrk\mscrl\mscrm\mscrn\mscro\mscrp\mscrq\mscrr\mscrs\mscrt
+\mscru\mscrv\mscrw\mscrx\mscry\mscrz
+$$
+\setmathfont{NewCMMath-Book.otf}
+$$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
+\end{verbatim}
+produces
+$$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$\setmathfont[StylisticSet=1]{NewCMMath-Book.otf}$$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
+$$
+\mscra\mscrb\mscrc\mscrd\mscre\mscrf\mscrg\mscrh\mscri\mscrj\mscrk\mscrl\mscrm\mscrn\mscro\mscrp\mscrq\mscrr\mscrs\mscrt\mscru\mscrv\mscrw\mscrx\mscry\mscrz
+$$
+\setmathfont{NewCMMath-Book.otf}$$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
+
+
+\subsection{Blackboard Bold}
+The Math fonts in the past used to have the \textsc{ams} blackboard
+bold letters, which were accessed with
+the command \verb|\mathbb|. These designs were not matching in style
+computer modern. Starting from version 5.0 of the fonts, they now contain a
+the full Unicode list of blackboard bold in cm-matching design.
+These are:
+$$\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
+$$\mathbb{abcdefghijklmnopqrstuvwxyz}$$
+$$\mathbb{0123456789\ \pi\gamma\Gamma\Pi\Sigma\mitBbbD\mitBbbd\mitBbbe\mitBbbi\mitBbbj}$$
+
+The old shapes, the ones of \textsc{ams}, are also available for backwards
+combatibility. To access them one needs to load the math font enabling the
+\verb|ss03| stylistic set using for example
+
+\noindent\verb|\setmathfont[StylisticSet=3]{NewCMMath-Book.otf}|
+Then the above blackboard bold design changes to
+\setmathfont[StylisticSet=3]{NewCMMath-Book.otf}
+$$\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
+$$\mathbb{abcdefghijklmnopqrstuvwxyz}$$
+$$\mathbb{0123456789\ \pi\gamma\Gamma\Pi\Sigma\mitBbbD\mitBbbd\mitBbbe\mitBbbi\mitBbbj}$$
+
+\setmathfont{NewCMMath-Book.otf}
+
+If using \verb|fontsetup| then you can choose the \textsc{ams} blackboard bold
+with the option \verb|amsbb|.
+
 \subsection{Upright and extensible integrals}
 The Math fonts (both Regular and Book weights) include upright integrals
 in the ss02 StylisticSet.

Modified: trunk/Master/texmf-dist/doc/fonts/newcomputermodern/source.txz
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08-Book.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08-BookItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08-Regular.otf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Book.otf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Book.otf
===================================================================
--- trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Book.otf	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Book.otf	2023-12-05 20:45:10 UTC (rev 69039)

Property changes on: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Book.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Regular.otf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Regular.otf
===================================================================
--- trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Regular.otf	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Regular.otf	2023-12-05 20:45:10 UTC (rev 69039)

Property changes on: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM08Devanagari-Regular.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-BoldItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Book.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-BookItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Regular.otf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Bold.otf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Bold.otf
===================================================================
--- trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Bold.otf	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Bold.otf	2023-12-05 20:45:10 UTC (rev 69039)

Property changes on: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Bold.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Book.otf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Book.otf
===================================================================
--- trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Book.otf	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Book.otf	2023-12-05 20:45:10 UTC (rev 69039)

Property changes on: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Book.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Regular.otf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Regular.otf
===================================================================
--- trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Regular.otf	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Regular.otf	2023-12-05 20:45:10 UTC (rev 69039)

Property changes on: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10Devanagari-Regular.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMath-Book.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMath-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-BoldOblique.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-Book.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-BookItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-Italic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMMono10-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans08-Book.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans08-BookOblique.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans08-Oblique.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans08-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-Bold.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-BoldOblique.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-Book.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-BookOblique.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-Oblique.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/opentype/public/newcomputermodern/NewCMSans10-Regular.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/newcomputermodern/newcomputermodern.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/newcomputermodern/newcomputermodern.sty	2023-12-05 20:44:49 UTC (rev 69038)
+++ trunk/Master/texmf-dist/tex/latex/newcomputermodern/newcomputermodern.sty	2023-12-05 20:45:10 UTC (rev 69039)
@@ -1,5 +1,5 @@
 %\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{newcomputermodern}[v4.7 NewCM fonts by Antonis Tsolomitis]
+\ProvidesPackage{newcomputermodern}[v5.0 NewCM fonts by Antonis Tsolomitis]
 \typeout{Loading NewCM fonts by Antonis Tsolomitis}
 
 \newif\if at olddefault



More information about the tex-live-commits mailing list.