\documentclass{article}
\synctex=1
\def\xstacked{x̧̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̹̺̻̼͇͈͉͍̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̑̓̔̽̾͆͝͠͡}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage[variant=polytonic]{greek}
\usepackage[hidelinks,pdfa]{hyperref}
%\usepackage{xgreek}
\usepackage[default,varnothing]{fontsetup}
\usepackage{unicodefonttable,graphicx,wrapfig,xcolor}
\newfontfamily\lmboldsans{lmsans10-bold.otf}
\newfontfamily\newcmaltendings[CharacterVariant=2]{NewCM10-Book.otf}
\newfontfamily\newcmaltk[CharacterVariant=1]{NewCM10-Book.otf}
\newfontfamily\newcmdlig[RawFeature=+dlig]{NewCM10-Book.otf}
%\newfontfamily\uncial{NewCMUncial10-Book.otf}
\newfontfamily\newcmgreekguillemots[CharacterVariant=4]{NewCM10-Book.otf}
\newfontfamily\newcmrussianguillemots[CharacterVariant=3]{NewCM10-Book.otf}
\newfontfamily\showtiefont[CharacterVariant=5]{NewCM10-Book.otf}
\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,
  % Renderer=Harfbuzz% Optionally for LuaTeX
]{Shobhika-Regular.otf}
%]{NewCM10Devanagari-Regular.otf}
\definecolor{mygray}{gray}{.9}
\definecolor{mygrayone}{gray}{.9}
\definecolor{mygraytwo}{gray}{.8}
\definecolor{mygraythree}{gray}{.78}
\definecolor{mygrayfour}{gray}{.75}
\definecolor{mygrayfive}{gray}{.65}
\definecolor{myred}{RGB}{255,66,32}
\newfontfamily\lrgstack[Scale=2.5,Color=myred]{NewCM10-Book.otf}
\newfontfamily\lrg[Scale=4,Color=myred]{NewCM10-Book.otf}
\newfontfamily\lrgs[Scale=4,Color=myred,StylisticSet=2]{NewCMSans10-Regular.otf}
\newfontfamily\lrgsiv[Scale=4,Color=myred,StylisticSet=4]{NewCMSans10-Regular.otf}
\newfontfamily\lrgb[Scale=4,Color=myred]{NewCM10-Bold.otf}
\newfontfamily\lrgu[Scale=4,Color=myred]{NewCMUncial10-Book.otf}
\newfontfamily\grayone[Color=mygrayone,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
\newfontfamily\graytwo[Color=mygraytwo,Opacity=0.7,Scale=8]{NewCM10-Book.otf}
\newfontfamily\graytwos[Color=mygraytwo,Opacity=0.7,Scale=6]{NewCM10-Book.otf}
\newfontfamily\graythree[Color=mygraythree,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
\newfontfamily\grayfour[Color=mygrayfour,Opacity=0.7,Scale=10]{NewCM10-Book.otf}
\newfontfamily\grayfive[Color=mygrayfive,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
\newfontfamily\ugrayone[Color=mygrayone,Opacity=0.7,Scale=9]{NewCMUncial10-Book.otf}
\newfontfamily\ugraythree[Color=mygraythree,Opacity=0.7,Scale=12]{NewCMUncial10-Book.otf}
\newfontfamily\ugrayfour[Color=mygrayfour,Opacity=0.7,Scale=10]{NewCMUncial10-Book.otf}
%
\newfontfamily\grayoneb[Color=mygrayone,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
\newfontfamily\graytwob[Color=mygraytwo,Opacity=0.7,Scale=10]{NewCM10-Book.otf}
\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}
\newcommand\leftgrquotes{\char"201C} %{\char"2018}
\newcommand\rightgrquotes{\char"201E} %{\char"2019}
\newcommand{\acro}{\relax}
%%% Start of metadata %%%

\newtheorem{theorem}{Θεώρημα}[section]
\renewcommand{\arraystretch}{1.4}


\title{The New Computer Modern FontFamily\\ version 4.7}
\author{Antonis Tsolomitis}
%\address{Department of Mathematics\\ University of the Aegean\\ Karlovassi, 832\,00 Samos\\ Greece}
%\netaddress{atsol (at) aegean dot gr}
%\personalURL{https://myria.math.aegean.gr/~atsol/}
%%% End of metadata %%%
\usepackage{pstricks}
\begin{document}

%
\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 ᾓ}
\rput(-2,2){\scalebox{1.5}{\graythree γ}}
\rput(5,-1.5){\graytwo א}\rput(0,-10){\graytwo ש}\rput(6,-12.5){\graytwo שּׁ}
\rput(14,-14){\ugraythree Ε}
\rput(1,-14){\ugrayfour Ω}%
\rput(4.2,-19.8){\ugraythree t}
\rput(3,-21){\ugrayfour M}%
\rput(4,-15){\ugraythree D}
\rput(5,-14){\ugrayone H}
\rput(5,1.5){\grayone π}
\rput(3,1.5){\graytwo δ}
\rput(2,-11){\graytwos Ꮙ}
\rput(3,-12){\graytwo ѽ}
\rput(4,-10){\graythree Ψ}
\rput(7,-10){\grayone ɮ}
\rput(-2,-14){\graytwo ʥ}
\rput(0,-17){\ugraythree Δ}
\rput(1,-16){\grayone ξ}
\rput(5,-18){\grayfour ϋ}
\rput(9,-19){\ugrayone Β}
\rput(7,-15){\graytwo Ƅ}
\rput(10,-2){\grayfive ƴ}
\rput(-3.7,-17){\graytwo 𐅴}
\rput(6,0){\ugraythree G}
\rput(-3,-11){\graytwo ϒ}
\rput(-2,-10){\ugraythree \&}
\rput(-5,-12){\graytwo Ю}
%
\rput(0,-12){\graytwos Ꭳ}
\rput(8,-13){\graytwos Ⲍ}
\rput(9,-12){\graytwos ⲯ}
\rput(8,-15){\graytwos Ⲝ}
\rput(-2,-17){\graytwos Ꮉ}
\rput(-2.5,-20){\ugraythree @}
\rput(-1,-19){\grayfour λ}
\rput(8,-20){\graytwos Ж}
\rput(7,-21){\graytwos Ⳛ}
\rput(6,-10){\graytwos 𐅷}
\rput(7,-17){\graytwos 𐋣}
\rput(3,-18){\graytwos ⠣}
\rput(12.0,-16){\lrgstack\color{myred} \xstacked}
\rput(10,-10){{\lrgsiv Α} {\lrgs Α}}
\rput(10,-12){\lrg a A}
\rput(10,-14){\lrg  ᾃ ᾍ}
\rput(10,-16){\lrg  ⲁ Ⲁ}
\rput(10,-18){\lrgu a A}
\rput(10,-20){\lrg א אּ}
\rput(10,-22){\lrg ꭿ Ꭿ}


%
\thispagestyle{empty}
\psline[linewidth=3cm,linecolor=white](-6,-7)(17,-7)
\rput(5.5,-6.6){\color{myred}\huge The NewComputerModern FontFamily}
\rput(5.5,-7.6){\Large Antonis Tsolomitis\ \textbullet\ University of the Aegean\ \textbullet\ Department of Mathematics}
\psline[linewidth=2cm,linecolor=myred](15.9,-7)(17,-7)
\psline[linewidth=2cm,linecolor=myred](-6,-7)(-4.8,-7)



\newpage

\null\thispagestyle{empty}



\newpage

\maketitle
\tableofcontents

\section{Introduction}
The NewComputerModern FontFamily is a huge extension (``huge'' in terms of
the number of additional glyphs)
of the \verb|lm| fonts. It is not just a family adding random missing glyphs but it
adds support for several more languages and shapes needed for academic (and not only) work.
Currently it supports among others, Greek\footnote{from Claudio Beccari's Greek.},
Cyrillic\footnote{from the \texttt{cmu} package.}, Hebrew, Cherokee and
Coptic. Since it supports
diacritics stacking the number of languages that use the Latin alphabet is greatly expanded. 
Diacritics stacking is also needed for Greek for papyrological work and this is also supported.

Version 4.0 adds to the classic design of computer modern new shapes for Latin and Greek,
in particular it adds families for Medieval Latin and Uncial Greek matching in style to the
main family.

In terms of weights and sizes, all of its shapes come in Regular, Book weights
at 10 and 8 point sizes and in Bold at 10 points.

Mathematics is also supported in Regular and Book weights, currently providing
a full coverage of the Unicode Math blocks (with a few more glyphs needed for Mathematics
that Unicode has forgotten to encode).

\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

\verb|\usepackage[default]{fontsetup}|

\noindent will load the Book weight of the NewCM family, and

\verb|\usepackage[olddefault]{fontsetup}|

\noindent will load the Regular weight.

Also notice that the fonts support the microtype package for fine typographic tuning. See the
documentation of microtype for this.

\section{The Latin alphabet}

\subsection{Ligatures and stylistic alternatives in Latin}
{\newcmaltk
The Serif font includes additional
ligatures fb ffb ffh ffj ffk fft fh fj ft fk and the same with longs instead of f
in the \textit{default} liga table (in addition to the default fi fl ffi ffl ff).
It also includes an alternative k (in the cv01 table) and
{\newcmdlig sp ch ck ct st}
in the dlig table. Finally it also inludes} ``end'' {\newcmaltk versions for the letters
a, e, m, n and r in the cv02 table.
}
To access the alternative k load the relative font (here the Book weight) with

\verb|\setmainfont[CharacterVariant=1]{NewCM10-Book.otf}|

To load the same font with the dlig table enabled use

\verb|\setmainfont[RawFeature=+dlig]{NewCM10-Book.otf}|

and to load the font with endings variations use

\verb|\setmainfont[CharacterVariant=2]{NewCM10-Regular.otf}|

Of course the above can be mixed separating the optional arguments with comma,
or one can define a custom font say by using

\verb|\newfontfamily\myfont[<options to enable>]{NewCM10-Regular.otf}|

\begin{center}
  \begin{tabular}{c|c|c|c}
    Regular &   k & a e m n r & sp ch ck ct st\\ \hline
    cv01 & {\newcmaltk k} & & \\ \hline
    cv02 & & {\newcmaltendings a e m n r} &  \\ \hline
    dlig & & & {\newcmdlig sp ch ck ct st}
  \end{tabular}
\end{center}

\subsection{Old Italic}

The fonts also fully support the Old Italic Unicode block
(U10300--U1032F) in the Sans font. For example, the slots
U10307, U10310, U10312, U10314, U1031F and U1032F are
{\sffamily\char"10307\char"10310\char"10312\char"10314\char"1031F\char"1032F}.

\subsection{Diacritics Stacking}
\marginpar{\begin{center}
{\color{red}$\rightarrow$}\ \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
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}
  \textit{Some} of the upper accents\\[1ex]
{\Large  ̀\quad ́\quad ̂\quad ̃\quad ̄\quad ̅\quad\quad ̆\quad ̇\quad ̈\quad ̉\quad ̊\quad ̋}\\
{\Large  ̌\quad ̍\quad ̎\quad ̏\quad ̑\quad ̓\quad ̔\quad ̽\quad ̾\quad ̚\quad ͆\quad ͝\quad ͠\quad ͡}\\
\textit{Some} of the lower accents\\
{\Large ̧\quad ̖\quad ̗\quad ̘\quad ̙\quad ̜\quad ̝\quad ̞\quad ̟\quad ̠\quad ̣\quad ̤\quad ̥\quad ̦}\\
{\Large ̩\quad ̪\quad ̫\quad ̬\quad ̭\quad ̮\quad ̯\quad ̰\quad ̱\quad ̲\quad ̹\quad ̺\quad ̻\quad ̼\quad ͇\quad ͈\quad ͉\quad ͍}
  \end{center}
  Please note that stacking is by default supported with xetex. With luatex
  you have to add the option \texttt{Renderer=Harfbuzz}, say by

  \noindent\verb|\addfontfeature{Renderer=Harfbuzz}|

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.


\section{Greek}


The full Unicode Greek block is supported, which is
\begin{itemize}
  \item U0370--U03FF for monotonic, where missing glyphs, such as Heta (Ͱ),
    Pamphilian digamma (ͷ) etc, have been added. For example, it is now possible to write

    \centerline{βιϐλίο instead of βιβλίο.}
    
  \item U1F00--U1FFF for polytonic, and
  \item U10140--U1018F for ancient Greek numbers.
\end{itemize}
    

\begin{theorem}[Πυθαγόρειον]
Ἐν τοῖς ὀρθογω\-νί\-οις τριγώνοις τὸ ἀπὸ τῆς τὴν ὀρθὴν γωνίαν ὑπο\-τει\-νού\-σης πλευρᾶς
τετράγωνον ἴσον ἐστὶ τοῖς ἀπὸ τῶν τὴν ὀρθὴν\hspace{-1pt} γωνίαν περιεχουσῶν πλευρῶν τετραγώνοις.
\end{theorem}


Small Caps is included (in Mono font too) and all polytonic accents of Greek.
Ypogegrammeni is the default for all characters including Small Caps and prosgegrammeni
is offered as an alternative shape in the \texttt{ss01} lookup table:
\begin{center}
\begin{tabular}{c|c|c}
 &  ypogegrammeni & prosgegrammeni\\ \hline
regular &  ᾋ ᾟ ᾯ \textsc{ᾳῃῳ} & {\textprosgegrammeni{ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}}}\\ \hline
sans &{\sffamily  ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}} & {\sffamily{\textprosgegrammeni{ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}}}}\\ \hline
mono & {\ttfamily  ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}} & {\ttfamily{\textprosgegrammeni{ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}}}}
\end{tabular}
\end{center}
The prosgegrammeni alternates can be accessed with 

\medskip

\verb|\textprosgegrammeni{<text>}|

\noindent or the

\verb|{\prosgegrammeni <text>}|

\medskip

\noindent of the \texttt{fontsetup} package.

\subsection{Other character variants}

Guillemots (left and right) have a different shape for Greek. For this to work
the fonts must be loaded with the cv04 character variant.

  
Compare the default guillemots: «» with Greek guillemots:
\textlang{greek}{\newcmgreekguillemots «»}. 

There is a serious problem with Unicode and the Greek anoteleia (U0387); the Greek semicolon. 
Unicode ``thinks'' that this character is the same with periodcentered (U00B7). This influences
the way keyboards are configured by several vendors such as xorg. Anoteleia
is a dot written at x-height and not at 1/2 the x-height as the periodcentered.
Although Unicode recognizes the problem\footnote{personal communication}, althought
they recognize that with their current standard you can not correctly write the Greek language,
they refuse to fix it, justifying it by saying the magical words ``backwards compatibility''
(to a \ldots{}mistake, one could add).

NewComputerModern can not allow this, as it defies the purpose of its
existence, which is to properly write every supported language. So
enabling the CharacterVariant 04 (cv04) in addition to correct
guillemots for Greek it maps periodcentered (produced by the keyboards
(in Greek Linux keyboards by AltGr+q) to proper anoteleia.

It also fixes a long standing issue with the Greek apostrophe (᾽)(U1FBD) which
is not the same with quoteright (’)(U2019). U1FBD named as ``Greek Koronis''
by Unicode is the proper character.

Another problem that has to do with
quotes inside quotes. The internal quotes in Greek should be written with
the characters quotedblleft and quotedblbase\footnote{Μανόλης Τριανταφυλλίδης, \textit{Νεοελληνική Γραμματική της δημοτικής}, Ανατύπωση της έκδοσης του \textsc{οεσβ 1941} με διορθώσεις, Θεσσαλονίκη \textsc{2002}, σελ.~\textsc{66}, ενότητα~\textsc{133}.}. For example, this is correct for Greek
\begin{center}
 {\newcmgreekguillemots  «άλφα \leftgrquotes βήτα\rightgrquotes»}
\end{center}
But the keyboards only produce quotesingle which is already mapped to apostrophe
and it is difficult to remember the names ``quotedblleft'' and ``quotedblbase''. 
So when enabling cv04 one can define the commands

\verb|\newcommand\leftgrquotes{\char"201C}| %{\char"2018}

\noindent and

\verb|\newcommand\rightgrquotes{\char"201E}| %{\char"2019}

\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 author may enable \verb|cv04| by creating a custom command such as

\verb|\newcommand\propergreek[CharacterVariant=4]{NewCM10-Book.otf}|


A phrase with Greek quotes inside quotes, proper anoteleia, and proper apostrophe is

\begin{center}
{\newcmgreekguillemots  «φώναζε: \leftgrquotes απ' έξω την προπαίδεια\rightgrquotes»· σαν εκδίκηση ακουγόταν\ldots}
\end{center}

\subsection{Prosodic symbols}

In Greek philology and in linguistics it is often needed to stack accent-type symbols above letters,
even if they are not vowels. Although rare in writings, it is for example valid to place dieresis
over the consonants π, τ and κ of the nasal complexes μπ, ντ, γκ
when it is necessary to show that these are pronounced, as written, voiceless, and not voiced.
For example,
\begin{center}
κομπ̈ρέσα, \quad αντιαντ̈αντ̈ικός, \quad ελεγκ̈τής
\end{center}
(see previous footnote). The fonts support this writing if a combining dieresis is placed after
the letter to receive it. The combining dieresis is the character U0308. On Linux desktops this is
easily entered pressing Alt+Control+u, release them, and type the sequence 0308 and space.

More than that, in linguistics, they need to combine several accents above Greek letters. All this
stacking of accents is supported by the fonts. For example, one can write
\begin{center}
ᾱ῏\quad ε᾿῀\quad Ἀ̆ \quad Ἆ̄ \quad ῼ᾿῀\quad ᾱ΄\quad Χ̆᾿\quad ῑ̈΄
\end{center}
by placing the combining accents from the Unicode block U0300--U0362 plus the usual Greek accents
\textit{after} the letter.
So the above was typed as
\begin{center}
{\ttfamily α ̄\hspace*{-5pt} ῏\qquad ε\hspace*{-5pt} ᾿ ῀\qquad Ἀ ̆ \quad Ἆ ̄ \qquad ῼ\hspace*{-5pt} ᾿ ῀\qquad α ̄\hspace*{-5pt} ΄\qquad Χ ̆\hspace*{-5pt} ᾿\qquad ι ̄ ̈\hspace*{-5pt} ΄}
\end{center}

\subsection{Archaic Greek writing}
The Sans Serif Regular font provides access to 6th century bce and 4th century bce Greek capitals
in ss04 and ss03 lookups. The \texttt{fontsetup} package provides commands such as\begin{center}
\verb|\textivbce{}|, \verb|\ivbce|, \verb|\textvibce{}| and \verb|\vibce|
\end{center}
%to access them if loaded
%with the \verb|[default]| or \verb|[olddefault]| option.
\begin{center}
  \begin{tabular}{c}
    6th century bce:\\ \hline
    \textvibce{ΜΗΔΕΙΣ ΑΓΕΩΜΕΤΡΗΤΟΣ ΕΙΣΙΤΩ}\\ \hline\hline
    4th century bce:\\ \hline
     \textivbce{ΜΗΔΕΙΣ ΑΓΕΩΜΕΤΡΗΤΟΣ ΕΙΣΙΤΩ}
  \end{tabular}
\end{center}
Moreover, all fonts (except Mono \&\ Math) support Ancient Greek
Numerals (the full Unicode block of Greek digits U10140--U1018E is supported),
with most symbols designed from scratch (and did not exist in C. Beccari's original fonts).
A few of the new symbols:
\begin{center}
𐅋𐅌𐅍𐅏𐅯𐅴𐆉
\end{center}
The four numerals that already existed in 
this range (that is U10144--U10147) in Beccari's fonts have been altered to a new
design matching the style of cm but also provide some Ancient Greek flair.
The new designs in Serifed and SansSerifed are:
\begin{center}
𐅄𐅅𐅆𐅇 \quad \textsf{𐅄𐅅𐅆𐅇}
\end{center}
The \texttt{fontsetup} package provides commands for all of the above symbols.
The commands follow the Unicode name of each slot (minus the ``Greek Acrophonic'').
So the Unicode slot U1014F named ``Greek Acrophonic Attic Five Staters'' can be accessed
with the command \verb|\atticfivestaters| and it gives \atticfivestaters; and the
slot u10182 named ``Greek Kyathos Base Sign'' can be accessed with the command
\verb|\greekkyathosbasesign| and it gives \greekkyathosbasesign.

\subsection{Support for Papyrology}
Papyrology needs to declare that a glyph is missing from the papyrus or
the papyrus is worn at this point and the papyrologist adds the missing glyph
but it is not clear from the papyrus. This is done by adding a dot below the glyph
and it is supported for all Greek glyphs in the upright fonts monotonic or polytonic:
\begin{center}
{\Large Α̣\quad Ἆ̣\quad ᾞ̣\quad ἇ̣\quad ᾦ̣\quad ῥ̣}
\end{center}
where in the source we just typed the dot below (char U0323) after the glyph.
This feature is supported for the 4th bce and 6th bce Greek in Sans:
\begin{center}
  \textvibce{\Large Γ̣Ε̣Ω̣Μ̣Ε̣Τ̣Ρ̣Ι̣Α̣}
  \quad\quad\textivbce{\Large Γ̣Ε̣Ω̣Μ̣Ε̣Τ̣Ρ̣Ι̣Α̣}
\end{center}


\subsection{Support for Chemistry}
It happens often that Greek upright characters are needed in Chemistry. People often
have trouble with this (and this is why packages such as \texttt{chemgreek} exist).
If Greek keyboard is available then it is easy; you just type in Greek, say
\texttt{β-glucan} to get ``β-glucan''.
But many writers do not have the Greek keyboard enabled, and they do not need to.
Usually they type \verb|$\beta$-glucan| but the result ``$\beta$-glucan'' is not satisfying.
One can use the ``up'' versions typing \verb|$\upbeta$-glucan| but still the result
``$\upbeta$-glucan'' looks more Math than Chemistry.
To help with this, the \texttt{fontsetup} package provides commands such as \verb|\chemAlpha|,
\verb|\chemalpha|, \verb|\chemBeta|, \verb|\chembeta|, etc. So this information essentially would
only belong to the \verb|fontsetup| documentation if it was not for kappa and rho. If we type
in Greek \texttt{κ-compound} we get ``κ-compound'' which is not satisfying, as kappa is too
cursive for this use. So the NewCM family provides an alternative kappa for this reason
and this is how \verb|\chemkappa| is defined in \verb|fontsetup|:

\verb|\newcommand{\chemkappa}{\textrm{\char"03F0}}|:
\begin{center}
  We write \verb|\chemkappa-compound| and now get ``\chemkappa-compound''.
\end{center}
(The \verb|\textrm| command in the above definition is there to make the command work
in math mode too.)
Similar is the situation for \verb|\chemrho| (\chemrho) and \verb|\chemrhoalt| (\chemrhoalt).






\section{Russian}
Russian is supported using the glyphs from the \verb|cmu| package but it has considerable
improvements (for example, the quality of the bold sans (see below)).
\begin{verse}
Я помню чудное мгновенье:\\
Передо мной явилась ты,\\
Как мимолетное виденье,\\
Как гений чистой красоты.\\
\hspace{3cm}(Пушкинъ)
\end{verse}
Again, as in Greek there is a different kind of guillemots for Russian which are available
in CharacterVariant 3 (cv03). Compare:
\begin{center}
Defaults guillemots: «» \quad Russian guillemots: {\newcmrussianguillemots «»}\quad Greek guillemots: {\newcmgreekguillemots «»}
\end{center}
Same is the situation with Russian emdash which is shorter than the default:
\begin{center}
\begin{tabular}{rl}
  Default emdash: & ---\\
  Russian emdash: & {\newcmrussianguillemots ---}
\end{tabular}
\end{center}


\section{Hebrew}
\noindent The Hebrew blocks U0590--U05FF and Hebrew Presentation forms
UFB1D--UFB4F are fully covered. and  A few letters from Hebrew: 
\begin{center}
 אבגדהושׁשּׂלּצּ
\end{center}

\section{Coptic and Epact Numbers}
\noindent The Coptic language is fully supported. This covers the Coptic blocks
in the Greek and Coptic Unicode
block (U03E2--U03EF), the full Coptic Unicode block (U2C80--U2CFF) and the Coptic Epact Numbers
(U102E0--U102FF).
A few letters from Coptic and Epact numbers follow: 
\begin{center}
ⲗⲟⲅⲟⲥ ⲛ̀ⲁⲓⲅⲩⲡⲧⲓⲟⲥ \quad 𐋡 𐋢 𐋣 𐋤 𐋥
\end{center}




\section{Cherokee}
Both Unicode blocks 
U13A0--13FF and UAB70--UABBF for Cherokee are supported. A few letters are:
\begin{center}
  ᎣᎤᎹᏊᏐ  ꭳꭴꭷꮂꮔꮿ
\end{center}


\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
\verb|{\uncial text}| to use this shape. Let us write a sentence
in this shape:
\begin{center}
  \begin{minipage}{9cm}
{\uncial    The Pythagorean Theorem is one of the most important theorems in Mathematics.}\\
{\uncial    Το Πυθαγόρειο Θεώρημα είναι από τα σημαντικότερα θε\-ω\-ρή\-μα\-τα των Mαθηματικών.}
  \end{minipage}
\end{center}
\section{Braille}
Braille, both 6dot (uni2801--uni283F)
as well as 8dit (uni2840--uni28FF) patterns
are included in two versions. The Regular font provides the
characters for sighted persons (such as teachers) so they can easily see which dots are
on and which off. The Sans font contains the true Braille characters. I decided to have the
sighted version in the Regular font since a blind person does not need the real Braille pattern,
as those are produced by embossers. The Braille patterns here are meant as fonts to
typeset text mainly for sighted persons.
\begin{center}
  \begin{tabular}{c|c|c}
    & 6dot & 8dot\\ \hline
    Regular version & ⠅⠆⠇⠝⠞ & ⡂⡃⡄⡚⡛\\ \hline
    Sans version &{\sffamily ⠅⠆⠇⠝⠞} &{\sffamily ⡂⡃⡄⡚⡛}
  \end{tabular}
\end{center}

\section{Ipa symbols}

\acro{\textsc{ipa}} symbols are included and following a suggestion of Huanyu Liu
the kerning found in \texttt{tipa} package has been added here and further improved. Moreover
the letters eth, eng, beta, theta and chi
exists in \acro{\textsc{ipa}}-style in the fonts and are accessible in the ss05 lookup table since
they are in a different design from the Latin and Greek letters.
You can access this lookup table using the \verb|\textipa|
command of the fontsetup
package.
\begin{center}
  \begin{tabular}{c|c|c}
   & Non-\acro{\textsc{ipa}} & \acro{\textsc{ipa}}\\ \hline
 Regular &   ð ŋ β θ χ & \textipa{ð ŋ β θ χ}\\ \hline
 Sans & \textsf{ð ŋ β θ χ} & \textsf{\textipa{ð ŋ β θ χ}}
  \end{tabular}
\end{center}

I am grateful to {\devanagaritext निरंजन} (Niranjan) for suggesting
and testing all the \textsc{ipa} improvements that follow:


The joining of two characters such as t͜s, d͜z, k͡p, t͡ʃ etc is also supported.
The low tie is the character U035C and the upper tie is U0361. The t͜s is produced by typing the
sequence t then the low tie and then s. Similarly k͡p is produced by typing the
sequence k then the upper tie and then p. For t͜ʃ and d͜ʒ the fonts have a contextual chaining
substitution table that uses a tie which prints lower so it does not touch ʃ and ʒ.
In cases that one wants to show the tie as {\showtiefont x͜y͡z} then one needs to
enable the cv5 character variant
since the tie characters (U035C and U0361) are marks and not base glyphs.
One can do that with a command
such as

\noindent\verb|\newfontfamily{\showtie}[CharacterVariant=5]{NewCM10-Book.otf}|

There is also an older practice that such sequences are joint into a ligature. This is
not the modern way of writing but it seems than many people in the linguistics still prefer it.
The fonts support this, if one enables the \verb|lipa| table (local ipa) of the fonts.
This can be done by adding the \verb|RawFeature=+lipa| to the font specs when loading it
and it is done automatically with the commands \verb|\textoldipa{arg}| and \verb|{\oldipatext arg}|
of the \verb|fontsetup| package.

For example, \verb|\textoldipa{ts, tʃ}| produces \textoldipa{ts, tʃ}. 

All other symbols of the \verb|tipa| package are supported. Some examples are:
\begin{center}
p̚,  ˈ, ɫ, l̠, ɖ, ɟ, ʂ, e̬, k̥, m̩, t̼, t̺, etc.
\end{center}
It is worth noting that all of the above is also available in the Mono family:
\begin{ttfamily}
\begin{center}
|t͜s|t͡ʃ|\textoldipa{ts}|p̚|ˈ|ɫ|l̠|ɖ|ɟ|ʂ|e̬|k̥|m̩|t̼|t̺|
\end{center}
\end{ttfamily}

Another issue is that \textsc{ipa} used to use the Italic alternation of ``g'' even in the
upright design. This restriction was lifted in \textsc{1949} as can
be seen on page \textsc{3} in \cite{2}. % https://doi.org/10.1017\%2FS002510030000476X

Even though the normal upright shape is accepted as an
alternation, there are linguists who prefer the older
(Italic) shape ``{\ipafont g}'' and hence we are making it the default in the
stylistic set dedicated for \textsc{ipa} (ss05).

Another such case is with the ``a'' shape. It has a different
visual form in Italics ``\textit{a}'' which resembles to a distinct symbol
of \textsc{ipa} leading to a wrong transcription. In order to avoid
this confusion, we have used the slanted version ``{\itshape\ipafont a}'' of ``a'' in
ss05. The other vowel symbol (ie, ɑ (U0251)) is also
available in the fonts.



Next we give a real example of using \acro{\textsc{ipa}} symbols. The quote below is from
\textit{A course in phonetics}, {Ladefoged, Peter and Johnson, Keith}, \textsc{(2014)},
{Cengage learning}, pp.~\textsc{285--286}, and the \texttt{StylisticSet=05} has been enabled:
\begin{quote}
  Other examples of this phenomenon have also been
  mentioned.  We saw that before {\ipafont [ŋ]}, English
  does not distinguish between tense and lax vowels.
  Consequently, the vowel that occurs in, for example, sing
  has a quality between that of {\ipafont [i]} and {\ipafont
    [ɪ]}.  Similarly, there is no distinction between tense
  and lax vowels before {\ipafont [ɹ]}. The vowel in here in
  most forms of American English is also intermediate
  between {\ipafont [i]} and {\ipafont [ɪ]}. The principle
  of maximum perceptual separation also accounts for some of
  the differences between languages. French has two high
  rounded vowels, {\ipafont [u]} as in \emph{tout} {\ipafont
    [t̪u]} ``all,'' and {\ipafont [y]} as in \emph{tu}
  {\ipafont [t̪y]} ``you.''
\end{quote}




\section{Bold Sans}
\texttt{lm} fonts and \texttt{cmu} fonts do not contain a properly made
BoldSans. Their BoldSans is a stroke-extensi\-on of the Sans with rounded corners.
NewCM fixes that and provides a true BoldSans:

\hspace*{-5ex}\begin{tabular}{c|c}
  LM & NewCM\\ \hline
  & \\
  \scalebox{6.8}{\lmboldsans XΞ}&\scalebox{6.8}{\textsf{\bfseries XΞЯДЛ}}
\end{tabular}




\section{Unicode Math coverage and options}
NewCM provides
full Unicode math support, that is 
 all Mathematics Unicode Slots
 presented in \url{http://www.unicode.org/charts/}
  in both Math weights, Regular and Book. These blocks are:
\hspace*{-5em} \begin{description}
\item[Mathematical Symbols]
\ \\
Arrows (uni2190--uni21FF)\\
Supplemental Arrows-A (uni27F0--uni27FF)\\
Supplemental Arrows-B (uni2900--uni297F)\\
Supplemental Arrows-C (u1F800--u1F8FF)\\
Additional Arrows (uni2B00--uni2BFF)\\
Miscellaneous Symbols and Arrows (uni2B00--uni2BFF)
\item[Mathematical Alphanumeric Symbols] 
\ \\ (u1D400--u1D7FF)\\
     Arabic Mathematical Alphabetic Symbols\\ (u1EE00--u1EEFF)\\
     Letterlike Symbols (uni2100--uni214F)
\item[Mathematical Operators] 
\ \\ (uni2200--uni22FF)\\
    Basic operators: Plus, Factorial\\ (uni0000--uni007F)\\
             Division, Multiplication\\ (uni0080--uni00FF)\\
    Supplemental Mathematical Operators\\ (uni2A00--uni2AFF)\\
    Miscellaneous Mathematical Symbols-A\\ (uni27C0--uni27EF)\\
    Miscellaneous Mathematical Symbols-B\\ (uni2980--uni29FF)\\
    Floors and Ceilings (uni2308--uni230B)\\
    Invisible Operators (uni2061--uni2064)
  \item[Geometric Shapes (uni25A0--25FF)]
    \ \\
   Additional Shapes (uni2B00--uni2BFF)\\
   Box Drawing (uni2500--uni257F)\\
   Block Elements (uni2580--uni259F)\\
   Geometric Shapes Extended (u1F780--u1F7FF)
   \end{description}

\begin{wrapfigure}[8]{o}{0.08\textwidth}\vspace*{-1\baselineskip}
\ \\[2ex]
  \scalebox{8}{\color{gray}$\char"2BDA$}
\end{wrapfigure}
  Unfortunately, the \texttt{unicode-math} package does not
provide commands currently for the hundrends of extra glyphs that have been added
in order to fully cover the above Unicode ranges. The user can 
consult the Unicode charts at the above link and access the required 
glyph with \verb|\char"#| where \#\ is the Unicode number of the
slot the glyph belongs to. 

For example, \verb|\char"2BDA| will give the Hygeia symbol
(uni2BDA) the Rod of Asclepius as shown above (grayed and scaled $\times 8$). The glyph
that appeared in TUGboat (see \cite{1}), being more realistic will be moved to
a new font in the future with ornaments.

\subsection{Optical sizes for more glyphs}
So far the fonts provided optical sizes for 1st and 2nd order exponents for letters. This was
not true though for binary operators and some symbols commonly used in mathematics.
For example, the \verb|\perp| symbol ($\perp$) often appears in 2nd order exponents
and then it appeared very thin. Some printers could even hardly print its thin lines.
Now, such glyphs plus several binary operators, such as $+$, $-$, $\pm$, $\dotplus$ etc
are now provided in optical sizes, so that expressions such as
$$+^{+^+}\ \perp^{\perp^\perp}\ *^{*^*}\quad\frac{|P_{F^\perp}(K)|}{e^{(x+y)^*}}$$
appear on screen and print properly on printers.
Zoom or print and compare with \texttt{lat\-in\-modern-math} font:
\begin{center}
  \includegraphics{opticalmathlm-cropped.pdf}
\end{center}




\subsection{Upright and extensible integrals}
The Math fonts (both Regular and Book weights) include upright integrals
in the ss02 StylisticSet.
Use with

\medskip

\noindent\verb|\setmathfont[StylisticSet=2]{NewCMMath-Book.otf}|

\noindent or

\noindent\verb|\setmathfont[StylisticSet=2]{NewCMMath-Regular.otf}|

\medskip

\noindent or use the \verb|upint| option of the \texttt{fontsetup} package with
\begin{verbatim}
\usepackage[upint,default]{fontsetup}
\end{verbatim}
for the Book weight, or
\begin{verbatim}
\usepackage[upint,olddefault]{fontsetup}
\end{verbatim}
for the regular weight.


Moreover, extensible integrals are supported by the fonts but \textit{NOT} by the Unicode TeX
engines.
The following code is a trick so that extensible integrals can be
constructed using Lua\LaTeX. The result is shown at the end
of the article.
What the  code below does, is that it defines the slot uni222B (integral) as
a delimiter. And then this is extended as a delimiter with the mechanism that
the font provides.

\begin{tabular}{l|r}
  \begin{minipage}[c]{6cm}
\begin{verbatim}
\documentclass{article}
\usepackage[default]{fontsetup}
\begin{document}
$
\Uleft\Udelimiter 0 0 "222B
\begin{pmatrix}
  1\\2\\3\\4\\5\\6\\7\\8\\9
\end{pmatrix}
\Uright.
$
\end{document}
\end{verbatim}
  \end{minipage}
  &
  \begin{minipage}[c]{4cm}
\begin{center}
    \includegraphics{integral.pdf}
\end{center}
\end{minipage}
\end{tabular}

\subsection{Additional and alternative characters in Math}
The Math fonts provide the character \verb|\varnothing| ($\varnothing$), as
an alternative to \verb|\emptyset| (a slashed zero),
through Character Variant \verb|cv01|. The \verb|fontsetup| package provides the option 
`\verb|varnothing|' to easily switch to the alternative character.

It also provides two more symbols that correspond to the commands

\medskip

  \verb|\nrightrightarrows| ($\nrightrightarrows$)

\noindent and

\verb|\nleftleftarrows| ($\nleftleftarrows$)

\medskip

\noindent
and supported by the \verb|default| and \verb|olddefault| options of the \verb|fontsetup| package.
These symbols are not in the Unicode Standard and so they are added in the
Private Area of the fonts. 


\section{The Medieval Latin and Uncial Greek glyph complement}


\displayfonttable[hex-digits=head+foot, range-end=03CE]{NewCMUncial10-Book.otf}


\begin{thebibliography}{9}
\bibitem[\textsc{at}]{1} Antonis Tsolomitis, \textit{The NewComputerModern font family}, \textsc{tug}boat Vol.~\textsc{42}, No.~\textsc{1}, \textsc{2021}.
\bibitem[\textsc{ipa}rev]{2} Council actions on revisions of the \textsc{ipa}, Phonetic Representation: b) Revision of the \textsc{ipa}, Journal of the International Phonetic Association, Volume \textsc{23}, Issue \textsc{1},
  June \textsc{1993},
  pp.~\textsc{32--34}. 
\end{thebibliography}
\end{document}
