Debian Codegraph @

texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex

raw
1 \documentclass{article}
2 \synctex=1
3 \def\xstacked{x̧̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̹̺̻̼͇͈͉͍̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̑̓̔̽̾͆͝͠͡}
4 %\def\ttxstackedup{\sffamily x̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̑̓̔̽̾͆͝͠͡}
5 %\def\ttxstackeddown{\ttfamily x̧̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̹̺̻̼͇͈͉͍}
6 \usepackage{polyglossia}
7 \setmainlanguage{english}
8 \setotherlanguage[variant=polytonic]{greek}
9 \setotherlanguage{armenian}
10 \setotherlanguage{georgian}
11 \setotherlanguage{russian}\setotherlanguage{bulgarian}
12 \usepackage[hidelinks,pdfa]{hyperref}
13 %\usepackage{xgreek}
14 \usepackage{pstricks}
15 \renewcommand{\TeX}{T\kern-.5ex\raisebox{-.5ex}{E}\kern-.4exX}
16 \renewcommand{\LaTeX}{L\kern-.8ex\raisebox{.6ex}{\textsc{a}}\kern-.3ex\TeX}
17 \newcommand{\XeLaTeX}{X\kern-.45ex\raisebox{-.5ex}{\reflectbox{E}}\kern-.4ex\LaTeX}
18 \newcommand{\LuaLaTeX}{Lua\LaTeX}
19 \usepackage[default,varnothing]{fontsetup}
20 \usepackage{unicodefonttable,graphicx,wrapfig,xcolor,calc}
21 \newfontfamily\lmboldsans{lmsans10-bold.otf}
22 \newfontfamily\newcmaltendings[CharacterVariant=2]{NewCM10-Book.otf}
23 \newfontfamily\newcmaltk[CharacterVariant=1]{NewCM10-Book.otf}
24 \newfontfamily\newcmdlig[RawFeature=+dlig]{NewCM10-Book.otf}
25 %\newfontfamily\uncial{NewCMUncial10-Book.otf}
26 \newfontfamily\newcmgreekguillemets[CharacterVariant=4]{NewCM10-Book.otf}
27 \newfontfamily\newcmrussianguillemets[CharacterVariant=3]{NewCM10-Book.otf}
28 \newfontfamily\showtiefont[CharacterVariant=5]{NewCM10-Book.otf}
29 \newfontfamily\ipafont[%Renderer = {Harfbuzz},
30 StylisticSet = {05},ItalicFont=NewCM10-BookItalic]{NewCM10-Book.otf}
31 \newfontfamily\ctoscseries[Letters=UppercaseSmallCaps]{NewCM10-Book.otf}
32 \newcommand{\ctosc}[1]{{\ctoscseries#1}}
33 \newfontfamily\greekalts[StylisticSet=6]{NewCM10-Book.otf}
34 \newfontfamily\middlegreekon[StylisticSet=6,StylisticSet=7]{NewCM10-Book.otf}
35 \newfontfamily\middlegreekonsans[StylisticSet=6,StylisticSet=7]{NewCMSans10-Book.otf}
36 \newfontfamily{\mathastext}{NewCMMath-Book.otf}
37 \newfontfamily{\mathastextnewcm}[StylisticSet=3]{NewCMMath-Book.otf}
38 \newfontfamily{\cyrsans}{NewCMSans10-Book.otf}
39 \newfontfamily{\lxfonts}[StylisticSet=8,BoldFont=NewCMSans10-Bold.otf,ItalicFont=NewCMSans10-Oblique.otf]{NewCMSans10-Regular.otf}
40 %%%%%%%%%%%%%%%%%%%%%%%%%%%% Devanagari text %%%%
41 \newfontfamily\hinditext[%
42 Script=Devanagari,%
43 BoldFont=NewCM10Devanagari-Bold.otf,
44 % Renderer=Harfbuzz% Optionally for LuaTeX
45 ]{NewCM10Devanagari-Book.otf}
46 \newfontfamily\marathitext[%
47 Script=Devanagari,%
48 Language=Marathi,
49 % Renderer=Harfbuzz% Optionally for LuaTeX
50 ]{NewCM10Devanagari-Book.otf}
51 \newfontfamily\sanskrittext[%
52 Script=Devanagari,%
53 Language=Sanskrit,
54 % Renderer=Harfbuzz% Optionally for LuaTeX
55 ]{NewCM10Devanagari-Book.otf}
56 \newfontfamily\nepalitext[%
57 Script=Devanagari,%
58 Language=Nepali,
59 % Renderer=Harfbuzz% Optionally for LuaTeX
60 ]{NewCM10Devanagari-Book.otf}
61 \newcommand{\devanagaritext}{\marathitext}
62 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
63
64 \definecolor{mygray}{gray}{.9}
65 \definecolor{mygrayone}{gray}{.9}
66 \definecolor{mygraytwo}{gray}{.8}
67 \definecolor{mygraythree}{gray}{.78}
68 \definecolor{mygrayfour}{gray}{.75}
69 \definecolor{mygrayfive}{gray}{.65}
70 \definecolor{myred}{RGB}{255,66,32}
71 \newfontfamily\lrgstack[Scale=2.5,Color=myred]{NewCM10-Book.otf}
72 \newfontfamily\lrg[Scale=4,Color=myred]{NewCM10-Book.otf}
73 \newfontfamily\lrgs[Scale=4,Color=myred,StylisticSet=2]{NewCMSans10-Regular.otf}
74 \newfontfamily\lrgsiv[Scale=4,Color=myred,StylisticSet=4]{NewCMSans10-Regular.otf}
75 \newfontfamily\lrgb[Scale=4,Color=myred]{NewCM10-Bold.otf}
76 \newfontfamily\lrgu[Scale=4,Color=myred]{NewCMUncial10-Book.otf}
77 \newfontfamily\grayone[Color=mygrayone,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
78 \newfontfamily\graytwo[Color=mygraytwo,Opacity=0.7,Scale=8]{NewCM10-Book.otf}
79 \newfontfamily\graytwos[Color=mygraytwo,Opacity=0.7,Scale=6]{NewCM10-Book.otf}
80 \newfontfamily\graythree[Color=mygraythree,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
81 \newfontfamily\grayfour[Color=mygrayfour,Opacity=0.7,Scale=10]{NewCM10-Book.otf}
82 \newfontfamily\grayfive[Color=mygrayfive,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
83 \newfontfamily\ugrayone[Color=mygrayone,Opacity=0.7,Scale=9]{NewCMUncial10-Book.otf}
84 \newfontfamily\ugraythree[Color=mygraythree,Opacity=0.7,Scale=12]{NewCMUncial10-Book.otf}
85 \newfontfamily\ugrayfour[Color=mygrayfour,Opacity=0.7,Scale=10]{NewCMUncial10-Book.otf}
86 %
87 \newfontfamily\grayoneb[Color=mygrayone,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
88 \newfontfamily\graytwob[Color=mygraytwo,Opacity=0.7,Scale=10]{NewCM10-Book.otf}
89 \newfontfamily\graythreeb[Color=mygraythree,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
90 \newfontfamily\grayfourb[Color=mygrayfour,Opacity=0.7,Scale=10]{NewCM10-Book.otf}
91 \newfontfamily\grayfiveb[Color=mygrayfive,Opacity=0.7,Scale=12]{NewCM10-Book.otf}
92 \newfontfamily\devgray[Color=mygrayfive,Opacity=0.4,Scale=10,Script=Devanagari]{NewCM10Devanagari-Book.otf}
93 \newfontfamily\devgraytwo[Color=mygrayone,Scale=10,Script=Devanagari,Language=Marathi]{NewCM10Devanagari-Book.otf}
94 \newcommand\leftgrquotes{\char"201C} %{\char"2018}
95 \newcommand\rightgrquotes{\char"201E} %{\char"2019}
96 \newcommand{\acro}{\relax}
97 %%% Start of metadata %%%
98
99 \newtheorem{theorem}{Θεώρημα}[section]
100 \newtheorem{devtheorem}[theorem]{प्रमेय}
101
102 %\DeclareSymbolFont{devletters}{\encodingdefault}{NewCMMath-Regular.otf(0)}{}{}
103 %\ExplSyntaxOn
104 %\int_step_inline:nnn { "0900 } { "097F }
105 %{
106 % \Umathcode #1 = "0 ~ \use:c{ symdevletters } ~ #1
107 %}
108 %\ExplSyntaxOff
109
110
111 \renewcommand{\arraystretch}{1.4}
112
113
114 \title{The New Computer Modern FontFamily\\ version 8.0.1}%\\
115 %{\normalsize Based on and extending works of Donald Knuth, J\"org Knappen, Norbert Schwarz, A.~Khodulev, O.~Lapko, A.~Berdnikov, V.~Volovich, Claudio Beccari, Fukui Rei, Han The Thấnh, Walter Schmidt, Andrey V.~Panov, The American Mathematical Society}}
116 \author{Antonis Tsolomitis}
117 %\address{Department of Mathematics\\ University of the Aegean\\ Karlovassi, 832\,00 Samos\\ Greece}
118 %\netaddress{atsol (at) aegean dot gr}
119 %\personalURL{https://myria.math.aegean.gr/~atsol/}
120 %%% End of metadata %%%
121 \begin{document}
122 \mathversion{bold}
123 \newsavebox{\mathcalscrA}
124 \savebox{\mathcalscrA}{$\symcal A$ $\symbfscr A$}
125 \mathversion{normal}
126
127 %
128 \rput(-2,-3){\devgray ल}%
129 \rput(10.2,-4){\devgraytwo ल\char"093F\char"0902}%
130 \rput(0,0){\grayone ζ}\rput(1,-0.5){\grayfour β}
131 \rput(0,-5){\grayone ἆ}\rput(1,-5){\graythree ἃ}\rput(2.5,-5){\grayone ἶ}%
132 \rput(3.5,-5){\graythree ῗ}\rput(5,-5){\grayone ᾦ}\rput(6,-5){\graythree ᾓ}
133 \rput(-2,2){\scalebox{1.5}{\graythree γ}}
134 \rput(5,-1.5){\graytwo א}\rput(0,-10){\graytwo ש}\rput(6,-12.5){\graytwo שּׁ}
135 \rput(14,-14){\ugraythree Ε}
136 \rput(1,-14){\ugrayfour Ω}%
137 \rput(4.2,-19.8){\ugraythree t}
138 \rput(3,-21){\ugrayfour M}%
139 \rput(4,-15){\ugraythree D}
140 \rput(5,-14){\ugrayone H}
141 \rput(5,1.5){\grayone π}
142 \rput(3,1.5){\graytwo δ}
143 \rput(2,-11){\graytwos Ꮙ}
144 \rput(3,-12){\graytwo ѽ}
145 \rput(4,-10){\graythree Ψ}
146 \rput(7,-10){\grayone ɮ}
147 \rput(-2,-14){\graytwo ʥ}
148 \rput(0,-17){\ugraythree Δ}
149 \rput(1,-16){\grayone ξ}
150 \rput(5,-18){\grayfour ϋ}
151 \rput(9,-19){\ugrayone Β}
152 \rput(7,-15){\graytwo Ƅ}
153 \rput(10,-2){\grayfive ƴ}
154 \rput(-3.7,-17){\graytwo 𐅴}
155 \rput(6,0){\ugraythree G}
156 \rput(-3,-11){\graytwo ϒ}
157 \rput(-2,-10){\ugraythree \&}
158 \rput(-5,-12){\graytwo Ю}
159 %
160 \rput(0,-12){\graytwos Ꭳ}
161 \rput(8,-13){\graytwos Ⲍ}
162 \rput(9,-12){\graytwos ⲯ}
163 \rput(8,-15){\graytwos Ⲝ}
164 \rput(-2,-17){\graytwos Ꮉ}
165 \rput(-2.5,-20){\ugraythree @}
166 \rput(-1,-19){\grayfour λ}
167 \rput(8,-20){\graytwos Ж}
168 \rput(7,-21){\graytwos Ⳛ}
169 \rput(6,-10){\graytwos 𐅷}
170 \rput(7,-17){\graytwos 𐋣}
171 \rput(3,-18){\graytwos ⠣}
172 \rput(12.0,-16){\lrgstack\color{myred} \xstacked}
173 \rput(10,-10){{\lrgsiv Α} {\lrgs Α}}
174 \rput(10,-12){\lrg a A}
175 \rput(10,-14){\lrg ᾃ ᾍ}
176 \rput(10,-16){\lrg ⲁ Ⲁ}
177 \rput(10,-18){\lrgu a A}
178 \rput(10,-20){\lrg א אּ}
179 \rput(10,-22){\lrg ꭿ Ꭿ}
180 \rput(0.2,-21){\graytwo փ}
181 \rput(7.25,-18){\graytwos ჱ}
182
183 %
184 \thispagestyle{empty}
185 \psline[linewidth=3cm,linecolor=white](-6,-7)(17,-7)
186 \rput(5.5,-6.6){\color{myred}\huge The NewComputerModern FontFamily}
187 \rput(5.5,-7.6){\Large Antonis Tsolomitis\ \textbullet\ University of the Aegean\ \textbullet\ Department of Mathematics}
188 \psline[linewidth=2cm,linecolor=myred](15.9,-7)(17,-7)
189 \psline[linewidth=2cm,linecolor=myred](-6,-7)(-4.8,-7)
190
191
192
193 \newpage
194
195 \null\thispagestyle{empty}
196
197
198 \newpage
199
200
201 \maketitle
202 \tableofcontents
203
204 \newsavebox{\vsbox}
205 \savebox{\vsbox}{$0, \cap, \cup, \lneqq,\gneqq,
206 \lesssim,\gtrsim,\subsetneq,\supsetneq, \sqcap,\sqcup,\oplus,\otimes,
207 \circledequal,\lesseqgtr,\gtreqless,\circledparallel,\intprod,\intprodr,
208 \simless,\simgtr,\smte,\late,\subsetneqq,\supsetneqq$}
209
210
211
212 \section{Introduction}
213 The NewComputerModern FontFamily is a huge extension (``huge'' in terms of
214 the number of additional glyphs)
215 of the \verb|lm| fonts. It is not just a family adding random missing glyphs but it
216 adds support for several more languages and shapes needed for academic (and not only) work.
217 Currently it supports among others, Greek\footnote{from Claudio Beccari's Greek.},
218 Cyrillic,
219 Devanagari, Hebrew, Coptic, Cherokee,
220 Canadian Aboriginal, Armenian and Georgian. Since it supports
221 diacritics stacking the number of languages that use the Latin alphabet is greatly expanded.
222 Diacritics stacking is also needed for Greek for papyrological work and this is also supported.
223
224 Version 4.0 added to the classic design of computer modern new shapes for Latin and Greek,
225 in particular it adds families for Medieval Latin and Uncial Greek matching in style to the
226 main family.
227
228 In terms of weights and sizes, all of its shapes come in Regular, Book weights
229 at 10 and 8 point sizes and in Bold at 10 points.
230
231 Mathematics is also supported in Regular, Book, Bold and Sans-Regular weights/shapes,
232 currently providing
233 a full coverage of the Unicode Math blocks (with a few more glyphs needed for Mathematics
234 that Unicode has forgotten to encode).
235
236 \textit{What follows is a sequence of commands and results so as to show how to access all features
237 of the fonts. Character tables are also included}.
238
239 \textsc{Important:} If you want to provide patches for the fonts
240 please contact me before you create them. The fonts evolve quickly
241 and you may not have the latest development version and your patches
242 may not apply if created for the published version.
243
244 \section{License}
245
246 All glyphs, \textit{except} Latin, some basic Math symbols and Greek, are drawn by the author.
247 The fonts are released under \ctosc{GUST} license because the Latin Part, a derivative of LM fonts,
248 is released with \ctosc{GUST} license,
249 \textit{except} the fonts
250 \begin{center}
251 NewCM10-Regular, all of NewCMUncial, and all of NewCM*Devanagari,
252 \end{center}
253 which are released under \ctosc{GPL}\oldstylenums{3} or later, plus \ctosc{FE} (Font Exception)
254 plus \ctosc{DE} (Distribution Exception).
255
256
257 %However, notice that all fonts will move to GPL3+FE+DE
258 %in the future (see below).
259
260 Claudio Beccari, the designer of the Greek part, kindly agreed to
261 release the Greek part under
262 \ctosc{GPL}\oldstylenums{3}+\ctosc{FE+DE}. I also thank Alexey
263 Kuznetsov, who helped me with his knowlegde on today's Russian needs,
264 to completely redesign the cyrillic glyphs.
265 This was a much needed
266 work as the Cyrillic of previous releases were erratically copied from
267 \ctosc{OFL} fonts (and I apologise for this, as I overlooked \ctosc{OFL}). \ctosc{OFL} is
268 incompatible with \ctosc{GUST} and \ctosc{LPPL} which were the licenses of components
269 of NewCM. For diacritic stacking, NewCM needs to have these components
270 in a single font file which is not possible if the components are
271 incompatibly licensed. With this release, since Cyrillic is completely
272 reworked, the fonts are distributed under the \ctosc{GUST} license as it
273 respects the conditions of the other component license, ie,
274 \ctosc{LPPL}. Any font file that doesn't have the Latin block, eg,
275 Devanagari, is already switched to \ctosc{GPL}.
276
277 The remaining fonts also are planned to move to \ctosc{GPL} in the upcoming
278 versions. Claudio Beccari, the author of Greek fonts, has kindly
279 allowed me to combine his otherwise \ctosc{LPPL} licensed fonts in my \ctosc{GPL}
280 licensed ones. The Latin block will be completely retraced with
281 Knuthian \ctosc{CM} and then the \ctosc{GUST} component also will become \ctosc{GPL}.
282
283 NewCM10-Regular released under this new license scheme does \textit{not} use lm glyphs
284 anymore. The Latin part has been retraced from public domain metafont sources
285 and hand adjusted glyph by glyph to match the original using fontforge
286 (with its auto composing mechanism for accented glyphs)
287 and the package
288 \verb|pdfpagediff|.
289
290 \textit{Important notice}: The fonts contain thousands of glyphs. So I may have accidentally
291 not removed some glyph from lm. This is not done on purpose and I will remove it and
292 replace it immediately if I get notified for such a bug.
293
294 The details of Font Exception and Distribution Exception follow:
295 \begin{description}
296 \item[Font Exception] If you create a document which uses this font,
297 and embed this font or unaltered portions of this font into the
298 document, this font does not by itself cause the resulting document
299 to be covered by the \ctosc{GNU} General Public License. This exception does
300 not however invalidate any other reasons why the document might be
301 covered by the \ctosc{GNU} General Public License. If you modify this font,
302 you may extend this exception to your version of the font, but you
303 are not obligated to do so. If you do not wish to do so, delete this
304 exception statement from your version.
305 \item[Distribution Exception] If you distribute the fonts as they are
306 in your program, and your program follows a license compatible with
307 \ctosc{GPL} version \oldstylenums{3} (or later) as described in
308 https://www.gnu.org/licenses/license-list.en.html these fonts do not
309 by themselves cause the resulting program to be covered by the \ctosc{GNU}
310 General Public License. This exception does not however invalidate
311 any other reasons why the program might be covered by the \ctosc{GNU}
312 General Public License. If however you distribute a copy of the
313 fonts that modifies either the glyphs (one or more) or the glyph-set
314 by adding or removing glyphs, this exception is invalidated and your
315 program has to follow \ctosc{GPL} version \oldstylenums{3} (or later).
316 \end{description}
317
318
319 % For details, please consult License.txt/License.odt in the distribution of the fonts.
320
321
322 \section{Short history of ComputerModern type fonts}
323
324 For historical reasons we provide a list of copyright holders
325 of \ctosc{CM}-type fonts up today. The licenses of these fonts do not apply to NewCM
326 as no glyphs are copied from these except \ctosc{GUST} licensed fonts.
327 \begin{itemize}
328 \item Copyright \copyright\ Authors of original metafont fonts: Donald Ervin Knuth (cm \&\ concrete fonts).
329 \item \textsc{1995, 1996, 1997} J\"org Knappen, \textsc{1990, 1992} Norbert Schwarz (ec fonts).
330 \item \textsc{1992--2006} A.~Khodulev, O.~Lapko, A.~Berdnikov, V.~Volovich (lh fonts).
331 \item \textsc{1997--2005} Claudio Beccari (cb greek fonts and lx fonts).
332 \item \textsc{2002} Fukui Rei (tipa fonts).
333 \item \textsc{2003--2005} Hàn Thế Thành (Vietnamese fonts).
334 \item \textsc{1996--2005} Walter Schmidt (cmbright fonts).
335 \item \textsc{2003--2021} B.~Jackowski and J.~M.~Nowacki (lm-modern fonts).
336 \item Copyright \copyright\ \textsc{2003--2009}, Andrey V.~Panov ([email protected]) with Reserved Font Family Name ``Computer Modern Unicode fonts''.
337 \item Copyright \copyright\ \textsc{2012--2014}, Andrey V.~Panov ([email protected]) (cyrillic-modern).
338 \item Copyright \copyright\ \textsc{1997, 2009}, American Mathematical Society (http://www.ams.org).
339 All Rights Reserved.
340 \end{itemize}
341
342
343
344
345
346 \section{How to load the fonts}
347 The simpler way to load the fonts is through the \verb|fontsetup| package. The command
348
349 \verb|\usepackage[default]{fontsetup}|
350
351 \noindent will load the Book weight of the NewCM family,
352
353 \verb|\usepackage[olddefault]{fontsetup}|
354
355 \noindent will load the Regular weight, and
356
357 \verb|\usepackage[sansdefault]{fontsetup}|
358
359 \noindent will load the Sans Serif NewCM family.
360
361 Notice that the Mono family has Italic fonts only for Regular and Book weights
362 but for the Bold it has Oblique. To avoid confusion fontspec files are provided
363 that provide the Oblique shape for Regular and Book using the FakeBold fontspec parameter.
364
365 Also notice that the fonts support the microtype package for fine typographic tuning. See the
366 documentation of microtype for this.
367
368
369 \section{Classic spacing}
370
371 Alexey Kuznetsov kindly contributed fontspec files with streching factors
372 that micro-adjust the fonts to
373 be as close as possible to orginal metafont output. These are in the folder
374 \texttt{tex/contrib/} The files are marked with the string ``cs'' (for ``classically
375 stretched''). For example \texttt{NewCMcs.fontspec}
376 micro-adjusts the Book Roman weight, and
377 \texttt{NewCMcs-Regular.fontspec} for the Regular Roman fonts. So if you need to mimic
378 as close as possible the original ``Knuthian'' output you can load the fonts with
379
380 \begin{verbatim}
381 \setmainfont{NewCMcs}
382 \setsansfont{NewCMcsSans}
383 \setmonofont{NewCMcsMono}
384 \end{verbatim}
385
386 or
387
388 \begin{verbatim}
389 \setmainfont{NewCMcs-Regular}
390 \setsansfont{NewCMcsSans-Regular}
391 \setmonofont{NewCMcsMono-Regular}
392 \end{verbatim}
393
394
395
396 \section{The Latin alphabet}
397
398 \subsection{Ligatures and stylistic alternatives in Latin}
399 {\newcmaltk
400 The Serif font includes additional
401 ligatures fb ffb ffh ffj ffk fft fh fj ft fk and the same with longs instead of f
402 in the \textit{default} liga table (in addition to the default fi fl ffi ffl ff).
403 It also includes an alternative k (in the cv01 table) and
404 {\newcmdlig sp ch ck ct st il}
405 in the dlig table. Finally it also inludes} ``end'' {\newcmaltk versions for the letters
406 a, e, m, n and r in the cv02 table.
407 }
408 To access the alternative k load the relative font (here the Book weight) with
409
410 \verb|\setmainfont[CharacterVariant=1]{NewCM10-Book.otf}|
411
412 To load the same font with the dlig table enabled use
413
414 \verb|\setmainfont[RawFeature=+dlig]{NewCM10-Book.otf}|
415
416 and to load the font with endings variations use
417
418 \verb|\setmainfont[CharacterVariant=2]{NewCM10-Regular.otf}|
419
420 Of course the above can be mixed separating the optional arguments with comma,
421 or one can define a custom font say by using
422
423 \verb|\newfontfamily\myfont[<options to enable>]{NewCM10-Book.otf}|
424
425 \begin{center}
426 \begin{tabular}{c|c|c|c}
427 Book & k & a e m n r & sp ch ck ct st il\\ \hline
428 cv01 & {\newcmaltk k} & & \\ \hline
429 cv02 & & {\newcmaltendings a e m n r} & \\ \hline
430 dlig & & & {\newcmdlig sp ch ck ct st il}
431 \end{tabular}
432 \end{center}
433
434 \subsection{Oldstyle numbers}
435
436 Typically oldstyle numbers are available in \verb|onum| Lookup
437 and with the \verb|\textsc| if \verb|fontsetup| is loaded.
438 Also available they are with \verb|\oldstylenums|.
439 There are two series, one is with variable widths and one with
440 fixed width for use in tables. The code
441
442 \begin{verbatim}
443 \oldstylenums{0123456789}\addfontfeatures{Numbers=Tabular}
444 \textsc{0123456789}
445 \end{verbatim}
446 gives
447
448 \oldstylenums{0123456789}\addfontfeatures{Numbers=Tabular}
449
450 \textsc{0123456789}\addfontfeatures{Numbers=Proportional}
451
452 \medskip
453
454 \noindent An alternative design is also provided for the number 1 in cv06.
455 The code
456
457 \begin{verbatim}
458 \oldstylenums{0123456789}\addfontfeatures{CharacterVariant=6}
459 \oldstylenums{0\textcolor{red}{1}23456789}
460 \addfontfeatures{CharacterVariant=6,Numbers=Tabular}
461 \oldstylenums{0\textcolor{red}{1}23456789}
462 \end{verbatim}
463 gives
464
465
466 \oldstylenums{0123456789}\addfontfeatures{CharacterVariant=6}
467
468 \oldstylenums{0\textcolor{red}{1}23456789}\addfontfeatures{CharacterVariant=6,Numbers=Tabular}
469
470 \oldstylenums{0\textcolor{red}{1}23456789}
471
472
473
474
475 \subsection{Old Italic}
476
477 The fonts also fully support the Old Italic Unicode block
478 (U+10300--U+1032F) in the Sans font. For example, the slots
479 U+10307, U+10310, U+10312, U+10314, U+1031F and U+1032F are
480 {\sffamily\char"10307\char"10310\char"10312\char"10314\char"1031F\char"1032F}.
481
482 \subsection{Diacritics Stacking}
483 \marginpar{\begin{center} \ \\[-1cm]
484 {\color{red}$\rightarrow$}\ \xstacked\quad{\sffamily\xstacked}\quad{\ttfamily\xstacked}\ {\color{red}$\leftarrow$}
485 \end{center}}
486 Diacritics---the full block U+0300 to U+036F---and diacritics stacking
487 is supported.
488 In the margin you can see an example of stacking on the letter ``x'' in Roman, Sans and Mono.
489 If you need to enter
490 these accents you can use the \verb|\char| command or just copy-paste from the following line
491 (from this pdf file or the provided source \TeX\ file):
492 \begin{center}
493 \textit{Some} of the upper accents\\[1ex]
494 {\Large ̀\quad ́\quad ̂\quad ̃\quad ̄\quad ̅\quad\quad ̆\quad ̇\quad ̈\quad ̉\quad ̊\quad ̋}\\
495 {\Large ̌\quad ̍\quad ̎\quad ̏\quad ̑\quad ̓\quad ̔\quad ̽\quad ̾\quad ̚\quad ͆\quad ͝\quad ͠\quad ͡}\\
496 \textit{Some} of the lower accents\\
497 {\Large ̧\quad ̖\quad ̗\quad ̘\quad ̙\quad ̜\quad ̝\quad ̞\quad ̟\quad ̠\quad ̣\quad ̤\quad ̥\quad ̦}\\
498 {\Large ̩\quad ̪\quad ̫\quad ̬\quad ̭\quad ̮\quad ̯\quad ̰\quad ̱\quad ̲\quad ̹\quad ̺\quad ̻\quad ̼\quad ͇\quad ͈\quad ͉\quad ͍}
499 \end{center}
500 Please note that stacking is by default supported with xetex. With luatex
501 you have to add the option \texttt{Renderer=HarfBuzz}, say by
502
503 \noindent\verb|\addfontfeatures{Renderer=HarfBuzz}|
504
505 \noindent however this will probably affect hyphenation.
506
507 Also notice that your text editor may not support stacking. The editor may show the
508 accents one after the other, but the pdf produced by xetex or luatex will have the accents stacked.
509
510 \subsubsection{Coloring diacritics}
511
512 If one wants to use color for diacritics, different from the color of the base character
513 this does not work with \XeLaTeX\ (the commands of the \verb|color| package
514 break the stacking mechanism). It works though with \LuaLaTeX\ using the \verb|luacolor|
515 package. However, there is a problem when the base glyph and the first diacritic above
516 exist in the font as a precomposed character. For example, this is the case
517 with aacute (á) (U+00E1). Such characters are treated as one by Lua and they can not
518 be colorized with different colors. A work around is to place the empty character U+034F
519 between ``a'' and acute (U+0301). So the following minimal example
520 produces the result below:
521
522 \begin{verbatim}
523 \documentclass{article}
524 \usepackage[olddefault]{fontsetup}
525 \usepackage{luacolor}
526 \pagestyle{empty}
527 \newfontfamily{\ncmtest}[Renderer=Harfbuzz]{NewCM10-Regular.otf}
528 \definecolor{orange}{RGB}{255,191,0}
529 \definecolor{colorone}{RGB}{91,0,250}
530 \definecolor{colortwo}{RGB}{250,0,121}
531 \definecolor{colorthree}{RGB}{0,204,250}
532 \definecolor{colorfour}{RGB}{14,250,0}
533 \definecolor{colorfive}{RGB}{255,150,0}
534 \definecolor{colorgray}{gray}{0.8}
535 \newcommand{\emptydiacritic}{\char"034F}
536 \begin{document}
537 \Huge
538 {\ncmtest \color{colorgray}a\color{colorfour}̖\color{colortwo}̗%
539 \emptydiacritic\color{colorthree}́ \color{colorone}̀ \color{colorfive}̐ }
540 \end{document}
541 \end{verbatim}
542
543 \vspace{-5.5cm}
544
545
546 \null \hfill\includegraphics[scale=2]{colored-diacritics.pdf}
547
548
549 \vspace{2cm}
550
551
552 \section{Greek}
553
554
555 The full Unicode Greek block is supported, which is
556 \begin{itemize}
557 \item U+0370--U+03FF for monotonic, where missing glyphs, such as Heta (Ͱ),
558 Pamphilian digamma (ͷ) etc, have been added. For example, it is now possible to write
559
560 \centerline{βιϐλίο instead of βιβλίο.}
561
562 In order to auto select this conversion for middle beta and theta the StylisticSets
563 \verb|ss06| and \verb|ss07| must be enabled with, say,
564
565 \noindent\verb|\addfontfeatures{StylisticSet=6,StylisticSet=7}|
566
567 \textit{Important}: if you add font features like the above in the preamble you need to set them
568 with \verb|\AddToHook{begindocument/end}|. So in the preamble you must have
569
570 \begin{verbatim}\AddToHook{begindocument/end}{%
571 \addfontfeatures{StylisticSet=6,StylisticSet=7}}
572 \end{verbatim}
573
574 To disable this feature
575 you can do
576
577 \noindent\verb|\addfontfeature{RawFeature={-ss06},RawFeature={-ss07}}|
578
579 Notice also that the original Beccari fonts for Greek used only the open theta
580 {\greekalts θ}. However, this violates the Unicode standard description for this
581 glyph which proposes the closed theta θ. If you want the original behavior
582 you need to enable \verb|ss06|.
583
584
585 \begin{center}
586 \begin{tabular}{|c|c|c|} \hline
587 \texttt{Source} & \texttt{βιβλίο} & \texttt{θυμήθηκα}\\ \hline
588 \texttt{ss06} enabled & {\greekalts βιβλίο} & {\greekalts θυμήθηκα}\\ \hline
589 \texttt{ss06} and \texttt{ss07} enabled & {\middlegreekon βιβλίο}& {\middlegreekon θυμήθηκα}\\ \hline
590 \texttt{ss06} and \texttt{ss07} disabled & βιβλίο & θυμήθηκα \\ \hline
591 \end{tabular}
592 \end{center}
593
594
595 \item U+1F00--U+1FFF for polytonic, and
596 \item U+10140--U+1018F for ancient Greek numbers.
597 \end{itemize}
598
599
600 \begin{theorem}[Πυθαγόρειον]
601 Ἐν τοῖς ὀρθογω\-νί\-οις τριγώνοις τὸ ἀπὸ τῆς τὴν ὀρθὴν γωνίαν ὑπο\-τει\-νού\-σης πλευρᾶς
602 τετράγωνον ἴσον ἐστὶ τοῖς ἀπὸ τῶν τὴν ὀρθὴν\hspace{-1pt} γωνίαν περιεχουσῶν πλευρῶν τετραγώνοις.
603 \end{theorem}
604
605
606 Small Caps is included (in Mono font too) and all polytonic accents of Greek.
607 Ypogegrammeni is the default for all characters including Small Caps and prosgegrammeni
608 is offered as an alternative shape in the \texttt{ss01} lookup table:
609 \begin{center}
610 \begin{tabular}{c|c|c}
611 & ypogegrammeni & prosgegrammeni\\ \hline
612 regular & ᾋ ᾟ ᾯ \textsc{ᾳῃῳ} & {\textprosgegrammeni{ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}}}\\ \hline
613 sans &{\sffamily ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}} & {\sffamily{\textprosgegrammeni{ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}}}}\\ \hline
614 mono & {\ttfamily ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}} & {\ttfamily{\textprosgegrammeni{ᾋ ᾟ ᾯ \textsc{ᾳῃῳ}}}}
615 \end{tabular}
616 \end{center}
617 The prosgegrammeni alternates can be accessed with
618
619 \medskip
620
621 \verb|\textprosgegrammeni{<text>}|
622
623 \noindent or the
624
625 \verb|{\prosgegrammeni <text>}|
626
627 \medskip
628
629 \noindent of the \texttt{fontsetup} package.
630
631 \subsection{Other character variants}
632
633 Guillemets (left and right) have a different shape for Greek. For this to work
634 the fonts must be loaded with the cv04 character variant.
635
636
637 Compare the default guillemets: «» with Greek guillemets:
638 \textlang{greek}{\newcmgreekguillemets «»}.
639
640 There is a serious problem with Unicode and the Greek anoteleia (U+0387); the Greek semicolon.
641 Unicode ``thinks'' that this character is the same with periodcentered (U+00B7). This influences
642 the way keyboards are configured by several vendors such as xorg. Anoteleia
643 is a dot written at x-height and not at 1/2 the x-height as the periodcentered.
644 Although Unicode recognizes the problem\footnote{personal communication}, althought
645 they recognize that with their current standard you can not correctly write the Greek language,
646 they refuse to fix it, justifying it by saying the magical words ``backwards compatibility''
647 (to a \ldots{}mistake, one could add).
648
649 NewComputerModern can not allow this, as it defies the purpose of its
650 existence, which is to properly write every supported language. So
651 enabling the CharacterVariant 04 (cv04) in addition to correct
652 guillemets for Greek it maps periodcentered (produced by the keyboards
653 (in Greek Linux keyboards by AltGr+q) to proper anoteleia.
654
655 It also fixes a long standing issue with the Greek apostrophe (᾽)(U+1FBD) which
656 is not the same with quoteright (’)(U+2019). U+1FBD named as ``Greek Koronis''
657 by Unicode is the proper character.
658
659 Another problem that has to do with
660 quotes inside quotes. The internal quotes in Greek should be written with
661 the characters quotedblleft and quotedblbase\footnote{Μανόλης Τριανταφυλλίδης, \textit{Νεοελληνική Γραμματική της δημοτικής}, Ανατύπωση της έκδοσης του \textsc{οεσβ 1941} με διορθώσεις, Θεσσαλονίκη \textsc{2002}, σελ.~\textsc{66}, ενότητα~\textsc{133}.}. For example, this is correct for Greek
662 \begin{center}
663 {\newcmgreekguillemets «άλφα \leftgrquotes βήτα\rightgrquotes»}
664 \end{center}
665 But the keyboards only produce quotesingle which is already mapped to apostrophe
666 and it is difficult to remember the names ``quotedblleft'' and ``quotedblbase''.
667 So when enabling cv04 one can define the commands
668
669 \verb|\newcommand\leftgrquotes{\char"201C}| %{\char"2018}
670
671 \noindent and
672
673 \verb|\newcommand\rightgrquotes{\char"201E}| %{\char"2019}
674
675 \noindent for the rare case one needs quotes inside quotes. The \verb|fontsetup| package
676 does this automatically for Greek if the \verb|xgreek| package has been loaded \textit{before}
677 the \verb|fontsetup| package or when the language is set to Greek by, say, the Babel package.
678 Otherwise, for non-Greek documents with small passages of Greek,
679 the author may enable \verb|cv04| by creating a custom command such as
680
681 \verb|\newfontfamily\propergreek[CharacterVariant=4]{NewCM10-Book.otf}|
682
683
684 A phrase with Greek quotes inside quotes, proper anoteleia, and proper apostrophe is
685
686 \begin{center}
687 {\newcmgreekguillemets «φώναζε: \leftgrquotes απ' έξω την προπαίδεια\rightgrquotes»· σαν εκδίκηση ακουγόταν\ldots}
688 \end{center}
689
690 \subsection{Prosodic symbols}
691
692 In Greek philology and in linguistics it is often needed to stack accent-type symbols above letters,
693 even if they are not vowels. Although rare in writings, it is for example valid to place dieresis
694 over the consonants π, τ and κ of the nasal complexes μπ, ντ, γκ
695 when it is necessary to show that these are pronounced, as written, voiceless, and not voiced.
696 For example,
697 \begin{center}
698 κομπ̈ρέσα, \quad αντιαντ̈αντ̈ικός, \quad ελεγκ̈τής
699 \end{center}
700 (see previous footnote). The fonts support this writing if a combining dieresis is placed after
701 the letter to receive it. The combining dieresis is the character U+0308. On Linux desktops this is
702 easily entered pressing Alt+Control+u, release them, and type the sequence 0308 and space.
703
704 More than that, in linguistics, they need to combine several accents above Greek letters. All this
705 stacking of accents is supported by the fonts. For example, one can write
706 \begin{center}
707 ᾱ῏\quad ε᾿῀\quad Ἀ̆ \quad Ἆ̄ \quad ῼ᾿῀\quad ᾱ΄\quad Χ̆᾿\quad ῑ̈΄
708 \end{center}
709 by placing the combining accents from the Unicode block U+0300--U+0362 plus the usual Greek accents
710 \textit{after} the letter.
711 So the above was typed as
712 \begin{center}
713 {\ttfamily α ̄\hspace*{-5pt} ῏\qquad ε\hspace*{-5pt} ᾿ ῀\qquad Ἀ ̆ \quad Ἆ ̄ \qquad ῼ\hspace*{-5pt} ᾿ ῀\qquad α ̄\hspace*{-5pt} ΄\qquad Χ ̆\hspace*{-5pt} ᾿\qquad ι ̄ ̈\hspace*{-5pt} ΄}
714 \end{center}
715
716 \section{Greek Sans}
717
718 The Greek Sans in previous releases of New Computer Modern was largely
719 inherited from earlier designs and had not been systematically
720 re-evaluated under modern usage conditions, in particular mixed
721 Latin–Greek documents, dense mathematical text, and projected
722 presentations (\emph{beamer}). As a result, several long-standing
723 issues were present: uneven paragraph color compared to Latin Sans,
724 excessive local darkness in round letters (notably σ, θ,
725 ω), inconsistent behavior of diacritics at small sizes, and
726 reduced robustness under low-resolution projection. While these issues
727 were often tolerable in print, they became clearly visible in
728 contemporary workflows that rely on screen reading and projection.
729
730 The redesigned Greek Sans included in this release is a ground-up
731 revision that preserves the spirit and proportions of the original
732 design while carefully rebalancing stroke weight, junctions, and
733 counters to achieve uniform paragraph color and stable interaction
734 with Latin Sans. Particular attention was paid to round and semi-round
735 letters, final sigma, capital forms, and the full system of monotonic
736 and polytonic diacritics, with extensive testing in mixed-script text,
737 mathematical environments, and real projector conditions. The result
738 is a Greek Sans that integrates naturally with Latin Sans, remains
739 calm and legible in dense academic material, and is robust in
740 presentation settings, without sacrificing typographic discipline or
741 historical continuity.
742
743
744 \subsection{Archaic Greek writing}
745 The Sans Serif Regular font provides access to 6th century bce and 4th century bce Greek capitals
746 in ss04 and ss03 lookups. The \texttt{fontsetup} package provides commands such as\begin{center}
747 \verb|\textivbce{}|, \verb|\ivbce|, \verb|\textvibce{}| and \verb|\vibce|
748 \end{center}
749 %to access them if loaded
750 %with the \verb|[default]| or \verb|[olddefault]| option.
751 \begin{center}
752 \begin{tabular}{c}
753 6th century bce:\\ \hline
754 \textvibce{ΜΗΔΕΙΣ ΑΓΕΩΜΕΤΡΗΤΟΣ ΕΙΣΙΤΩ}\\ \hline\hline
755 4th century bce:\\ \hline
756 \textivbce{ΜΗΔΕΙΣ ΑΓΕΩΜΕΤΡΗΤΟΣ ΕΙΣΙΤΩ}
757 \end{tabular}
758 \end{center}
759 Moreover, all fonts (except Mono \&\ Math) support Ancient Greek
760 Numerals (the full Unicode block of Greek digits U+10140--U+1018E is supported),
761 with most symbols designed from scratch (and did not exist in C. Beccari's original fonts).
762 A few of the new symbols:
763 \begin{center}
764 𐅋𐅌𐅍𐅏𐅯𐅴𐆉
765 \end{center}
766 The four numerals that already existed in
767 this range (that is U+10144--U+10147) in Beccari's fonts have been altered to a new
768 design matching the style of cm but also provide some Ancient Greek flair.
769 The new designs in Serifed and SansSerifed are:
770 \begin{center}
771 𐅄𐅅𐅆𐅇 \quad \textsf{𐅄𐅅𐅆𐅇}
772 \end{center}
773 The \texttt{fontsetup} package provides commands for all of the above symbols.
774 The commands follow the Unicode name of each slot (minus the ``Greek Acrophonic'').
775 So the Unicode slot U+1014F named ``Greek Acrophonic Attic Five Staters'' can be accessed
776 with the command \verb|\atticfivestaters| and it gives \atticfivestaters; and the
777 slot U+10182 named ``Greek Kyathos Base Sign'' can be accessed with the command
778 \verb|\greekkyathosbasesign| and it gives \greekkyathosbasesign.
779
780
781 \subsection{Aegean Numbers}
782 Aegean numbers are supported in the Sans fonts and their slots are defined in \verb|fontsetup|
783 package using commands of the form \verb|\aegeanXXXX| where \verb|XXXX| is the Unicode name
784 of the character (without spaces).
785 A few examples are:
786 \begin{center}
787 \aegeanseven\quad
788 \aegeanfivehundred\quad
789 \aegeanfourthousand\quad
790 \aegeanfiftythousand\quad
791 \aegeanweightbaseunit\quad
792 \aegeanweightfirstsubunit\quad
793 \aegeanweightsecondsubunit\quad
794 \aegeanweightthirdsubunit\quad
795 \aegeanweightfourthsubunit\quad
796 \aegeandrymeasurefirstsubunit\quad
797 \aegeanliquidmeasurefirstsubunit\quad
798 \aegeansecondsubunit\quad
799 \aegeanthirdsubunit
800 \end{center}
801 and the whole table of Aegean Numbers with the commands to access the glyphs
802 is shown on page \pageref{AegeanNumbers}.
803
804
805
806
807 \subsection{Support for Papyrology}
808 Papyrology needs to declare that a glyph is missing from the papyrus or
809 the papyrus is worn out at this point and the papyrologist adds the missing glyph
810 but it is not clear from the papyrus. This is done by adding a dot below the glyph
811 and it is supported for all Greek glyphs in the upright fonts monotonic or polytonic:
812 \begin{center}
813 {\Large Α̣\quad Ἆ̣\quad ᾞ̣\quad ἇ̣\quad ᾦ̣\quad ῥ̣}
814 \end{center}
815 where in the source we just typed the dot below (char U+0323) after the glyph.
816 This feature is supported for the 4th bce and 6th bce Greek in Sans:
817 \begin{center}
818 \textvibce{\Large Γ̣Ε̣Ω̣Μ̣Ε̣Τ̣Ρ̣Ι̣Α̣}
819 \quad\quad\textivbce{\Large Γ̣Ε̣Ω̣Μ̣Ε̣Τ̣Ρ̣Ι̣Α̣}
820 \end{center}
821 More support for papyrology is available. Check Section~\ref{phextsupp}.
822
823
824 \subsection{Support for Chemistry}
825 It happens often that Greek upright characters are needed in Chemistry. People often
826 have trouble with this (and this is why packages such as \texttt{chemgreek} exist).
827 If Greek keyboard is available then it is easy; you just type in Greek, say
828 \texttt{β-glucan} to get ``β-glucan''.
829 But many writers do not have the Greek keyboard enabled, and they do not need to.
830 Usually they type \verb|$\beta$-glucan| but the result ``$\beta$-glucan'' is not satisfying.
831 One can use the ``up'' versions typing \verb|$\upbeta$-glucan| but still the result
832 ``$\upbeta$-glucan'' looks more Math than Chemistry.
833 To help with this, the \texttt{fontsetup} package provides commands such as \verb|\chemAlpha|,
834 \verb|\chemalpha|, \verb|\chemBeta|, \verb|\chembeta|, etc. So this information essentially would
835 only belong to the \verb|fontsetup| documentation if it was not for kappa and rho. If we type
836 in Greek \texttt{κ-compound} we get ``κ-compound'' which is not satisfying, as kappa is too
837 cursive for this use. So the NewCM family provides an alternative kappa for this reason
838 and this is how \verb|\chemkappa| is defined in \verb|fontsetup|:
839
840 \verb|\newcommand{\chemkappa}{\textrm{\char"03F0}}|:
841 \begin{center}
842 We write \verb|\chemkappa-compound| and now get ``\chemkappa-compound''.
843 \end{center}
844 (The \verb|\textrm| command in the above definition is there to make the command work
845 in math mode too.)
846 Similar is the situation for \verb|\chemrho| (\chemrho) and \verb|\chemrhoalt| (\chemrhoalt).
847
848 Especially for Chemistry notice that the MathFonts contain the ``reaction arrows'',
849 that is U+1F8D0--U+1F8D4 ($🣐, 🣑, 🣒, 🣓, 🣔$),
850 unsuccesful reaction arrows U+1F8D6 ($🣖$)
851 and U+1F8D7 ($🣗$)
852 and the isolobal arrow U+1F8D8 ($🣘$).
853 You can directly type these symbols in MathMode (consult your editor manual on how to do this).
854 or create commands such as
855 %\Umathchardef\isolobalarrow = "0 "0 "1F8D0
856 % \newcommand\isolobalarrow{\symmathchar"1F8D0}
857 % $\isolobalarrow$
858
859 \verb|\Umathchardef\isolobalarrow = "0 "0 "1F8D8|
860
861 \noindent and then use \verb|$\isolobalarrow$|
862
863
864
865 \section{Cyrillic}
866
867 The NewComputerModern font family includes full support for the
868 modern Cyrillic alphabet. The implementation is intended for academic
869 typesetting and therefore aims at typographic compatibility with the Latin
870 and Greek components of the family. Particular care has been taken to ensure
871 consistent stroke weight, proportions, and text color across scripts, so
872 that multilingual documents remain visually harmonious.
873
874 The Cyrillic repertoire covers the standard alphabets used in Russian,
875 Bulgarian, Ukrainian, Serbian, and North Macedonian.
876
877 \subsection{Bulgarian Localized Forms}
878
879 Bulgarian typographic tradition uses distinct shapes for several lowercase
880 letters that differ from the forms commonly used in Russian typography.
881 NewCM provides these forms through the OpenType \texttt{locl} feature.
882 When the Bulgarian language is selected via a language-aware package
883 (for example \texttt{polyglossia} or \texttt{babel}), the appropriate
884 glyph substitutions are applied automatically.
885
886 The following five letters have Bulgarian-specific designs:
887
888 \begin{center}
889 \begin{tabular}{c|c}
890 Default Cyrillic & Bulgarian forms \\
891 \hline
892 {\LARGE б\ г\ д\ п\ т} & {\LARGE\selectlanguage{bulgarian}б\ г\ д\ п\ т} %\\
893 %г & {\selectlanguage{bulgarian}г} \\
894 %д & {\selectlanguage{bulgarian}д} \\
895 %п & {\selectlanguage{bulgarian}п} \\
896 %т & {\selectlanguage{bulgarian}т} \\
897 \end{tabular}
898 \end{center}
899
900 These alternate forms affect only the lowercase alphabet. Uppercase letters
901 are common across Cyrillic typographic traditions and therefore remain
902 unchanged.
903
904 \subsection{Small Capitals}
905
906 The NewCM Cyrillic implementation also includes small capitals.
907 These are designed to match the proportions and weight of the Latin
908 small capitals in the family, allowing consistent typographic hierarchy
909 in multilingual documents.
910
911 Small caps are accessed in the usual way via font features. For example:
912
913 \begin{verbatim}
914 \addfontfeatures{Letters=SmallCaps}
915 \end{verbatim}
916
917 or with the standard \LaTeX\ command
918
919 \begin{verbatim}
920 \textsc{текст на кирилица}
921 \end{verbatim}
922
923 The Cyrillic small capitals follow the same design principles as the Latin
924 ones: slightly increased letterspacing and carefully adjusted stroke weight
925 ensure that they remain legible and visually balanced in continuous text.
926
927 \subsection{Example}
928
929 The following example illustrates Cyrillic text with Bulgarian localization
930 and small capitals:
931
932
933
934 {\selectlanguage{bulgarian}Това е примерен текст на кирилица.}
935
936 \textsc{Български текст със малки главни букви.}
937
938 {\cyrsans
939 {\selectlanguage{bulgarian}\cyrsans Това е примерен текст на кирилица.}
940
941 \textsc{\cyrsans Български текст със малки главни букви.}
942 }
943
944
945 The result demonstrates the integration of Cyrillic glyphs within the
946 typographic system of the NewCM family.
947
948
949 \begin{verse}
950 Я помню чудное мгновенье:\\
951 Передо мной явилась ты,\\
952 Как мимолетное виденье,\\
953 Как гений чистой красоты.\\
954 \hspace{3cm}(Пушкинъ)
955 \end{verse}
956
957
958 \bigskip
959
960 Again, as in Greek there is a different kind of guillemets for Cyrillic which are available
961 in CharacterVariant 3 (cv03). Compare:
962 \begin{center}
963 Defaults guillemets: «» \quad Cyrillic guillemets: {\newcmrussianguillemets «»}\quad Greek guillemets: {\newcmgreekguillemets «»}
964 \end{center}
965 Same is the situation with Cyrillic emdash which is shorter than the default:
966 \begin{center}
967 \begin{tabular}{rl}
968 Default emdash: & ---\\
969 Cyrillic emdash: & {\newcmrussianguillemets ---}
970 \end{tabular}
971 \end{center}
972
973
974 \subsection{Design Principles}
975
976 The Cyrillic component of NewCM has been designed with the same
977 typographic philosophy that guides the Latin and Greek parts of the
978 family. The goal is not only to provide Unicode coverage, but to ensure
979 that Cyrillic text integrates naturally within documents that mix
980 multiple scripts, as is common in academic publications.
981
982 Several aspects were considered during the design process. First, the
983 overall proportions and x-height were aligned with the Latin alphabet so
984 that line rhythm remains consistent when the scripts appear together.
985 Second, the stroke modulation and contrast were calibrated to match the
986 visual weight of the surrounding Latin and Greek glyphs. This ensures a
987 uniform typographic ``color'' across multilingual paragraphs.
988
989 Particular attention was given to letters that typically dominate the
990 texture of Cyrillic text, such as \textit{ш}, \textit{щ}, \textit{ж},
991 and \textit{ф}. Their internal counters and stroke distribution were
992 carefully balanced so that dense sequences remain readable even at
993 smaller sizes.
994
995 The Bulgarian localized forms were implemented following modern
996 typographic practice and are derived from the cursive structures
997 traditionally used in Bulgarian typesetting. Their design was adapted
998 to the stylistic character of the NewCM family so that the localized
999 forms remain compatible with the rest of the typeface while preserving
1000 their distinctive identity.
1001
1002 Finally, the Cyrillic small capitals were developed to match the Latin
1003 small-cap system of NewCM. Their proportions, stroke thickness, and
1004 spacing were adjusted to produce a consistent appearance in headings,
1005 running text, and scholarly apparatus such as abbreviations or
1006 bibliographic references.
1007
1008 These design choices aim to make the NewCM Cyrillic extension suitable
1009 for demanding academic applications, including multilingual scientific
1010 publications, lecture notes, and typographically complex mathematical
1011 documents.
1012
1013
1014 \section{Hebrew}
1015 \noindent The Hebrew blocks U+0590--U+05FF and Hebrew Presentation forms
1016 U+FB1D--U+FB4F are fully covered. A few letters from Hebrew:
1017 \begin{center}
1018 אבגדהושׁשּׂלּצּ
1019 \end{center}
1020
1021 \section{Coptic and Epact Numbers}
1022 \noindent The Coptic language is fully supported. This covers the Coptic blocks
1023 in the Greek and Coptic Unicode
1024 block (U+03E2--U+03EF), the full Coptic Unicode block (U+2C80--U+2CFF) and the Coptic Epact Numbers
1025 (U+102E0--U+102FF).
1026 A few letters from Coptic and Epact numbers follow:
1027 \begin{center}
1028 ⲗⲟⲅⲟⲥ ⲛ̀ⲁⲓⲅⲩⲡⲧⲓⲟⲥ \quad 𐋡 𐋢 𐋣 𐋤 𐋥
1029 \end{center}
1030
1031
1032
1033
1034 \section{Cherokee}
1035 Both Unicode blocks
1036 U+13A0--U+13FF and U+AB70--U+ABBF for Cherokee are supported.
1037 % A few letters are:
1038 %\begin{center}
1039 % ᎣᎤᎹᏊᏐ ꭳꭴꭷꮂꮔꮿ
1040 %\end{center}
1041 The samples below were kindly provided by Sedi Eastwood:
1042
1043 \medskip
1044
1045 \noindent Sample 1:
1046 \begin{center}
1047 \begin{tabular}{ll}
1048 \begin{minipage}{5cm} ᎬᏣᎵᏨᏗᏣᏓᏲᎯᏍᏗ ᎢᏤᎮᏍᏗ\\
1049 \textsf{ᎬᏣᎵᏨᏗᏣᏓᏲᎯᏍᏗ ᎢᏤᎮᏍᏗ}
1050 \end{minipage}
1051 &
1052 \begin{minipage}{6cm}
1053 Live/exist in a manner that there is never a reason or purpose to let go of one another.\\
1054 (gvjalijvdijadayohisdi ijehesdi\\
1055 \hphantom{(}gvtsalitsvditsadayohisdi itsehesdi)
1056 \end{minipage}
1057 \end{tabular}
1058 \end{center}
1059
1060
1061 \medskip
1062
1063 \noindent Sample 2:
1064 \begin{center}
1065 \begin{tabular}{ll}
1066 \begin{minipage}{4cm} ᏕᏣᏓᎨᏳᏎᏍᏗ\\ \textsf{ᏕᏣᏓᎨᏳᏎᏍᏗ}
1067 \end{minipage}
1068 &
1069 \begin{minipage}{6cm}
1070 Value the existence of one another.\\
1071 (dejadageyusesdi\\
1072 \hphantom{(}detsadageyusesdi)
1073 \end{minipage}
1074 \end{tabular}
1075 \end{center}
1076
1077 \medskip
1078
1079 \noindent Sample 3:
1080 \begin{center}
1081 \begin{tabular}{ll}
1082 \begin{minipage}{4cm} ᎥᎵᏍᎨᏗ ᏕᏣᏓᏰᎸᏎᏍᏗ\\ \textsf{ᎥᎵᏍᎨᏗ ᏕᏣᏓᏰᎸᏎᏍᏗ}
1083 \end{minipage}
1084 &
1085 \begin{minipage}{6cm}
1086 Think of one another as sacred or hold the existence of others sacred.\\
1087 (vlisgedi dejadayelvsesdi)
1088 \end{minipage}
1089 \end{tabular}
1090 \end{center}
1091
1092
1093 \section{Canadian Aboriginal Syllabics}
1094
1095 \newfontfamily{\textsfca}[BoldFont=NewCMSans10-Bold.otf,%
1096 ItalicFont=NewCMSans10-BookOblique.otf]{NewCMSans10-Book.otf}
1097
1098 Canadian Aboriginal Syllabics are supported in the sans font.
1099 The full Unicode blocks are covered, which are
1100 U+1400--U+167F, U+18B0--U+18F5, and U+11AB0--U+11ABF.
1101
1102 Some examples in Blackfoot Siksiká:
1103
1104 \noindent Blackfoot-speaking real people: {\textsfca ᖹᐟᒧᐧᒣᑯ}
1105 Siksiká: {\textsfca ᓱᖽᐧᖿ}\\
1106 Siksikáíʼpowahsin: {\textsfca ᓱᘁᓱᘁᖳᐟᑲᖷᑊᓱᐡ} In bold: {\textsfca\bfseries ᓱᘁᓱᘁᖳᐟᑲᖷᑊᓱᐡ}\\
1107 Niitsipowahsin: {\textsfca ᖹᐨᓱᑲᖷᑊᓱᐡ} In oblique: {\textsfca\itshape ᖹᐨᓱᑲᖷᑊᓱᐡ}
1108
1109 \medskip
1110
1111 Some more in Cree:
1112
1113 \begin{tabular}{l|l}
1114 \begin{minipage}{5.5cm}
1115 \noindent{\textsfca ᐌᐘᑯ ᐅᒪ ᐊᓯᓂᐏᒣᓂᑲᐣ ᑭᒥᓇᐘᐠ}\\
1116 {\textsfca ᐃᓂᓂᐘᐠ ᒪᓂᑐᐸ ᑲᐊᔭᒋᐠ᙮ ᐁᐘᑿᓂᐠ ᐅᑭ}\\
1117 {\textsfca ᑲᓄᒋᐦᑕᒋᐠ ᐊᓯᓂᐏᐊᑐᐢᑭᐃᓂᓂᐤ ᑲᑭᒥᓂᐦᒋᐠ}\\
1118 {\textsfca ᐅᒣᓂᐤ᙮ ᐊᑿᓂ ᒥᑕᐦᑐᒥᑕᓇᐤ ᐊᐢᑭᐩ ᐊᓴᐩ}\\
1119 {\textsfca ᐁᐊᑐᐢᑫᒋᐠ ᐅᑕ ᒪᓂᑐᐸ᙮}
1120 \end{minipage}
1121 &
1122 \begin{minipage}{4.8cm}
1123 {\sffamily The masonry for the wall through time
1124 has been given to people of Manitoba
1125 by the international union of bricklayers
1126 and allied craftsmen local one Manitoba
1127 to commemorate 100 years of service, by
1128 Manitoba masonry contractors and by Manitoba
1129 masonry suppliers.}
1130 \end{minipage}
1131 \end{tabular}
1132
1133
1134
1135 \section{Devanagari}
1136
1137 Devanagari script is supported for the serifed font in Regular (10pt/8pt), Book (10pt/8pt),
1138 and Bold (10pt). The fonts support Hindi (as the default), Sanskrit, Marathi and Nepali Languages.
1139 The optional arguments for the \verb|fontspec| font-selection mechanism
1140 must include
1141
1142 \noindent \verb|Script=Devanagari, Language=XXXX| where \verb|XXXX|
1143 must be replaced with one of \verb|Hindi|, \verb|Sanskrit|, \verb|Marathi|, \verb|Nepali|.
1144 If the \verb|Language| parameter is not set then the default is \verb|Hindi|.
1145 For \LuaLaTeX\ the parameter \verb|Renderer=Harfbuzz| must also be included.
1146
1147 So if say Marathi is needed as the default font document then one can use the following:
1148 \begin{verbatim}
1149 \usepackage{fontspec}
1150 \setmainfont[Script=Devanagari, Language=Marathi,%
1151 Renderer=Harfbuzz]{NewCM10Devanagari-Book.otf}
1152 \end{verbatim}
1153
1154
1155 The Devanagari fonts were developed with the help of {\devanagaritext निरंजन} (Niranjan)
1156 whose name appears in the copyright section of the fonts and I also thank him for
1157 providing the samples below. It should also be noted that the design is original
1158 and based on old handwritten books. In old civilizations, such as the Indian one,
1159 it is only natural that the design be affected by how the handwritten
1160 books look. Ink creates ``drop''-like serifs on paper that absorbs it, and the
1161 tool used to write also affects the look of the script. All these were taken into account.
1162
1163
1164 \noindent A Sanskrit sample from {\sanskrittext बृहदारण्यकोपनिषद्} (bṛhadāraṇyakopaniṣad) follows:
1165
1166
1167 \begin{center}
1168 \fbox{\begin{minipage}{9cm}
1169 {\hinditext
1170 ॐ पूर्णमदः पूर्णमिदं, पूर्णात्पूर्णमुदच्यते।\\
1171 पूर्णस्य पूर्णमादाय पूर्णमेवावशिष्यते॥
1172 }
1173
1174 \medskip
1175
1176 That\footnote{the outer world} is complete;\\
1177 this\footnote{the inner world} too is complete.\\
1178 From one complete comes the other. Taking out\\
1179 one complete from the other too results in a complete.
1180 \end{minipage}}
1181 \end{center}
1182
1183
1184 \noindent Next is a beautiful part of a poem in Marathi
1185 by {\marathitext तुकाराम} (Tukaram) and its translation:
1186
1187 \medskip
1188
1189 \hspace*{-3cm}\begin{tabular}{l|l}
1190 {\begin{minipage}{\widthof{\marathitext त्यांसि म्हणे जो आपुलें॥ १ ॥}}
1191 {\marathitext
1192 %\noindent\begin{verse}
1193 जें कां रंजलें गांजलें।\\
1194 त्यांसि म्हणे जो आपुलें॥ १ ॥\\
1195 तो चि साधु ओळखावा।\\
1196 देव तेथें चि जाणावा॥
1197 %\end{verse}
1198 }
1199 \end{minipage}}
1200 &
1201 \begin{minipage}{12cm}
1202 %\begin{verse}
1203 Only the one who treats the downtrodden people equally is a sage\footnote{\ ``The wise'' of course, not the plant.}.\\
1204 One may sense the essence of god there.\\
1205 %\end{verse}
1206 \end{minipage}
1207 \end{tabular}
1208
1209
1210 \bigskip
1211
1212 Devanagari Unicode letters (range U+0900--U+097F) are also available as variables (letters) and
1213 numbers in the Regular and Book Math fonts. They are available as usually in three weights
1214 in the Math fonts so that the color is balanced when in script size (eg in exponents or indices).
1215 For this to work a version of \verb|fontsetup| package greater or equal to 1.8 with options
1216 \verb|default| or \verb|olddefault| loaded is needed. This is because Devanagari letters are not
1217 Math variables in Unicode standard and hence not supported currently as such by the
1218 unicode-math package. To show this possibility next is a theorem in Hindi (mixing with Greek):
1219
1220 \medskip
1221
1222 %प्रमेय (Πυθαγόρας - पिथागोरास)‘’
1223 %\setmathfont[StylisticSet=4]{NewCMMath-Regular.otf}
1224 \setmathfont[StylisticSet=4]{NewCMMath-Book.otf}
1225 {\hinditext
1226 \textbf{प्रमेय}\,(\textrm{Πυθαγόρας} (पिथागोरास)) अगर समकोण त्रिभुज के कर्ण की लंबाई को ‘अ’ और
1227 अन्य दो भुजाओं की लंबाई को ‘क’ और ‘ख’ कहते हैं, तो भुजाओं की लम्बाई के वर्गों की
1228 जोड़, कर्ण के वर्ग जितनी होती है, अर्थात्
1229 $अ^२=क^२+ख^२$।
1230 }
1231 %\setmathfont{NewCMMath-Regular.otf}
1232 \setmathfont{NewCMMath-Book.otf}
1233
1234
1235 \bigskip
1236
1237 However, if only Devanagari numbers are needed with the source using arabic numerals
1238 then one can use the Stylistic Set 04 of the Math font.
1239 So the command
1240
1241 %\noindent\verb|\setmathfont[StylisticSet=4]{NewCMMath-Regular.otf}|
1242 \noindent\verb|\setmathfont[StylisticSet=4]{NewCMMath-Regular.otf}|
1243 with source:
1244 \begin{verbatim}
1245 \[\sum_{n=0}^\infty \frac1{n!}x^n=1+x+\frac{1}{2!}x^2
1246 +\frac1{3!}x^3+\frac1{4!}x^4+\ldots=e^x.\]
1247 \[9!=1\cdot2\cdot3\cdot4\cdot5\cdot6\cdot7\cdot8\cdot9.\]
1248 \[2^{2^2}\]
1249 \end{verbatim}
1250 will have the following effect:
1251
1252
1253 %\setmathfont[StylisticSet=4]{NewCMMath-Regular.otf}
1254 \setmathfont[StylisticSet=4]{NewCMMath-Book.otf}
1255
1256 $$\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.$$
1257 $$9!=1\cdot2\cdot3\cdot4\cdot5\cdot6\cdot7\cdot8\cdot9.$$
1258 $$2^{2^2}$$
1259
1260 \noindent which when the math font is reset to use Arabic numbers with
1261
1262 %\noindent\verb|\setmathfont{NewCMMath-Regular.otf}| it gives:
1263 \noindent\verb|\setmathfont{NewCMMath-Book.otf}| it gives:
1264
1265 %\setmathfont{NewCMMath-Regular.otf}
1266 \setmathfont{NewCMMath-Book.otf}
1267 $$\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.$$
1268 $$9!=1\cdot2\cdot3\cdot4\cdot5\cdot6\cdot7\cdot8\cdot9.$$
1269 $$2^{2^2}$$
1270
1271
1272 \section{Armenian Script Support}
1273
1274 New Computer Modern, as of version 8.0.0 provides full, native support
1275 for the Armenian script, designed with the same typographic principles
1276 that govern the Latin, Greek, and Cyrillic components of the
1277 family. Armenian is treated as a first-class script across all major
1278 styles, weights, and optical sizes. A sample follows.
1279
1280 \medskip
1281
1282 {\selectlanguage{armenian}
1283 Պյութագորասի թեորեմը մաթեմատիկայի ամենակարևոր թեորեմներից մեկն է։
1284
1285 \noindent\textbf{Թեորեմ}\,(Πυθαγόρας) {\itshape
1286 Ամեն ուղղանկյուն եռանկյան մեջ, կատետների վրա կառուցված երկու
1287 քառակուսիների մակերեսների գումարը հավասար է հիպոտենուզայի վրա
1288 կառուցված քառակուսու մակերեսին, այսինքն}
1289 $\alpha^2=\beta^2+\gamma^2$։
1290 }
1291
1292 \medskip
1293
1294
1295 Armenian is available in:
1296 \begin{itemize}
1297 \item Families: Serif (NewCM), Sans (NewCMSans), Mono (NewCMMono)
1298
1299 \item Series: Regular, Book, Bold
1300
1301 \item Shapes: Roman, Italic (Serif), Oblique (Sans), Bold Italic / Bold Oblique
1302
1303 \item Optical sizes: 10 pt and 8 pt designs (with independent drawings)
1304 \end{itemize}
1305
1306
1307 The Armenian design in NewCM follows three guiding principles:
1308 \begin{itemize}
1309 \item Typographic neutrality:
1310 Armenian glyphs are designed to blend seamlessly with Latin and Greek text in academic and technical documents, without drawing undue attention or altering line color.
1311
1312 \item Script-specific structure
1313 Armenian joins, counters, and internal rhythm are handled according to the structural logic of the script, not by mechanical reuse of Latin shapes. Particular care is taken with join-heavy letters and complex counters to preserve clarity at text sizes.
1314
1315 \item Consistency across families
1316 Serif, Sans, and Mono Armenian share the same underlying proportions and rhythm, while respecting the constraints of each family (contrast in Serif, openness in Sans, grid discipline in Mono).
1317 \end{itemize}
1318
1319 \begin{description}
1320 \item[Serif Armenian] is
1321 designed in a Didot-influenced style, consistent with NewCM’s high contrast and vertical stress.
1322
1323 Italic Armenian is a true italic, not a slanted Roman, with moderated slant to respect Armenian letter structure.
1324
1325 Armenian ligatures defined by Unicode (U+FB13–U+FB17) are supported via standard OpenType liga features.
1326
1327 Separate 8 pt designs increase stroke robustness and counter openness for small-size text.
1328
1329 \item[Sans Armenian]
1330 is drawn independently, not derived from the Serif outlines.
1331
1332 Italic is implemented as an oblique, with script-sensitive slant values (distinct for uppercase and lowercase).
1333
1334 Stroke weights are adjusted to account for Armenian’s higher internal density, ensuring even color in mixed-script text.
1335
1336 Suitable for modern academic layouts, captions, headings, and presentations.
1337
1338 \item[Mono Armenian]
1339 is fully monospaced, with all glyphs sharing a fixed advance width.
1340
1341 The design prioritizes grid predictability and alignment, making it suitable for code, tables, and technical material.
1342
1343 Joins and counters are optimized for clarity at small sizes without compromising alignment.
1344
1345 \item[Mathematics and Armenian] integrates cleanly with NewCM’s math fonts:
1346
1347 Mixed Armenian–Latin–Greek text maintains consistent color and hierarchy.
1348
1349 Bold and italic Greek symbols used in mathematics harmonize visually with Armenian Bold and Italic text.
1350
1351 This makes NewCM suitable for scholarly publications involving Armenian text alongside formal mathematics.
1352 \end{description}
1353
1354
1355 \subsection{Intended use}
1356
1357 NewCM’s Armenian support is intended for:
1358 \begin{itemize}
1359 \item Academic books and journals
1360
1361 \item Critical editions and linguistic work
1362
1363 \item Mathematical and scientific texts
1364
1365 \item Multilingual documents combining Armenian with Latin and Greek
1366
1367 \item Technical material requiring monospaced layout
1368 \end{itemize}
1369
1370 With full Armenian coverage across Serif, Sans, and Mono, all major
1371 weights and shapes, and dedicated optical sizes, New Computer Modern
1372 offers one of the most complete and typographically coherent Armenian
1373 implementations available in a general-purpose academic type family.
1374
1375
1376 %%%%%%%%%%%%
1377 \section{Georgian (Mkhedruli) script support}
1378
1379 NewCM includes full support for Georgian Mkhedruli (Unicode
1380 U+10D0--U+10FF) across the Roman, Sans, and Mono families, in Regular,
1381 Bold, Oblique/Italic, and Bold Oblique styles. The design aims at
1382 seamless integration with Computer Modern–derived Latin, Greek, and
1383 mathematical typography, with particular emphasis on paragraph color,
1384 rhythm, and mixed-script stability.
1385
1386 \subsection{Design principles}
1387
1388 The Georgian design in NewCM is based exclusively on \textbf{Mkhedruli},
1389 the contemporary Georgian script used in all modern contexts. No
1390 uppercase/lowercase distinction exists in Mkhedruli, and the font
1391 follows Unicode conventions without introducing artificial
1392 capitalization.
1393
1394 \medskip
1395
1396 \noindent Key design goals were:
1397 \begin{description}
1398 \item[Text color compatibility] with NewCM Latin and Greek at typical academic sizes (9--12 pt).
1399 \item[Controlled joins and counters,] especially in Bold and Mono styles, to avoid local darkening.
1400 \item[Script neutrality:] Georgian text should neither dominate nor recede in mixed-script paragraphs.
1401 \item[Mechanical italics (obliques)] rather than cursive reinterpretations,
1402 in line with NewCM practice.
1403 \end{description}
1404 The Sans and Mono variants are true companions of their Latin
1405 counterparts, not condensed or simplified derivatives. In Mono,
1406 spacing discipline was prioritized over calligraphic expressiveness to
1407 ensure usability in code listings and technical material.
1408
1409 \subsection{Italics and emphasis}
1410
1411 In Georgian typography, emphasis in academic and editorial contexts is
1412 commonly expressed through \textbf{italic (oblique) forms}, similarly to
1413 Latin practice. NewCM therefore provides full Georgian support in
1414 oblique styles for Roman, Sans, and Mono families. Italic Georgian is
1415 constructed as a consistent slant of the upright forms, ensuring
1416 harmony with Latin and Greek italics in theorem statements and
1417 emphasized text.
1418
1419 \subsection{Example: the Pythagorean theorem}
1420
1421 Below is a short Georgian text introducing the Pythagorean theorem,
1422 followed by the theorem statement itself, set in italics to
1423 demonstrate typical mathematical typography.
1424
1425 {\selectlanguage{georgian}
1426 პითაგორას თეორემა არის ევკლიდური გეომეტრიის ერთ-ერთი ყველაზე ცნობილი
1427 და ფუნდამენტური შედეგი. იგი ამყარებს კავშირს მართკუთხა სამკუთხედის
1428 გვერდებს შორის და ფართოდ გამოიყენება მათემატიკაში, ფიზიკაში და
1429 ინჟინერიაში.
1430
1431 \smallskip
1432
1433 \textbf{თეორემა} (Πυθαγόρας) {\itshape მართკუთხა სამკუთხედში
1434 ჰიპოტენუზის კვადრატი ტოლია კატეტების კვადრატების ჯამისა.} $c^2 =
1435 a^2 + b^2$.
1436 }
1437
1438 \smallskip
1439
1440 This example illustrates the behavior of Georgian text in italic
1441 theorem statements, its interaction with Latin mathematical symbols,
1442 and the balance between text and displayed mathematics.
1443
1444 \subsection{Scope}
1445
1446 NewCM Georgian covers:
1447 \begin{itemize}
1448 \item Unicode block U+10D0--U+10FF (Georgian)
1449 \item Roman, Sans, and Mono families
1450 \item Regular, Bold, Oblique/Italic, and Bold Oblique styles
1451 \end{itemize}
1452 The Georgian support is intended for \textit{academic, scientific, and
1453 technical documents}, where Georgian text appears alongside Latin,
1454 Greek, and mathematics in a unified typographic system.
1455
1456
1457
1458
1459
1460
1461
1462 \section{Medieval Latin and Uncial Greek}
1463 The family includes new shapes for medieval Latin and uncial Greek.
1464 The \verb|fontsetup| package provides \verb|\textuncial{<text>}| and
1465 \verb|{\uncial text}| to use this shape. Let us write a sentence
1466 in this shape:
1467 \begin{center}
1468 \begin{minipage}{9cm}
1469 {\uncial The Pythagorean Theorem is one of the most important theorems in Mathematics.}\\
1470 {\uncial Το Πυθαγόρειο Θεώρημα είναι από τα σημαντικότερα θε\-ω\-ρή\-μα\-τα των Mαθηματικών.}
1471 \end{minipage}
1472 \end{center}
1473 Medieval Latin and Uncial Greek fonts will give a lot of ``missing slot''
1474 warnings if the microtype package is loaded. To suppress these warnings
1475 use
1476 \begin{verbatim}
1477 \DeclareMicrotypeAlias{NewCMUncial10-Book.otf}{TU-empty}
1478 \end{verbatim}
1479 and similarly for the other NewCMUncial fonts.
1480
1481
1482
1483 \section{Braille}
1484 Braille, both 6dot (uni2801--uni283F)
1485 as well as 8dot (uni2840--uni28FF) patterns
1486 are included in two versions. The Regular font provides the
1487 characters for sighted persons (such as teachers) so they can easily see which dots are
1488 on and which off. The Sans font contains the true Braille characters. I decided to have the
1489 sighted version in the Regular font since a blind person does not need the real Braille pattern,
1490 as those are produced by embossers. The Braille patterns here are meant as fonts to
1491 typeset text mainly for sighted persons.
1492 \begin{center}
1493 \begin{tabular}{c|c|c}
1494 & 6dot & 8dot\\ \hline
1495 Regular version & ⠅⠆⠇⠝⠞ & ⡂⡃⡄⡚⡛\\ \hline
1496 Sans version &{\sffamily ⠅⠆⠇⠝⠞} &{\sffamily ⡂⡃⡄⡚⡛}
1497 \end{tabular}
1498 \end{center}
1499
1500 \section{\textsc{ipa} symbols}
1501
1502 \acro{\textsc{ipa}} symbols are included and following a suggestion of Huanyu Liu
1503 the kerning found in \texttt{tipa} package has been added here and further improved. Moreover
1504 the letters eth, eng, beta, theta and chi
1505 exists in \acro{\textsc{ipa}}-style in the fonts and are accessible in the ss05 lookup table since
1506 they are in a different design from the Latin and Greek letters.
1507 You can access this lookup table using the \verb|\textipa|
1508 command of the fontsetup
1509 package.
1510 \begin{center}
1511 \begin{tabular}{c|c|c}
1512 & Non-\acro{\textsc{ipa}} & \acro{\textsc{ipa}}\\ \hline
1513 Regular & ð ŋ β θ χ & \textipa{ð ŋ β θ χ}\\ \hline
1514 Sans & \textsf{ð ŋ β θ χ} & \textsf{\textipa{ð ŋ β θ χ}}
1515 \end{tabular}
1516 \end{center}
1517
1518 I am grateful to {\devanagaritext निरंजन} (Niranjan) for suggesting
1519 and testing all the \textsc{ipa} improvements that follow:
1520
1521
1522 The joining of two characters such as t͜s, d͜ʒ, k͡p, t͡ʃ etc is also supported.
1523 The low tie is the character U+035C and the upper tie is U+0361. The t͜s is produced by typing the
1524 sequence t then the low tie and then s. Similarly k͡p is produced by typing the
1525 sequence k then the upper tie and then p. For t͜ʃ and d͜ʒ the fonts have a contextual chaining
1526 substitution table that uses a tie which prints lower so it does not touch ʃ and ʒ.
1527 In cases that one wants to show the tie as {\showtiefont x͜y͡z} then one needs to
1528 enable the cv5 character variant
1529 since the tie characters (U+035C and U+0361) are marks and not base glyphs.
1530 One can do that with a command
1531 such as
1532
1533 \noindent\verb|\newfontfamily{\showtie}[CharacterVariant=5]{NewCM10-Book.otf}|
1534
1535 There is also an older practice that such sequences are joint into a ligature. This is
1536 not the modern way of writing but it seems than many people in the linguistics still prefer it.
1537 The fonts support this, if one enables the \verb|lipa| table (local ipa) of the fonts.
1538 This can be done by adding the \verb|RawFeature=+lipa| to the font specs when loading it
1539 and it is done automatically with the commands \verb|\textoldipa{arg}| and \verb|{\oldipatext arg}|
1540 of the \verb|fontsetup| package.
1541
1542 For example, \verb|\textoldipa{ts, tʃ}| produces \textoldipa{ts, tʃ}.
1543
1544 All other symbols of the \verb|tipa| package are supported. Some examples are:
1545 \begin{center}
1546 p̚, ˈ, ɫ, l̠, ɖ, ɟ, ʂ, e̬, k̥, m̩, t̼, t̺, etc.
1547 \end{center}
1548 It is worth noting that all of the above is also available in the Mono family:
1549 \begin{ttfamily}
1550 \begin{center}
1551 |t͜s|t͡ʃ|\textoldipa{ts}|p̚|ˈ|ɫ|l̠|ɖ|ɟ|ʂ|e̬|k̥|m̩|t̼|t̺|
1552 \end{center}
1553 \end{ttfamily}
1554
1555 Another issue is that \textsc{ipa} used to use the Italic alternation of ``g'' even in the
1556 upright design. This restriction was lifted in \textsc{1949} as can
1557 be seen on page \textsc{3} in \cite{2}. % https://doi.org/10.1017\%2FS002510030000476X
1558
1559 Even though the normal upright shape is accepted as an
1560 alternation, there are linguists who prefer the older
1561 (Italic) shape ``{\ipafont g}'' and hence we are making it the default in the
1562 stylistic set dedicated for \textsc{ipa} (ss05).
1563
1564 Another such case is with the ``a'' shape. It has a different
1565 visual form in Italics ``\textit{a}'' which resembles to a distinct symbol
1566 of \textsc{ipa} leading to a wrong transcription. In order to avoid
1567 this confusion, we have used the slanted version ``{\itshape\ipafont a}'' of ``a'' in
1568 ss05. The other vowel symbol (ie, ɑ (U+0251)) is also
1569 available in the fonts.
1570
1571
1572
1573 Next we give a real example of using \acro{\textsc{ipa}} symbols. The quote below is from
1574 \textit{A course in phonetics}, {Ladefoged, Peter and Johnson, Keith}, \textsc{(2014)},
1575 {Cengage learning}, pp.~\textsc{285--286}, and the \texttt{StylisticSet=05} has been enabled:
1576 \begin{quote}
1577 Other examples of this phenomenon have also been
1578 mentioned. We saw that before {\ipafont [ŋ]}, English
1579 does not distinguish between tense and lax vowels.
1580 Consequently, the vowel that occurs in, for example, sing
1581 has a quality between that of {\ipafont [i]} and {\ipafont
1582 [ɪ]}. Similarly, there is no distinction between tense
1583 and lax vowels before {\ipafont [ɹ]}. The vowel in here in
1584 most forms of American English is also intermediate
1585 between {\ipafont [i]} and {\ipafont [ɪ]}. The principle
1586 of maximum perceptual separation also accounts for some of
1587 the differences between languages. French has two high
1588 rounded vowels, {\ipafont [u]} as in \emph{tout} {\ipafont
1589 [t̪u]} ``all,'' and {\ipafont [y]} as in \emph{tu}
1590 {\ipafont [t̪y]} ``you.''
1591 \end{quote}
1592
1593 \section{All Unicode combining marks}
1594 As NewComputerModern has top priority the support of Academic work,
1595 all combinig marks are supported in all fonts. Please notice that
1596 not all slots in these blocks are filled in with glyphs by Unicode standard.
1597 Some slots are empty and reserved for the future. All glyphs described
1598 by Unicode are in NewCM.
1599
1600 These are the Unicode blocks:
1601 \begin{itemize}
1602 \item Combining Diacritical Marks U+0300--U+036F
1603
1604 \item Combining Diacritical Marks Extended U+1AB0--U+1AFF
1605
1606 \item Combining Diacritical Marks Supplement U+1DC0--U+1DFF
1607
1608 \item Combining Diacritical Marks for Symbols U+20D0--U+20FF
1609
1610 \item Combining Half Marks U+FE20--U+FE2F
1611 \end{itemize}
1612 \textit{All blocks support stacking}.
1613 Examples, other than the main diacritical block U+0300--U+036F, follow in the next subsections.
1614
1615 \subsection{Extended and Supplement Combining Diacritical Marks}
1616 Both blocks are supported:
1617 \begin{description}
1618 \item[Extended] U+1AB0--U+1AFF. These are used to represent fine-grained phonetic, prosodic, and tone features, primarily in linguistics, dialectology, and musicology.
1619 They are combining characters, so they attach to a base letter. Example:
1620 \begin{center}
1621 ma᷄ ma᷅ ma᷆ \textbf{ma᷄ ma᷅ ma᷆}\\
1622 \textsf{ma᷄ ma᷅ ma᷆}
1623 \end{center}
1624 Used for advanced tone marks and diacritic combinations in phonetics and linguistics (eg, tonal contour notation in African and East Asian languages). For example, Yoruba, Zulu, Mandarin, or reconstructed Proto-Bantu tone patterns.
1625 \item[Supplement] U+1DC0--U+1DFF. Adds additional combining marks used in linguistic fieldwork,
1626 \textsc{ipa} transcription, and medieval manuscripts.
1627 Example:
1628 \begin{center}
1629 aᷰn᷽ \textbf{aᷰn᷽} \textsf{aᷰn᷽}
1630 \end{center}
1631 Supplementary diacritics used in phonetic transcription and historical linguistics, allowing precise representation of speech sounds and manuscript variants.
1632 \end{description}
1633 Medieval Latin manuscripts often abbreviate -us, -um, per, pro, etc,
1634 with special marks that can now be encoded as combining diacritics.
1635 \begin{center}
1636 In n̄o d̄i nostri Ih̄u xp̄i (\textbf{In n̄o d̄i nostri Ih̄u xp̄i})\\
1637 \textsf{In n̄o d̄i nostri Ih̄u xp̄i} $\longrightarrow$ In nomine domini nostri Iesu Christi
1638 \end{center}
1639
1640
1641 \subsection{Diacritical Marks for Symbols and Half Marks}
1642 Both blocks are supported:
1643 \begin{description}
1644 \item[Marks for Symbols] U+20D0--U+20FF. This block is used in
1645 Mathematical notation and the symbols are available in the Math
1646 fonts. However, there are needs for this block outside
1647 Mathematics. So they have also been added in the text fonts. For
1648 example, in Linguistics an arrow may mark a rising or a falling tone
1649 as in a⃗, a⃖. Another example is in automata theory: a circled state
1650 q⃝ or a squared proposition p⃞. Here these symbols are typed as text
1651 (this is why they have the metrics of q and p respectively, and
1652 consequently the imposed circle does not create addition horizontal
1653 space). However, the NewCM Math fonts include the procomposed glyphs
1654 for use in mathematics mode (U+2460--U+24FF). For example, ``circled p''
1655 and ``circled f'' are the glyphs U+24DF and U+24D5 respectively. Commands to
1656 access those in math mode, such as \verb|\circledp| are provided by
1657 the style file \verb|newcomputermodern.sty| through the
1658 \verb|fontsetup| package. The metrics here are different as the circle has
1659 its own metrics. Compare text: |p⃝| and |f⃝| with math $|ⓟ|$ and $|ⓕ|$.
1660 %$|\circledf|$ and $|\circledp|$.
1661
1662 \item[Half Marks] U+FE20--U+FE2F. Again constuctions using these symbols are available in Math fonts.
1663 They are also added to text fonts for non-math cases. An example is in linguistics
1664 for double diacritics over two letters: a︠b︡, double tilde spanning two characters
1665 used for nasalization spaning a diphthong or a contour tone that applies to two vowels:
1666 o︢u︣.
1667
1668 Also used in Medieval and textual criticism. For example, spanning macrons: n︤o︥.
1669 Represents n̄o (“no-” from nobis, noster, etc.)
1670 But with a macron spanning both letters to indicate the omitted syllable.
1671 Scholars of medieval Latin and Greek use exactly this.
1672
1673 To give an example that relates to Cyrillic we show the ``titlo'' used
1674 in early Cyrillic manuscripts and Old Slavonic: used to mark
1675 abbreviations, contractions, sacred names, and numeric values. The
1676 FE2E/FE2F pair lets a single titlo be encoded as two combining halves
1677 that attach to the leftmost and rightmost letters of the span and
1678 visually join
1679 into one continuous overline. However, when more than two characters are used, or characters
1680 with different heights, there is no provision by Unicode how these characters should join.
1681 Necessarily the titlo will break. However, a new command \verb|\titlo| has been introduced
1682 in \verb|fontsetup| package (that applies to \verb|newcomputermodern.sty| as well) that
1683 produces proper titlos on more than two letters and of unequal heights. I thank
1684 David Carlisle for his help with this.
1685
1686 Use case: when an editor wants a single titlo covering two or more adjacent Cyrillic letters, they insert the left-half after the first letter and the right-half after the last letter of the span.
1687 \begin{itemize}
1688 \item Two-letter titlo; Characters: U+043A U+FE2E U+043D U+FE2F: к︮н︯
1689 \item Three-letter titlo with different heights;
1690 Characters: U+043A U+FE2E U+0430 U+0431 U+FE2F: к︮аб︯
1691 \item Titlo used with a numeral (titlo often marks numeric use of letters); Characters: U+0432 U+FE2E U+0438 U+FE2F: в︮и︯
1692 \item Corrected output using the \verb|\titlo| command with
1693 \verb|\titlo{каб}|: \titlo{Каб}.
1694 \end{itemize}
1695 \end{description}
1696
1697 %%%%%%%%
1698 \section{Editorial Marks}
1699
1700 NewComputerModern supports a range of combining editorial marks intended for use in scholarly text, critical editions, manuscript transcription, and linguistic annotation. These marks function as textual modifiers applied to arbitrary base characters and are distinct from precomposed mathematical symbols.
1701
1702 \subsection{Scope and Intended Use}
1703
1704 Editorial marks are used to indicate:
1705 \begin{enumerate}
1706 \item manuscript witnesses and scribal hands in critical apparatus,
1707
1708 \item editorial interventions and conjectural readings,
1709
1710 \item layered annotation in palaeography and codicology,
1711
1712 \item feature marking and classification in linguistics.
1713 \end{enumerate}
1714 In these contexts, the mark conveys editorial status, not mathematical meaning.
1715
1716 \subsection{Combining Enclosing Marks}
1717
1718 The font provides full support for combining enclosing marks, including:
1719
1720 \begin{description}
1721 \item[U+20DD] COMBINING ENCLOSING CIRCLE
1722
1723 \item[U+20DE] COMBINING ENCLOSING SQUARE
1724
1725 \item[U+20DF] COMBINING ENCLOSING DIAMOND
1726 \end{description}
1727 These characters attach to a preceding base glyph.
1728 % using mark-to-base and mark-to-mark positioning.
1729 The enclosing shape adapts to the base character’s size
1730 and style (e.g. italic, small caps, Greek, Cyrillic), enabling consistent use in running text.
1731
1732 Example (editorial sigla):
1733 \begin{center}
1734 a⃝ \hspace*{.6cm} p⃝ \hspace*{.6cm} f⃝ \hspace*{.6cm} γ⃝ \hspace*{.6cm} д⃝ \hspace*{.6cm} \textsc{ω⃝}
1735 \end{center}
1736 (the last example is in small caps).
1737 Editorial marks are positioned using dedicated anchors in the text
1738 font. The enclosing shapes are centered optically relative to the base
1739 glyph rather than aligned to the mathematical axis. Letters with
1740 ascenders or descenders are adjusted to preserve visual balance inside
1741 the enclosure.
1742
1743 Editorial combining marks should not be confused with precomposed
1744 circled letters used in mathematical notation (eg automata
1745 theory). Mathematical circled symbols are atomic glyphs provided by
1746 math fonts and are accessed via Unicode or math alphabets. Combining
1747 enclosing marks in NewComputerModern are intended exclusively for
1748 textual and editorial use.
1749
1750
1751
1752
1753
1754 \section{Phonetic Extensions and Supplement}\label{phextsupp}
1755 The block U+1D00--U+1D7F
1756 contains letters and small capitals used in the \textsc{ipa} and related phonetic alphabets,
1757 and the block U+1D80--U+1DBF adds further small capitals and modifier
1758 letters for phonetic and prosodic notation. The small letters here are \textit{not} to be confused
1759 with typographical small capitals.
1760 The designs here are at the x-height of the font which is smaller than
1761 small capitals. Small capitals should still be called with commands such as \verb|\textsc| or
1762 similar. Examples:
1763 \begin{enumerate}
1764 \item[(i)] [ʙ̥ɑɾɪ] \textbf{[ʙ̥ɑɾɪ]} \textsf{[ʙ̥ɑɾɪ]} {\textsf{\bfseries [ʙ̥ɑɾɪ]}}
1765 \item[(ii)] [ᴍɑɴ] \textbf{[ᴍɑɴ]} \textsf{[ᴍɑɴ]} {\textsf{\bfseries [ᴍɑɴ]}}
1766 meaning “man” pronounced with a bilabial trill
1767 \item[(iii)] [ᶑaᶆa] \textbf{[ᶑaᶆa]} \textsf{[ᶑaᶆa]} {\textsf{\bfseries [ᶑaᶆa]}} could represent a voiced implosive /ɗama/ in a phonetic study.
1768 \item[(iv)] tʰa kʷa nʲi lˠa \textbf{tʰa} \textbf{kʷa} \textbf{nʲi} \textbf{lˠa} \textsf{tʰa kʷa nʲi lˠa}
1769 aspirated t, labialized k, palatalized n, velarized l
1770 \item[(v)] tᶴ dᶷ nᶮ \textbf{tᶴ} \textbf{dᶷ} \textbf{nᶮ} \textsf{tᶴ dᶷ nᶮ} detailed articulatory descriptions and experimental phonetics.
1771 \end{enumerate}
1772 Editors of medieval and ancient texts sometimes mark uncertain
1773 or supplied letters with combining strokes or dots above/below.
1774 \begin{center}
1775 s᷽an᷎ct᷎us \textbf{s᷽an᷎ct᷎us} \textsf{s᷽an᷎ct᷎us}
1776 \end{center}
1777 may be used to indicate a word reconstructed or uncertain in a manuscript.
1778
1779 \noindent More examples from the block U+1D80--U+1DBF:
1780 \begin{center}
1781 \begin{tabular}{|c|c|}\hline
1782 Upright & Italic\\ \hline
1783 ᶀ ᶂ ᶈ ᶉ ᶋ ᶌ ᶕ ᶔ ᶙ ᶚ ᶛ ᶞ ᶽ ᶿ &\textit{ᶀ ᶂ ᶈ ᶉ ᶋ ᶌ ᶕ ᶔ ᶙ ᶚ ᶛ ᶞ ᶽ ᶿ}\\ \hline
1784 Sans Upright & Sans Oblique\\ \hline
1785 \textsf{ᶀ ᶂ ᶈ ᶉ ᶋ ᶌ ᶕ ᶔ ᶙ ᶚ ᶛ ᶞ ᶽ ᶿ}& \textsf{\itshape ᶀ ᶂ ᶈ ᶉ ᶋ ᶌ ᶕ ᶔ ᶙ ᶚ ᶛ ᶞ ᶽ ᶿ}\\
1786 \hline
1787 \end{tabular}
1788 \end{center}
1789
1790 Even though these are designed for phonetics, some medievalists and
1791 historical linguists use these modifier letters to show reduced vowels,
1792 superscripts, or lenited consonants in Old English or Middle English.
1793 \begin{center}
1794 hᶦs heᶣrᶦng cᶤld \textbf{hᶦs heᶣrᶦng cᶤld} \textsf{hᶦs heᶣrᶦng cᶤld}
1795 \end{center}
1796 could represent small, superscript-like vowels in ``his'', ``hearing'', ``child'',
1797 when reproducing manuscript letter size distinctions or marginal additions.
1798 Modifier letters used to reproduce reduced or superscript vowels
1799 from early English manuscripts and paleographic editions.
1800
1801
1802 \section{Currency Symbols}
1803
1804 Support for currency symbols block U+20A0--U+20C0 in all text fonts (except uncials).
1805 \begin{center}
1806 \begin{tabular}{rl}
1807 Roman:& ₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₶₷₸₹₺₻₼₽₾₿⃀\\
1808 Sans:& \textsf{₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₶₷₸₹₺₻₼₽₾₿⃀}\\
1809 Mono:& \texttt{₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₶₷₸₹₺₻₼₽₾₿⃀}
1810 \end{tabular}
1811 \end{center}
1812 Interesting is the design of Spanish Peseta in the Mono family
1813 (seen enlarged in the margin) were we have
1814 to fit essentially three letters in the width of the Mono font.
1815 \marginpar{\scalebox{2}{\texttt{\huge ₧}}}
1816 %\begin{center}
1817 %{Roman: \huge ₧}\hspace{1cm}{Mono: \texttt{\huge ₧}}
1818 %\end{center}
1819
1820
1821 Especially for the Rupee sign (U+20B9) the upright serifed
1822 non-Devanagari fonts have the ``latinized''
1823 version, but to avoid changing fonts they also provide the Devanagari
1824 version in CharacterVariant 7. So the code
1825 \begin{verbatim}
1826 \begin{LARGE}
1827 \begin{center}
1828 100\,₹ \hspace{2cm} {\addfontfeatures{CharacterVariant=7}100\,₹}
1829 \end{center}
1830 \end{LARGE}
1831 \end{verbatim}
1832 gives
1833 \begin{LARGE}
1834 \begin{center}
1835 100\,₹ \hspace{2cm} {\addfontfeatures{CharacterVariant=7}100\,₹}
1836 \end{center}
1837 \end{LARGE}
1838
1839
1840
1841 \section{Bold Sans}
1842 \texttt{lm} fonts and \texttt{cmu} fonts do not contain a properly made
1843 BoldSans. Their BoldSans is a stroke-extensi\-on of the Sans with rounded corners.
1844 NewCM fixes that and provides a true BoldSans:
1845
1846 \hspace*{-5ex}\begin{tabular}{c|c}
1847 LM & NewCM\\ \hline
1848 & \\
1849 \scalebox{6.8}{\lmboldsans XΞ}&\scalebox{6.8}{\textsf{\bfseries XΞЯДЛ}}
1850 \end{tabular}
1851
1852
1853 \section{LX fonts for presentations}
1854
1855 \setmathfont[StylisticSet=8,Scale=1.17343]{NewCMSansMath-Regular.otf}
1856
1857
1858 This is a very interesting variation expecially designed for beamer projections.
1859 The original design belongs to Claudio Beccari who suggested me to incorporate
1860 this into NewCM. It is compatible with the Knuthian design and looks
1861 very clean on projections. The fonts have been reworked
1862 to stabilize the color and provide Oblique, Bold and BoldOblique.
1863
1864 Here is a sample with Pythagorean theorem.
1865
1866 \bigskip
1867
1868 {\lxfonts
1869 {The Pythagorean Theorem is one of the most important theorems in Mathematics.}\\
1870 {Το Πυθαγόρειο Θεώρημα είναι από τα σημαντικότερα θε\-ω\-ρή\-μα\-τα των Mαθηματικών.}
1871
1872 \medskip
1873
1874 \textbf{Theorem}\,(Πυθαγόρειον)
1875 In a right angle triangle with sides $\alpha$, $\beta$, $\gamma$
1876 with $\alpha$ being the hypotenuse, we have
1877 $$\alpha^2=\beta^2+\gamma^2.$$
1878
1879 Ἐν τοῖς ὀρθογω\-νί\-οις τριγώνοις τὸ ἀπὸ τῆς τὴν ὀρθὴν γωνίαν ὑπο\-τει\-νού\-σης πλευρᾶς
1880 τετράγωνον ἴσον ἐστὶ τοῖς ἀπὸ τῶν τὴν ὀρθὴν\hspace{-1pt} γωνίαν περιεχουσῶν πλευρῶν τετραγώνοις.
1881 }
1882
1883
1884 %\begin{center}
1885 %\includegraphics{lxfonts.pdf}
1886 %\end{center}
1887
1888 \bigskip
1889
1890 You can select this variation when in Sans family by enabling StylisticSet 8
1891 for both text and Mathematics, although one must make adjustments
1892 of the height of letters as their x-height is bigger.
1893 It is simpler to load the \verb|fontsetup| package
1894 with option \verb|lx| which will take care of proper scaling
1895 factors for text and Mathematics.
1896 %For example, you may use
1897 % \verb|\setmathfont[StylisticSet=8]{NewCMSansMath-Regular.otf}|
1898 % \noindent and after \verb|\begin{document}| issue
1899 % \verb|\addfontfeatures{StylicticSet=8}|
1900
1901 \setmathfont{NewCMMath-Book.otf}
1902
1903
1904 \section{Food Allergies}
1905
1906 Food allergy symbols have long been proposed to be accepted to
1907 Unicode standard but there has not been any progress up to now.
1908 The Sans 10 Regular and Book include standard allergy symbols
1909 in the Private Use Area. Each glyph is named after what it represents.
1910 For example, the soya symbol is named ``soya'' so copying the symbol
1911 from a pdf file and pasting elsewhere you will get its name, that is ``soya''.
1912 The symbols are in positions U+E033 to U+E040 and can be accessed using the
1913 commands of the next table.
1914 \begin{sffamily}
1915 \newcommand{\fdal}[2]{\begin{minipage}[c]{2.5cm}\begin{center}\ \ \\[1.5ex] \scalebox{4}{\char"#1}\\ \textsc{#2}\\[-1ex] \ \ \end{center}\end{minipage}}
1916 % \newcommand\crustaceans{\begin{minipage}[c]{1cm}\begin{center}\scalebox{4}{\char"E033}\\ \textsc{crustaceans}\end{center}\end{minipage}}
1917 %\newcommand\eggs{\begin{minipage}[c]{1cm}\scalebox{4}{\char"E034}\\ \textsc{eggs}\end{minipage}}
1918 \begin{center}
1919 \begin{tabular}{|l|c||l|c|}\hline
1920 \verb|\char"E033| & \fdal{E033}{crustaceans} & \verb|\char"E034| & \fdal{E034}{eggs}\\ \hline
1921 \verb|\char"E035| & \fdal{E035}{gluten} & \verb|\char"E036| & \fdal{E036}{fish}\\ \hline
1922 \verb|\char"E037| & \fdal{E037}{lupin} & \verb|\char"E038| & \fdal{E038}{milk}\\ \hline
1923 \verb|\char"E039| & \fdal{E039}{molluscs} & \verb|\char"E03A| & \fdal{E03A}{mustard}\\ \hline
1924 \end{tabular}
1925 \end{center}
1926 \begin{center}
1927 \begin{tabular}{|l|c||l|c|}\hline
1928 \verb|\char"E03B| & \fdal{E03B}{peanut} & \verb|\char"E03C| & \fdal{E03C}{sesame}\\ \hline
1929 \verb|\char"E03D| & \fdal{E03D}{soya} & \verb|\char"E03E| & \fdal{E03E}{treenuts}\\ \hline
1930 \verb|\char"E03F| & \fdal{E03F}{celery} & \verb|\char"E040| & \fdal{E040}{SO$_2$}\\ \hline
1931 \end{tabular}
1932 \end{center}
1933 \end{sffamily}
1934
1935
1936 \section{Unicode Math coverage and options}
1937 NewCM provides
1938 full Unicode math support, that is
1939 all Mathematics Unicode Slots
1940 presented in \url{http://www.unicode.org/charts/}
1941 in the Math weights, Regular, Book and Bold. These blocks are:
1942 \hspace*{-5em} \begin{description}
1943 \item[Mathematical Symbols]
1944 \ \\
1945 Arrows (U+2190--U+21FF)\\
1946 Supplemental Arrows-A (U+27F0--U+27FF)\\
1947 Supplemental Arrows-B (U+2900--U+297F)\\
1948 Supplemental Arrows-C (U+1F800--U+1F8FF)\\
1949 Additional Arrows (U+2B00--U+2BFF)\\
1950 Miscellaneous Symbols and Arrows (U+2B00--U+2BFF)
1951 \item[Mathematical Alphanumeric Symbols]
1952 \ \\ (U+1D400--U+1D7FF)\\
1953 Arabic Mathematical Alphabetic Symbols\\ (U+1EE00--U+1EEFF)\\
1954 Letterlike Symbols (U+2100--U+214F)
1955 \item[Mathematical Operators]
1956 \ \\ (U+2200--U+22FF)\\
1957 Basic operators: Plus, Factorial\\ (U+0000--U+007F)\\
1958 Division, Multiplication\\ (U+0080--U+00FF)\\
1959 Supplemental Mathematical Operators\\ (U+2A00--U+2AFF)\\
1960 Miscellaneous Mathematical Symbols-A\\ (U+27C0--U+27EF)\\
1961 Miscellaneous Mathematical Symbols-B\\ (U+2980--U+29FF)\\
1962 Floors and Ceilings (U+2308--U+230B)\\
1963 Invisible Operators (U+2061--U+2064)
1964 \item[Geometric Shapes (U+25A0--U+25FF)]
1965 \ \\
1966 Additional Shapes (U+2B00--U+2BFF)\\
1967 Box Drawing (U+2500--U+257F)\\
1968 Block Elements (U+2580--U+259F)\\
1969 Geometric Shapes Extended (U+1F780--U+1F7FF)
1970 \end{description}
1971
1972 \begin{wrapfigure}[8]{o}{0.08\textwidth}\vspace*{-1\baselineskip}
1973 \ \\[2ex]
1974 \scalebox{8}{\color{gray}$\char"2BDA$}
1975 \end{wrapfigure}
1976 Unfortunately, the \texttt{unicode-math} package does not currently
1977 provide commands for the hundrends of extra glyphs that have been added
1978 in order to fully cover the above Unicode ranges. The user can
1979 consult the Unicode charts at the above link and access the required
1980 glyph with \verb|\char"#| where \#\ is the Unicode number of the
1981 slot the glyph belongs to.
1982
1983 For example, \verb|\char"2BDA| will give the Hygeia symbol
1984 (U+2BDA) the Rod of Asclepius as shown above (grayed and scaled $\times 8$). The glyph
1985 that appeared in TUGboat (see \cite{1}), being more realistic will be moved to
1986 a new font in the future with ornaments.
1987
1988
1989 \subsection{Bold Math}
1990
1991 A complete math font, such as NewCM, contains all alphabetic characters in bold too.
1992 These characters are typically accessed using the \verb|\mathbf| command. However,
1993 this is not true for bold versions of symbols. This creates difficulties
1994 when a user has some math in chapter or section titles, or when a user wants to
1995 create a poster with colored background. In the later case the Regular and Book
1996 weights look too light (especially with dark backgrounds) and one is in need
1997 of a real Bold Math font, that has everything in Bold.
1998
1999 NewCM, starting from version 6.0.0 provides an independent Bold Math font for the
2000 first time for a Computer Modern font family.
2001 Let us compare:
2002
2003 Book inline: $\sqrt[3]{x+y\pm 1}=\sum_{n=1}^\infty \int_{K}f_n(x)\,dx$ and the same in display
2004 $$\sqrt[3]{x+y\pm 1}=\sum_{n=1}^\infty \int_{K}f_n(x)\,dx.$$
2005
2006 \setmathfont{NewCMMath-Bold.otf} %[version=bold]
2007 %\mathversion{bold}
2008 \setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Book.otf}
2009
2010
2011 Bold inline: $\sqrt[3]{x+y\pm 1}=\sum_{n=1}^\infty \int_{K}f_n(x)\,dx$ and the same in display
2012 $$\sqrt[3]{x+y\pm 1}=\sum_{n=1}^\infty \int_{K}f_n(x)\,dx.$$
2013
2014 Bold Math with colors inverted:
2015
2016 \medskip
2017
2018
2019 \begin{pspicture}(0,0)(10,2)
2020 \psframe[fillstyle=solid,fillcolor=black](1.5,0)(9.5,2)
2021 \rput(5.5,1){{\color{white}$\displaystyle\sqrt[3]{x+y\pm 1}=\sum_{n=1}^\infty \int_{K}f_n(x)\,dx.$}}
2022 \end{pspicture}
2023
2024 In order to use the Bold font for chapter and section titles, when using the \verb|default|
2025 or \verb|olddefault| options of the \verb|fontsetup| package, change the math version
2026 to bold with \verb|\mathversion{bold}| \textit{before} the commands for chapter and section
2027 and switch back to normal with \verb|\mathversion{normal}| \textit{afterwards}.
2028
2029 The \verb|unicode-math| package, according to it's documentation
2030 has still some troubles with ``versions'' and the \verb|range| options. These seem to affect
2031 at least the calligraphic and script math alphabets. In normal version for example
2032 the commands \verb|\symcal| and \verb|\symscr| work as expected, but when one switches
2033 to the bold version the \verb|\symscr| fails. In this case one can use
2034 \verb|\symbfscr|: \usebox{\mathcalscrA} (which was \verb|$\symcal A$ $\symbfscr A$|).
2035
2036 %\mathversion{normal}
2037
2038 \subsection{Sans Serif Math}
2039
2040 \setmathfont{NewCMSansMath-Regular.otf}
2041 \newfontfamily{\sansAmSfont}{NewCMSansMath-Regular.otf}
2042 \renewcommand{\AmS}{{\sansAmSfont $\symcal A$\kern-.1667em\lower.5ex\hbox{$\symcal M$}\kern-.125em$\symcal S$}}
2043
2044
2045 As of version 7.0.0, the family includes a full-featured Math Sans font. Up to now such a font
2046 did not exist in the CM family (although partial solutions existed), and it
2047 posed a serious problem for scientific writing especially in the preparation of presentations.
2048 The font supplied with NewCM covers all Unicode math slots but it also provides some new features.
2049 The lowercase Latin alphabet has been completely re-worked so that it really looks
2050 as it should when used for Math variables. The letters are
2051
2052 $$|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|$$
2053 In Large
2054 \begin{Large}
2055 $$|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|$$
2056 \end{Large}
2057 Moreover the calligraphic capitals have been re-worked to match
2058 better with the sans serif style (see subsection~\ref{mathscript} for how to select them)
2059 $$\symcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
2060
2061 The same holds true for the \verb|\mathbb/\symbb| capital letters. They have been adjusted to match
2062 the Sans design, both in style and weight:
2063 $$\symbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
2064 It is also worth noticing that the SansSerifed and the Serifed letters have swapped slots
2065 in the font. So if using the MathSans font and you write for example \verb|$\symsf{ABCDabcd}$|
2066 you will get the Serifed version(!): $\symsf{ABCDabcd}$. This choice facilitates
2067 converting a document with Serifed fonts using Sans for emphasis or differentiation
2068 to keep these characteristics when changed to Sans.
2069
2070 One can see the Sans Serif Math font in action in the provided file
2071 \verb|testmath-newcm.pdf| which comes form the \AmS-{\sffamily L\kern-.5ex\raise.5ex\hbox{\textsc{a}}\kern-.2exT\kern-.4ex\lower.6ex\hbox{E}X}
2072 bundle (here the logo is written in NewCMSans).
2073
2074
2075
2076
2077 \setmathfont{NewCMMath-Book.otf}
2078
2079
2080 \subsection{Optical sizes for more glyphs}
2081 So far the fonts provided optical sizes for 1st and 2nd order exponents for letters. This was
2082 not true though for binary operators and some symbols commonly used in mathematics.
2083 For example, the \verb|\perp| symbol ($\perp$) often appears in 2nd order exponents
2084 and then it appeared very thin. Some printers could even hardly print its thin lines.
2085 Now, such glyphs plus several binary operators, such as $+$, $-$, $\pm$, $\dotplus$ etc
2086 are now provided in optical sizes, so that expressions such as
2087 $$+^{+^+}\ \perp^{\perp^\perp}\ *^{*^*}\quad\frac{|P_{F^\perp}(K)|}{e^{(x+y)^*}}$$
2088 appear on screen and print properly on printers.
2089 Zoom or print and compare with \texttt{lat\-in\-modern-math} font:
2090 \begin{center}
2091 \includegraphics{opticalmathlm-cropped.pdf}
2092 \end{center}
2093
2094
2095 \subsection{Math Script}\label{mathscript}
2096
2097
2098 Calligraphic letters are accessed as usual with \verb|\mathcal| or \verb|\symcal|, producing
2099 $$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ},$$
2100 which is a re-traced and glyph by glyph adjustment of the original Knuth design.
2101 Prior to version 8.0.0 of the fonts the \verb|\mathcal| was providing
2102 the Euler chancery style calligraphics inherited from lmodern-math. This
2103 version is now saved in StylisticSet 6.
2104
2105
2106 However, mathematicians often need a second level of ``scriptness''. The fonts
2107 provide an alternative calligraphic, a script design at StylisticSet 1. For this to work
2108 one has to re-set the math font using
2109
2110 \noindent\verb|\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Book.otf}|
2111
2112 (or the Regular version). The \verb|fontsetup| package from version 2.4.0 and on,
2113 supports automatically all three variants (thanks to David Carlisle, see \cite{chancery})
2114 introducing a new command, namely
2115 \verb|\mathchancery|/\verb|\symchancery| to access the chancery version.
2116
2117 The next code
2118 \begin{verbatim}
2119 $$\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
2120 $$\mathchancery{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
2121 $$\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
2122 $$\mscra\mscrb\mscrc\mscrd\mscre\mscrf\mscrg\mscrh\mscri\mscrj
2123 \mscrk\mscrl\mscrm\mscrn\mscro\mscrp\mscrq\mscrr\mscrs\mscrt
2124 \mscru\mscrv\mscrw\mscrx\mscry\mscrz$$
2125 \end{verbatim}
2126 produces
2127 \begin{center}
2128 \includegraphics{mathscript-cropped.pdf}
2129 \end{center}
2130
2131 \setmathfont{NewCMMath-Book.otf}
2132
2133
2134 \subsection{Math Kerning}
2135
2136 Math kerning has been added to all NewCM Math fonts. This feature
2137 greatly improves Math typesetting, especially for the calligraphic letters but for regular
2138 letters as well, such as, $Y$ or $\Gamma$.
2139
2140 \begin{center}
2141 \includegraphics{mathkern-example.pdf}
2142 \end{center}
2143
2144 Regular kerning in math mode works with Lua\LaTeX\ but not with \XeLaTeX.
2145 The next table shows the effect of kerning in math mode with calligraphic capital letters
2146 and capital Latin italic letters with period and comma (look closely).
2147 This table is compiled
2148 with Lua\LaTeX.
2149
2150 \begin{center}
2151 \includegraphics{mathkern-example2.pdf}
2152 \end{center}
2153
2154 Regular kerning in math mode does not work with \XeLaTeX\ as said above. With
2155 Lua\LaTeX\ we notice that it works with calligraphic capitals but not with
2156 Latin italic capitals. The reason looks to be the fact that these letters
2157 have italic correction enabled in the fonts (as they should). Italic correction
2158 breaks the application of the kern. Now if italic correction is removed,
2159 by say \verb|$H\/.$|, then the engine does not see the characters \verb|H| and
2160 period as consecutive characters to apply the kern, and the kern is lost.
2161
2162 The code of the table above is as follows:
2163
2164 \begin{verbatim}
2165 \begin{tabular}{c|c}
2166 Before & Current (with Lua)\\ \hline
2167 {\setmathfont{latinmodern-math.otf}\Large
2168 ${\symcal H.}^{{\symcal H,}^{\symcal H,}}$
2169 ${H\/.}{H.}^{{H\/,}{H,}^{H\/,H,}}$}
2170 & {\setmathfont{NewCMMath-Regular.otf}\Large
2171 ${\symcal H.}^{{\symcal H,}^{\symcal H,}}$
2172 ${H\/.}{H.}^{{H\/,}{H,}^{H\/,H,}}$}
2173 \end{tabular}
2174 \end{verbatim}
2175
2176 We also notice that \LuaLaTeX\ has a parameter set by the command
2177
2178 \noindent\verb|\mathitalicsmode|
2179
2180 with default value $0$. If set to $2$ with \verb|\mathitalicsmode=2| then
2181 \LuaLaTeX\ uses regular letter kerning in math mode but breaks other things
2182 like the endpoints of integrals (see \cite{stackexchangeitcor}).
2183 We conclude this subsection realizing that there is no single engine
2184 (among \XeLaTeX\ and Lua\LaTeX) that supports all features.
2185
2186
2187
2188 \subsection{Blackboard Bold}
2189 The fonts contain as default the \textsc{ams} blackboard bold. These are:
2190
2191 $$\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
2192 $$\mathbb{abcdefghijklmnopqrstuvwxyz}$$
2193 $$\mathbb{0123456789\ \pi\gamma\Gamma\Pi\textrm{\mathastext\char"2140}\mitBbbD\mitBbbd\mitBbbe\mitBbbi\mitBbbj}$$
2194
2195 They also contain a blackboard bold that matches the design of Computer Modern
2196 but respecting the fact that most users have been used for a long period to
2197 the AMS bb design. Compare
2198 the
2199 default \begin{center}{\LARGE $\textup{R}\in\mathbb R\qquad \textup{Q}\in\mathbb Q$}
2200 \end{center}
2201 with the new design
2202 \setmathfont[StylisticSet=3]{NewCMMath-Book.otf}
2203 \begin{center}
2204 {\LARGE $\textup{R}\in\mathbb R\qquad \textup{Q}\in\mathbb Q$}
2205 \end{center}
2206
2207 \setmathfont{NewCMMath-Book.otf}
2208
2209 To access this design one needs to load the math font enabling the
2210 \verb|ss03| stylistic set using for example
2211
2212 \noindent\verb|\setmathfont[StylisticSet=3]{NewCMMath-Book.otf}|
2213 Then the above blackboard bold design changes to
2214 \setmathfont[StylisticSet=3]{NewCMMath-Book.otf}
2215 $$\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$
2216 $$\mathbb{abcdefghijklmnopqrstuvwxyz}$$
2217 $$\mathbb{0123456789\ \pi\gamma\Gamma\Pi\textrm{\mathastextnewcm\char"2140}\mitBbbD\mitBbbd\mitBbbe\mitBbbi\mitBbbj}$$
2218
2219 %\setmathfont{NewCMMath-Book.otf}
2220 %\newsavebox{\emptysetdefault}
2221 %\savebox{\emptysetdefault}{$\emptyset$}
2222 %
2223 %\setmathfont[CharacterVariant=2]{NewCMMath-Book.otf}
2224
2225 If using the latest \verb|fontsetup|
2226 then you can choose the NewCM blackboard bold
2227 with the option \verb|newcmbb|.
2228
2229 \subsubsection{Small Caps for Blackboard Bold}
2230
2231 A user might need to use Blackboard Bold in Small Caps. For example,
2232 this may arise when running heads
2233 are in small caps and contain a Blackboard Bold symbol. Consider for example
2234 the case when a chapter is named ``The Lebesgue measure on $\mathbb R$''.
2235 Then the running head in small caps will look awkward:
2236 \begin{center}
2237 \textsc{the lebesgue measure on} $\mathbb R$
2238 \end{center}
2239 In such cases, a small caps version of the number sets is needed. NewCM provides
2240 the needed glyphs in \verb|ss05|. So setting
2241
2242 \noindent\verb|\setmathfont[StylisticSet=5]{NewCMMath-Book.otf}|
2243
2244 \noindent the above
2245 running head becomes:
2246 \setmathfont[StylisticSet=5]{NewCMMath-Book.otf}
2247 \begin{center}
2248 \textsc{the lebesgue measure on} $\mathbb R$
2249 \end{center}
2250 \setmathfont{NewCMMath-Book.otf}
2251 These glyphs are provided in the CM style (instead of the AMS bb)
2252 by enabling \verb|ss03| too. So the command
2253
2254 \noindent\verb|\setmathfont[StylisticSet=3,StylisticSet=5]{NewCMMath-Book.otf}|
2255
2256 \noindent will produce:
2257 \setmathfont[StylisticSet=3,StylisticSet=5]{NewCMMath-Book.otf}
2258 \begin{center}
2259 \textsc{the lebesgue measure on} $\mathbb R$
2260 \end{center}
2261 \setmathfont[CharacterVariant=2,CharacterVariant=1]{NewCMMath-Book.otf}
2262 The same is true for the Regular and Bold Math fonts.
2263
2264 \subsection{Upright and extensible integrals}
2265 The Math fonts (both Regular and Book weights) include upright integrals
2266 in the ss02 StylisticSet.
2267 Use with
2268
2269 \medskip
2270
2271 \noindent\verb|\setmathfont[StylisticSet=2]{NewCMMath-Book.otf}|
2272
2273 \noindent or
2274
2275 \noindent\verb|\setmathfont[StylisticSet=2]{NewCMMath-Regular.otf}|
2276
2277 \medskip
2278
2279 \noindent or use the \verb|upint| option of the \texttt{fontsetup} package with
2280 \begin{verbatim}
2281 \usepackage[upint,default]{fontsetup}
2282 \end{verbatim}
2283 for the Book weight, or
2284 \begin{verbatim}
2285 \usepackage[upint,olddefault]{fontsetup}
2286 \end{verbatim}
2287 for the regular weight.
2288
2289
2290 Moreover, extensible integrals are supported by the fonts but \textit{NOT} by the Unicode TeX
2291 engines.
2292 The following code is a trick so that extensible integrals can be
2293 constructed using \LuaLaTeX. The result is shown at the end
2294 of the article.
2295 What the code below does, is that it defines the slot uni222B (integral) as
2296 a delimiter. And then this is extended as a delimiter with the mechanism that
2297 the font provides.
2298
2299 \begin{tabular}{l|r}
2300 \begin{minipage}[c]{6cm}
2301 \begin{verbatim}
2302 \documentclass{article}
2303 \usepackage[default]{fontsetup}
2304 \begin{document}
2305 $
2306 \Uleft\Udelimiter 0 0 "222B
2307 \begin{pmatrix}
2308 1\\2\\3\\4\\5\\6\\7\\8\\9
2309 \end{pmatrix}
2310 \Uright.
2311 $
2312 \end{document}
2313 \end{verbatim}
2314 \end{minipage}
2315 &
2316 \begin{minipage}[c]{4cm}
2317 \begin{center}
2318 \includegraphics{integral.pdf}
2319 \end{center}
2320 \end{minipage}
2321 \end{tabular}
2322
2323 \subsection{Additional and alternative characters in Math}
2324
2325 \subsubsection{Alternative symbol for the empty set}
2326 \renewcommand{\emptyset}{\char"2205}\renewcommand{\varnothing}{\char"2300}
2327
2328 There is a mismatch between the \TeX\ world for the empty set and the Unicode standard.
2329 For \TeX\ the default empty set is $\emptyset$, that is a slashed zero. Unicode suggests
2330 that the proper character is $\varnothing$, and suggests the switch to
2331 the slashed zero if $\varnothing$ is followed by the Variation Selector U+FE00.
2332 However, this method is not yet supported by Unicode \TeX\ engines.
2333 Since the fonts must comply to the Unicode standard the math fonts follow the
2334 Unicode suggestion. To make things work as expected in \TeX, the user must
2335 load the Math fonts with CharacterVariant=2. For example, with
2336
2337 \medskip
2338
2339 \noindent\verb|\setmathfont[CharacterVariant=2]{NewCMMath-Regular.otf}|
2340
2341 \medskip
2342
2343 \noindent This will map \verb|\emptyset| to $\emptyset$. If CharacterVariant=2 is not loaded
2344 the \verb|\emptyset| will give the proper Unicode character, that is $\varnothing$.
2345
2346 If users want to have access to both symbols, $\emptyset$ with \verb|\emptyset|
2347 and $\varnothing$ with \verb|\varnothing| in the same document then this can by done
2348 with the next four lines.
2349
2350 \begin{verbatim}
2351 \setmathfont[CharacterVariant=2]{NewCMMath-Regular.otf}
2352 \AtBeginDocument{%
2353 \renewcommand{\emptyset}{\char"2205}%
2354 \renewcommand{\varnothing}{\char"2300}}
2355 \end{verbatim}
2356
2357 The \verb|fontsetup| package defaults to the \TeX-default empty set ($\emptyset$) and
2358 provides the option
2359 `\verb|varnothing|' to easily switch to the alternative character.
2360
2361 \subsubsection{Other alternative symbols}
2362
2363 The Unicode standard defines more alternative symbols as for the emptyset above
2364 using variation selector characters U+FE00 and U+FE01.
2365 %%%https://www.unicode.org/Public/UCD/latest/ucd/StandardizedVariants.txt
2366 NewCM Math fonts support all variations suggested by Unicode (except U+FF10
2367 as this is to be used with CJK fonts, not with math).
2368 The Unicode method
2369 is that we get a variation of the original glyph if it is followed
2370 by U+FE00 or U+FE01. However, this method is not supported yet by the Unicode \TeX\ engines.
2371 One block of such characters are the script capitals, chancery or roundhand.
2372 \TeX\ access to those is described before, in Section~\ref{mathscript}.
2373 The rest are the following:
2374 \begin{center}
2375 \usebox{\vsbox}
2376 \end{center}
2377 As we did for the empty set, we have included these variations in \verb|cv01|. When
2378 enabled it will produce the varied characters:
2379 \begin{center}
2380 $0, \cap, \cup, \lneqq,\gneqq,
2381 \lesssim,\gtrsim,\subsetneq,\supsetneq, \sqcap,\sqcup,\oplus,\otimes,
2382 \circledequal,\lesseqgtr,\gtreqless,\circledparallel,\intprod,\intprodr,
2383 \simless,\simgtr,\smte,\late,\subsetneqq,\supsetneqq$
2384 \end{center}
2385
2386
2387 \subsubsection{Additional symbols}
2388
2389 %\newcommand{\twoheadhookrightarrow}{\char"E034}
2390 %\newcommand{\twoheadhookleftarrow}{\char"E035}
2391 %\newcommand{\increasingconcave}{\char"E03A}
2392 %\newcommand{\increasingconvex}{\char"E03B}
2393 %\newcommand{\decreasingconcave}{\char"E03C}
2394 %\newcommand{\increasingconvex}{\char"E03D}
2395
2396
2397 It also provides four more arrows that correspond to the commands
2398
2399 \medskip
2400
2401 \verb|\nrightrightarrows| ($\nrightrightarrows$) \quad \verb|\nleftleftarrows| ($\nleftleftarrows$)
2402
2403
2404
2405 \verb|\twoheadhookrightarrow| ($\twoheadhookrightarrow$)\quad \verb|\twoheadhookleftarrow| ($\twoheadhookleftarrow$)
2406
2407 \noindent and
2408
2409 \verb|\increasingconcave| ($\increasingconcave$)\quad \verb|\increasingconvex| ($\increasingconvex$)
2410
2411 \verb|\decreasingconcave| ($\decreasingconcave$)\quad \verb|\increasingconvex| ($\increasingconvex$)
2412
2413 \medskip
2414
2415 \noindent
2416 and supported by the \verb|default|, \verb|olddefault| and \verb|sansdefault|
2417 options of the \verb|fontsetup| package.
2418 These symbols are not in the Unicode Standard and so they are added in the
2419 Private Area of the fonts. The later four arrows are needed when making tables describing
2420 the behavior of functions when they are studied in Calculus.
2421
2422 \subsubsection{Additional operators}
2423
2424 An operator for convolution of functions seems to have long been forgotten from both
2425 Unicode and the \TeX\ world.
2426 The \verb|default| and \verb|olddefault| options of the \verb|fontsetup| package
2427 define a new command \verb|\convolution| which behaves just like the \verb|\sum| and
2428 \verb|\int| operators.
2429 The convolution of $N$ functions in inline mode: $\convolution_{n=1}^N f_n$ and the same
2430 in display mode: $$\convolution_{n=1}^N f_n.$$
2431
2432 \subsubsection{``Smoother'' changing radicals}
2433
2434 One more radical size has been added that improves the way radical sizes change. Compare
2435 the previous state
2436 \setmathfont{latinmodern-math.otf}
2437 $$\sqrt{q}\quad\sqrt{q_1^2}\quad\sqrt{q_1^{2^3}}\quad\sqrt{\frac12}$$ with the new one
2438 \setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}
2439 $$\sqrt{q}\quad\sqrt{q_1^2}\quad\sqrt{q_1^{2^3}}\quad\sqrt{\frac12}.$$
2440
2441
2442 \subsection{Notes on Mathematics}
2443
2444 Extensible tildes and hats produce different results
2445 with \XeLaTeX\ and \LuaLaTeX\ because these unicode
2446 engines treat differently the width of characters. In particular, \XeLaTeX\ handles italic
2447 correction as part of the character width but \LuaLaTeX\ does this only if a character
2448 follows. This affects how extensible accents like \verb|\widehat| or \verb|\widetilde|
2449 select the proper size. With \XeLaTeX, \verb|\widetilde{Y}| \verb|\widetilde{X}| will give the
2450 expected result $\widetilde{Y}\widetilde{X}$; but with \LuaLaTeX\ the letter $Y$ is
2451 narrower (and its italic correction is not taken into account if it stands alone)
2452 and gets the plain tilde size, as in $\tilde{Y}$. To bypass this with \LuaLaTeX\ one
2453 has to use a zero width character after a letter such as $Y$ so that
2454 \LuaLaTeX\ takes into account the italic correction of $Y$. For example with
2455 \begin{center}\verb|\widetilde{Y\Uchar"200D}|
2456 \end{center}
2457 the result will be correct (U+200D is the ``Zero Width Joiner'' in Unicode).
2458
2459 I thank Ulrike Fischer for this solution.
2460
2461
2462 \section{The Medieval Latin and Uncial Greek glyph complement}
2463
2464
2465 \displayfonttable[hex-digits=head+foot, range-end=03CE]{NewCMUncial10-Book.otf}[ExternalLocation=../otf/]
2466
2467
2468 \section{The Aegean Numbers glyph complement}
2469 \label{AegeanNumbers}
2470
2471 \begin{tabular}{|c|c||c|c|}\hline
2472 \verb|\aegeanseparator| &\aegeanseparator& \verb|\aegeaneighthundred| &\aegeaneighthundred\\ \hline
2473 \verb|\aegeanseparatordot| &\aegeanseparatordot& \verb|\aegeanninehundred| &\aegeanninehundred\\ \hline
2474 \verb|\aegeancheckmark| &\aegeancheckmark& \verb|\aegeanonethousand| &\aegeanonethousand\\ \hline
2475 \verb|\aegeanone| &\aegeanone& \verb|\aegeantwothousand| &\aegeantwothousand\\ \hline
2476 \verb|\aegeantwo| &\aegeantwo& \verb|\aegeanthreethousand| &\aegeanthreethousand\\ \hline
2477 \verb|\aegeanthree| &\aegeanthree& \verb|\aegeanfourthousand| &\aegeanfourthousand\\ \hline
2478 \verb|\aegeanfour| &\aegeanfour& \verb|\aegeanfivethousand| &\aegeanfivethousand\\ \hline
2479 \verb|\aegeanfive| &\aegeanfive& \verb|\aegeansixthousand| &\aegeansixthousand\\ \hline
2480 \verb|\aegeansix| &\aegeansix& \verb|\aegeanseventhousand| &\aegeanseventhousand\\ \hline
2481 \verb|\aegeanseven| &\aegeanseven& \verb|\aegeaneightthousand| &\aegeaneightthousand\\ \hline
2482 \verb|\aegeaneight| &\aegeaneight& \verb|\aegeanninethousand| &\aegeanninethousand\\ \hline
2483 \verb|\aegeanine| &\aegeanine& \verb|\aegeantenthousand| &\aegeantenthousand\\ \hline
2484 \verb|\aegeanten| &\aegeanten& \verb|\aegeantwentythousand| &\aegeantwentythousand\\ \hline
2485 \verb|\aegeantwenty| &\aegeantwenty& \verb|\aegeanthirtythousand| &\aegeanthirtythousand\\ \hline
2486 \verb|\aegeanthirty| &\aegeanthirty& \verb|\aegeanfourtythousand| &\aegeanfourtythousand\\ \hline
2487 \verb|\aegeanfourty| &\aegeanfourty& \verb|\aegeanfiftythousand| &\aegeanfiftythousand\\ \hline
2488 \verb|\aegeanfifty| &\aegeanfifty& \verb|\aegeansixtythousand| &\aegeansixtythousand\\ \hline
2489 \verb|\aegeansixty| &\aegeansixty& \verb|\aegeanseventythousand| &\aegeanseventythousand\\ \hline
2490 \verb|\aegeanseventy| &\aegeanseventy& \verb|\aegeaneightythousand| &\aegeaneightythousand\\ \hline
2491 \verb|\aegeaneighty| &\aegeaneighty& \verb|\aegeanninetythousand| &\aegeanninetythousand\\ \hline
2492 \verb|\aegeanninety| &\aegeanninety& \verb|\aegeanweightbaseunit| &\aegeanweightbaseunit\\ \hline
2493 \verb|\aegeanonehundred| &\aegeanonehundred& \verb|\aegeanweightfirstsubunit| &\aegeanweightfirstsubunit\\ \hline
2494 \verb|\aegeantwohundred| &\aegeantwohundred& \verb|\aegeanweightsecondsubunit| &\aegeanweightsecondsubunit\\ \hline
2495 \verb|\aegeanthreehundred| &\aegeanthreehundred& \verb|\aegeanweightthirdsubunit| &\aegeanweightthirdsubunit\\ \hline
2496 \verb|\aegeanfourhundred| &\aegeanfourhundred& \verb|\aegeanweightfourthsubunit| &\aegeanweightfourthsubunit\\ \hline
2497 \verb|\aegeanfivehundred| &\aegeanfivehundred& \verb|\aegeandrymeasurefirstsubunit| &\aegeandrymeasurefirstsubunit\\ \hline
2498 \verb|\aegeansixhundred| &\aegeansixhundred& \verb|\aegeanliquidmeasurefirstsubunit| &\aegeanliquidmeasurefirstsubunit\\ \hline
2499 \verb|\aegeansevenhundred| &\aegeansevenhundred& \verb|\aegeansecondsubunit| &\aegeansecondsubunit\\ \hline
2500 & & \verb|\aegeanthirdsubunit| &\aegeanthirdsubunit\\ \hline
2501 \end{tabular}
2502
2503
2504
2505 \begin{thebibliography}{9}
2506 \bibitem[\textsc{at}]{1} Antonis Tsolomitis, \textit{The NewComputerModern font family}, \textsc{tug}boat Vol.~\textsc{42}, No.~\textsc{1}, \textsc{2021}.
2507 \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},
2508 June \textsc{1993},
2509 pp.~\textsc{32--34}.
2510 \bibitem[web1]{stackexchangeitcor} \texttt{https://tex.stackexchange.com/a/697498}
2511 \bibitem[web2]{chancery} \texttt{https://tex.stackexchange.com/a/762017}
2512 \end{thebibliography}
2513 \end{document}