summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex181
1 files changed, 169 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex b/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex
index 7e20605e67e..d8d7356d377 100644
--- a/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex
+++ b/Master/texmf-dist/doc/fonts/newcomputermodern/newcm-doc.tex
@@ -95,13 +95,13 @@ Language=Nepali,
\renewcommand{\arraystretch}{1.4}
-\title{The New Computer Modern FontFamily\\ version 5.1}
+\title{The New Computer Modern FontFamily\\ version 5.2.0}
\author{Antonis Tsolomitis}
%\address{Department of Mathematics\\ University of the Aegean\\ Karlovassi, 832\,00 Samos\\ Greece}
%\netaddress{atsol (at) aegean dot gr}
%\personalURL{https://myria.math.aegean.gr/~atsol/}
%%% End of metadata %%%
-\usepackage{pstricks}
+\usepackage{pstricks,hvlogos}
\begin{document}
%
@@ -344,8 +344,8 @@ accents one after the other, but the pdf produced by xetex or luatex will have t
\subsubsection{Coloring diacritics}
If one wants to use color for diacritics, different from the color of the base character
-this does not work with Xe\LaTeX\ (the commands of the \verb|color| package
-break the stacking mechanism). It works though with Lua\LaTeX\ using the \verb|luacolor|
+this does not work with \XeLaTeX\ (the commands of the \verb|color| package
+break the stacking mechanism). It works though with \LuaLaTeX\ using the \verb|luacolor|
package. However, there is a problem when the base glyph and the first diacritic above
exist in the font as a precomposed character. For example, this is the case
with aacute (á) (U+00E1). Such characters are treated as one by Lua and they can not
@@ -669,13 +669,105 @@ A few letters from Coptic and Epact numbers follow:
\section{Cherokee}
Both Unicode blocks
-U13A0--13FF and UAB70--UABBF for Cherokee are supported. A few letters are:
+U13A0--13FF and UAB70--UABBF for Cherokee are supported.
+% A few letters are:
%\begin{center}
- ᎣᎤᎹᏊᏐ ꭳꭴꭷꮂꮔꮿ
+% ᎣᎤᎹᏊᏐ ꭳꭴꭷꮂꮔꮿ
%\end{center}
+The samples below were kindly provided by Sedi Eastwood:
+\medskip
+
+\noindent Sample 1:
+\begin{center}
+\begin{tabular}{ll}
+ \begin{minipage}{5cm} ᎬᏣᎵᏨᏗᏣᏓᏲᎯᏍᏗ ᎢᏤᎮᏍᏗ\\
+ \textsf{ᎬᏣᎵᏨᏗᏣᏓᏲᎯᏍᏗ ᎢᏤᎮᏍᏗ}
+\end{minipage}
+ &
+ \begin{minipage}{6cm}
+ Live/exist in a manner that there is never a reason or purpose to let go of one another.\\
+ (gvjalijvdijadayohisdi ijehesdi\\
+\hphantom{(}gvtsalitsvditsadayohisdi itsehesdi)
+ \end{minipage}
+\end{tabular}
+\end{center}
+
+
+\medskip
+
+\noindent Sample 2:
+\begin{center}
+\begin{tabular}{ll}
+\begin{minipage}{4cm} ᏕᏣᏓᎨᏳᏎᏍᏗ\\ \textsf{ᏕᏣᏓᎨᏳᏎᏍᏗ}
+\end{minipage}
+ &
+ \begin{minipage}{6cm}
+ Value the existence of one another.\\
+ (dejadageyusesdi\\
+\hphantom{(}detsadageyusesdi)
+ \end{minipage}
+\end{tabular}
+\end{center}
+
+\medskip
+
+\noindent Sample 3:
+\begin{center}
+\begin{tabular}{ll}
+\begin{minipage}{4cm} ᎥᎵᏍᎨᏗ ᏕᏣᏓᏰᎸᏎᏍᏗ\\ \textsf{ᎥᎵᏍᎨᏗ ᏕᏣᏓᏰᎸᏎᏍᏗ}
+\end{minipage}
+ &
+ \begin{minipage}{6cm}
+ Think of one another as sacred or hold the existence of others sacred.\\
+ (vlisgedi dejadayelvsesdi)
+ \end{minipage}
+\end{tabular}
+\end{center}
+
+
+\section{Canadian Aboriginal Syllabics}
+
+\newfontfamily{\textsfca}[BoldFont=NewCMSans10-Bold.otf,%
+ItalicFont=NewCMSans10-BookOblique.otf]{NewCMSans10-Book.otf}
+
+Canadian Aboriginal Syllabics are supported in the sans font.
+The full Unicode blocks are covered, which are
+U1400--U167F, U18B0--U18F5, and U11AB0--U11ABF.
+
+Some examples in Blackfoot Siksiká:
+
+\noindent Blackfoot-speaking real people: {\textsfca ᖹᐟᒧᐧᒣᑯ}
+Siksiká: {\textsfca ᓱᖽᐧᖿ}\\
+Siksikáíʼpowahsin: {\textsfca ᓱᘁᓱᘁᖳᐟᑲᖷᑊᓱᐡ} In bold: {\textsfca\bfseries ᓱᘁᓱᘁᖳᐟᑲᖷᑊᓱᐡ}\\
+Niitsipowahsin: {\textsfca ᖹᐨᓱᑲᖷᑊᓱᐡ} In oblique: {\textsfca\itshape ᖹᐨᓱᑲᖷᑊᓱᐡ}
+
+\medskip
+
+Some more in Cree:
+
+\begin{tabular}{l|l}
+\begin{minipage}{5.5cm}
+\noindent{\textsfca ᐌᐘᑯ ᐅᒪ ᐊᓯᓂᐏᒣᓂᑲᐣ ᑭᒥᓇᐘᐠ}\\
+{\textsfca ᐃᓂᓂᐘᐠ ᒪᓂᑐᐸ ᑲᐊᔭᒋᐠ᙮ ᐁᐘᑿᓂᐠ ᐅᑭ}\\
+{\textsfca ᑲᓄᒋᐦᑕᒋᐠ ᐊᓯᓂᐏᐊᑐᐢᑭᐃᓂᓂᐤ ᑲᑭᒥᓂᐦᒋᐠ}\\
+{\textsfca ᐅᒣᓂᐤ᙮ ᐊᑿᓂ ᒥᑕᐦᑐᒥᑕᓇᐤ ᐊᐢᑭᐩ ᐊᓴᐩ}\\
+{\textsfca ᐁᐊᑐᐢᑫᒋᐠ ᐅᑕ ᒪᓂᑐᐸ᙮}
+\end{minipage}
+ &
+\begin{minipage}{4.8cm}
+{\sffamily The masonry for the wall through time
+ has been given to people of Manitoba
+ by the international union of bricklayers
+ and allied craftsmen local one Manitoba
+ to commemorate 100 years of service, by
+ Manitoba masonry contractors and by Manitoba
+ masonry suppliers.}
+\end{minipage}
+\end{tabular}
+
\section{Devanagari}
Devanagari script is supported for the serifed font in Regular (10pt/8pt), Book (10pt/8pt),
@@ -686,7 +778,7 @@ must include
\noindent \verb|Script=Devanagari, Language=XXXX| where \verb|XXXX|
must be replaced with one of \verb|Hindi|, \verb|Sanskrit|, \verb|Marathi|, \verb|Nepali|.
If the \verb|Language| parameter is not set then the default is \verb|Hindi|.
-For Lua\LaTeX\ the parameter \verb|Renderer=Harfbuzz| must also be included.
+For \LuaLaTeX\ the parameter \verb|Renderer=Harfbuzz| must also be included.
So if say Marathi is needed as the default font document then one can use the following:
\begin{verbatim}
@@ -930,6 +1022,18 @@ Next we give a real example of using \acro{\textsc{ipa}} symbols. The quote belo
{\ipafont [t̪y]} ``you.''
\end{quote}
+A recent addition for \textsc{ipa} is the support of the Unicode block U1D80--U1DBF which
+includes more letters with palatal and retroflex hook and more modifier small letters.
+Eg.
+\begin{center}
+ \begin{tabular}{|c|c|}\hline
+Upright & Italic\\ \hline
+ ᶀ ᶂ ᶈ ᶉ ᶋ ᶌ ᶕ ᶔ ᶙ ᶚ ᶛ ᶞ ᶽ ᶿ &\textit{ᶀ ᶂ ᶈ ᶉ ᶋ ᶌ ᶕ ᶔ ᶙ ᶚ ᶛ ᶞ ᶽ ᶿ}\\ \hline
+ Sans Upright & Sans Oblique\\ \hline
+ \textsf{ᶀ ᶂ ᶈ ᶉ ᶋ ᶌ ᶕ ᶔ ᶙ ᶚ ᶛ ᶞ ᶽ ᶿ}& \textsf{\itshape ᶀ ᶂ ᶈ ᶉ ᶋ ᶌ ᶕ ᶔ ᶙ ᶚ ᶛ ᶞ ᶽ ᶿ}\\
+ \hline
+ \end{tabular}
+\end{center}
@@ -945,6 +1049,32 @@ NewCM fixes that and provides a true BoldSans:
\end{tabular}
+\section{Food Allergies}
+
+Food allergy symbols have long been proposed to be accepted to
+Unicode standard but there has not been any progress up to now.
+The Sans 10 Regular and Book include standard allergy symbols
+in the Private Use Area. Each glyph is named after what it represents.
+For example, the soya symbol is named ``soya'' so copying the symbol
+from a pdf file and pasting elsewhere you will get its name, that is ``soya''.
+The symbols are in positions U+E033 to U+E040 and can be accessed using the
+commands of the next table.
+\begin{sffamily}
+ \newcommand{\fdal}[2]{\begin{minipage}[c]{2.5cm}\begin{center}\ \ \\[1.5ex] \scalebox{4}{\char"#1}\\ \textsc{#2}\\[-1ex] \ \ \end{center}\end{minipage}}
+% \newcommand\crustaceans{\begin{minipage}[c]{1cm}\begin{center}\scalebox{4}{\char"E033}\\ \textsc{crustaceans}\end{center}\end{minipage}}
+%\newcommand\eggs{\begin{minipage}[c]{1cm}\scalebox{4}{\char"E034}\\ \textsc{eggs}\end{minipage}}
+\begin{center}
+ \begin{tabular}{|l|c||l|c|}\hline
+ \verb|\char"E033| & \fdal{E033}{crustaceans} & \verb|\char"E034| & \fdal{E034}{eggs}\\ \hline
+ \verb|\char"E035| & \fdal{E035}{gluten} & \verb|\char"E036| & \fdal{E036}{fish}\\ \hline
+ \verb|\char"E037| & \fdal{E037}{lupin} & \verb|\char"E038| & \fdal{E038}{milk}\\ \hline
+ \verb|\char"E039| & \fdal{E039}{molluscs} & \verb|\char"E03A| & \fdal{E03A}{mustard}\\ \hline
+ \verb|\char"E03B| & \fdal{E03B}{peanut} & \verb|\char"E03C| & \fdal{E03C}{sesame}\\ \hline
+ \verb|\char"E03D| & \fdal{E03D}{soya} & \verb|\char"E03E| & \fdal{E03E}{treenuts}\\ \hline
+ \verb|\char"E03F| & \fdal{E03F}{celery} & \verb|\char"E040| & \fdal{E040}{SO$_2$}\\ \hline
+ \end{tabular}
+\end{center}
+\end{sffamily}
\section{Unicode Math coverage and options}
@@ -1079,6 +1209,10 @@ $$\mathbb{abcdefghijklmnopqrstuvwxyz}$$
$$\mathbb{0123456789\ \pi\gamma\Gamma\Pi\Sigma\mitBbbD\mitBbbd\mitBbbe\mitBbbi\mitBbbj}$$
\setmathfont{NewCMMath-Book.otf}
+\newsavebox{\emptysetdefault}
+\savebox{\emptysetdefault}{$\emptyset$}
+
+\setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}
If using the latest \verb|fontsetup| (to be released soon)
then you can choose the NewCM blackboard bold
@@ -1113,7 +1247,7 @@ for the regular weight.
Moreover, extensible integrals are supported by the fonts but \textit{NOT} by the Unicode TeX
engines.
The following code is a trick so that extensible integrals can be
-constructed using Lua\LaTeX. The result is shown at the end
+constructed using \LuaLaTeX. The result is shown at the end
of the article.
What the code below does, is that it defines the slot uni222B (integral) as
a delimiter. And then this is extended as a delimiter with the mechanism that
@@ -1145,19 +1279,23 @@ $
\subsection{Additional and alternative characters in Math}
The Math fonts provide the character \verb|\varnothing| ($\varnothing$), as
-an alternative to \verb|\emptyset| (a slashed zero),
+an alternative to \verb|\emptyset| (\usebox{\emptysetdefault}),
through Character Variant \verb|cv01|. The \verb|fontsetup| package provides the option
`\verb|varnothing|' to easily switch to the alternative character.
-It also provides two more symbols that correspond to the commands
+\newcommand{\twoheadhookrightarrow}{\char"E034}
+\newcommand{\twoheadhookleftarrow}{\char"E035}
+
+It also provides four more symbols that correspond to the commands
\medskip
- \verb|\nrightrightarrows| ($\nrightrightarrows$)
+ \verb|\nrightrightarrows| ($\nrightrightarrows$) \quad \verb|\nleftleftarrows| ($\nleftleftarrows$)
\noindent and
-\verb|\nleftleftarrows| ($\nleftleftarrows$)
+\verb|\twoheadhookrightarrow| ($\twoheadhookrightarrow$)\quad \verb|\twoheadhookleftarrow| ($\twoheadhookleftarrow$)
+
\medskip
@@ -1166,6 +1304,25 @@ and supported by the \verb|default| and \verb|olddefault| options of the \verb|f
These symbols are not in the Unicode Standard and so they are added in the
Private Area of the fonts.
+\subsection{Notes on Mathematics}
+
+Extensible tildes and hats produce different results
+with \XeLaTeX\ and \LuaLaTeX\ because these unicode
+engines treat differently the width of characters. In particular, \XeLaTeX\ handles italic
+correction as part of the character width but \LuaLaTeX\ does this only if a character
+follows. This affects how extensible accents like \verb|\widehat| or \verb|\widetilde|
+select the proper size. With \XeLaTeX, \verb|\widetilde{Y}| \verb|\widetilde{X}| will give the
+expected result $\widetilde{Y}\widetilde{X}$; but with \LuaLaTeX\ the letter $Y$ is
+narrower (and its italic correction is not taken into account if it stands alone)
+and gets the plain tilde size, as in $\tilde{Y}$. To bypass this with \LuaLaTeX\ one
+has to use a zero width character after a letter such as $Y$ so that
+\LuaLaTeX\ takes into account the italic correction of $Y$. For example with
+\begin{center}\verb|\widetilde{Y\Uchar"200D}|
+\end{center}
+the result will be correct (U200D is the ``Zero Width Joiner'' in Unicode).
+
+I thank Ulrike Fischer for this solution.
+
\section{The Medieval Latin and Uncial Greek glyph complement}