summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex')
-rw-r--r--macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex31
1 files changed, 29 insertions, 2 deletions
diff --git a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
index a473973606..49b7904ca2 100644
--- a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
+++ b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
@@ -1,5 +1,9 @@
\documentclass{book}
+\synctex=1
\usepackage[default]{fontsetup}
+\newfontfamily\newcmgreekguillemots[CharacterVariant=4]{NewCM10-Book.otf}
+\newcommand\quoteleft{\char"201C}
+\newcommand\quoteright{\char"201E}
\usepackage{graphicx,fullpage,supertabular}
\AtBeginDocument{\def\varnothing{\char"2300}\def\emptyset{\char"2205}}
\begin{document}
@@ -10,8 +14,8 @@
\textit{by}\\[1ex]
{\large Antonis Tsolomitis}\\
University of the Aegean\\ Department of Mathematics\\[1ex]
- \textsc{19} Oct \textsc{2021}\\[1ex]
- Version 1.03, \textsc{gpl3}
+ \textsc{9} Dec \textsc{2021}\\[1ex]
+ Version 1.1, \textsc{gpl3}
\end{center}
This package is a simple wrapper-type package that makes the setup of fonts easy and
@@ -65,6 +69,26 @@ University of the Aegean\\ Department of Mathematics\\[1ex]
to select the fonts properly or \verb|\textipa{...}| and \verb|\textsansipa{...}| to select the fonts
for IPA symbols locally. Compare \textipa{ðŋβθχ}
(produced with \verb|\textipa{ðŋβθχ}|) with ðŋβθχ.
+ \item If the xgreek package is loaded before fontsetup this will be detected and the package
+ will load the fonts with correct anoteleia, greek guillemots and proper apostrophe for
+ Greek. It will also enable the commands \verb|\quoteleft| and \verb|\quoteright| for proper
+ quotes inside quotes. For an example, writing
+
+ \verb|«φώναζε: \quoteleft απ' έξω την προπαίδεια\quoteright»· σαν εκδίκηση ακουγόταν\ldots|
+
+ will give
+
+\begin{center}
+{\newcmgreekguillemots «φώναζε: \quoteleft απ' έξω την προπαίδεια\quoteright»· σαν εκδίκηση ακουγόταν\ldots}
+\end{center}
+For more information and references see the documentation of the
+NewComputerModern font family.
+ \item commands to access ``up'' versions of Greek letters for Chemistry: Use \verb|chemalpha|,
+ \verb|\chembeta|, \verb|\chemgamma| etc and similarly for uppercase (\verb|\chemAlpha| etc).
+ For example, \verb|\chembeta-gucan| gives ``\chembeta-gucan'' and \verb|\chemkappa-component|
+ gives ``\chemkappa-component''.
+ \item commands for Medieval Latin and Uncial Greek:
+ use \verb|{\uncial text}| or \verb|\textuncial{text}|.
\end{itemize}
\item[olddefault] Loads the NewComputerModern fonts (in Regular weight)
similarly to the default option.
@@ -309,4 +333,7 @@ The following table lists the commands and the symbol produced for the Unicode r
\end{center}
+
+
+
\end{document}