diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex | 114 |
1 files changed, 80 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex index 1138d52a0b7..3e8cdb8f8f7 100644 --- a/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex +++ b/Master/texmf-dist/doc/latex/greek-inputenc/greek-utf8.tex @@ -55,22 +55,23 @@ There are several alternatives to activate Greek Unicode input for 8-bit TeX% The XeTeX and LuaTeX engines use utf8 as native input encoding. They do not require (and, except in 8-bit compatibility mode, do not work with) the \emph{inputenc} and \emph{greek-inputenc} packages.} -% +% (see also the source document \url{greek-utf8.tex}): \begin{itemize} \item -Define the LGR font encoding and the UTF8 input encoding, e.g., +Define the LGR font encoding and the UTF8 input encoding (the order does not +matter), e.g., % \begin{verbatim} \usepackage[T1,LGR]{fontenc} \usepackage[utf8]{inputenc} \end{verbatim} % -Ensure, LGR is the active font encoding whenever a Greek character is -used in the text. +Ensure that LGR is the active font encoding whenever a Greek character is +used in the text (see below). \item For text in the Greek language, it is recommended to use the @@ -101,7 +102,7 @@ detailled examples). In combination with the \emph{textalpha} package from \href{http://www.ctan.org/pkg/greek-fontenc}{greek-fontenc}, Greek Unicode characters can be used in text with any font encoding -- just like the -symbols provided by package ``textcomp'' (i.e. with some limitations +symbols provided by the ``textcomp'' package (i.e. with some limitations described in \href{http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha-doc.pdf}% {textalpha-doc}). With the preamble lines @@ -142,11 +143,14 @@ Latin words and abbreviations in Greek text, e.g., not \foreignlanguage{greek}{((ηία αντίσταση 750-kΩ))} but \foreignlanguage{greek}{((ηία αντίσταση 750-\textlatin{k}Ω))} -Special care is also required with the question mark characters: While the -Unicode standard says character 003B SEMICOLON and not 037E, is the -preferred character for `Greek question mark', the LGR font encoding maps it -to a middle dot (ano teleia), while the Latin question mark is mapped to the -erotimatiko. +Special care is also required with the question mark characters: +\begin{itemize} + \item The Unicode standard says character 003B SEMICOLON and not 037E GREEK + QUESTION MARK, is the preferred character for a `Greek question + mark' (erotimatiko), + \item The LGR font encoding maps a SEMICOLON to a middle dot (ano teleia), + while the Latin question mark ``?'' is mapped to the erotimatiko. +\end{itemize} As a result, only the deprecated character 037E GREEK QUESTION MARK works with both, Xe/LuaTeX and 8-bit TeX. Compare the source \url{greek-utf8.tex} and the PDF output: @@ -170,8 +174,6 @@ with an LGR-encoded font. \subsection{Greek and Coptic} -legend: * glyph missing in LGR, [space] Unicode point not defined - \noindent % \selectlanguage{greek} \begin{tabular}{rrrrrrrrrrrrrrrrr} @@ -191,6 +193,10 @@ legend: * glyph missing in LGR, [space] Unicode point not defined \end{tabular} \selectlanguage{english} +\noindent +legend: * glyph missing in LGR, [space] Unicode point not defined + + \subsection{Greek Extended} % \selectlanguage{greek} @@ -221,27 +227,27 @@ legend: * glyph missing in LGR, [space] Unicode point not defined \subsection{Other Unicode Blocks} +\begin{description} + +\item [Latin-1 Supplement]: \ensuregreek{¨ « ¯ ´ · »} +\item [IPA Extensions]: \ensuregreek{ə} LATIN SMALL LETTER SCHWA +\item [Spacing Modifier Letters]: + \ensuregreek{˘a} (here followed by letter alpha) +\item [General Punctuation]: + \ensuregreek{– — ‘ ’ ‰} ZWNJ (zero width no joiner, prevents kerning + and ligatures, e.g. \ensuregreek{AU} vs. \ensuregreek{AU} and + \ensuregreek{'a} vs. \ensuregreek{'a}) +\item [Currency Symbols]: \ensuregreek{€} +\item [Letter-like Symbols]: Ω % OHM SIGN, preferred representation is 03A9 +\item [Ancient Greek Numbers]: \ensuregreek{ + 𐅄 % \textPiDelta{} % GREEK ACROPHONIC ATTIC FIFTY + 𐅅 % \textPiEta{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED + 𐅆 % \textPiChi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND + 𐅇 % \textPiMu{} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND + } +\end{description} -Latin-1 Supplement: \ensuregreek{¨ « ¯ ´ · »} - -IPA Extensions: \ensuregreek{ə} - -Spacing Modifier Letters: \ensuregreek{˘a} (here followed by letter alpha) - -General Punctuation: \ensuregreek{– — ‘ ’ ‰} ZWNJ (zero width no joiner, -prevents kerning and ligatures, e.g. \ensuregreek{AU} vs. \ensuregreek{AU} and -\ensuregreek{'a} vs. \ensuregreek{'a}) - -Currency Symbols: \ensuregreek{€} - -Letter-like Symbols: Ω % OHM SIGN, preferred representation is 03A9 - -Ancient Greek Numbers: \ensuregreek{ -𐅄 % \textPiDelta{} % GREEK ACROPHONIC ATTIC FIFTY -𐅅 % \textPiEta{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -𐅆 % \textPiChi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -𐅇 % \textPiMu{} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND -} +\newpage \section{Test up/downcasing} @@ -361,8 +367,6 @@ MakeUppercase: \MakeUppercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ } \selectlanguage{english} -\newpage - MakeLowercase: % \selectlanguage{greek} @@ -419,6 +423,48 @@ MakeLowercase does not change non-letter symbols, too: } \end{quote} +\section{Test kerning/ligatures} + + +check for kerning and unwanted ligatures: + +\begin{quote} + \greekscript + +Αἀα Αἁα Αἂα Αἃα Αἄα Αἅα Αἆα Αἇα ΑἈα ΑἉα ΑἊα ΑἋα ΑἌα ΑἍα ΑἎα ΑἏα + +Αἐα Αἑα Αἒα Αἓα Αἔα Αἕα ΑἘα ΑἙα ΑἚα ΑἛα ΑἜα ΑἝα + +Αἠα Αἡα Αἢα Αἣα Αἤα Αἥα Αἦα Αἧα ΑἨα ΑἩα ΑἪα ΑἫα ΑἬα ΑἭα ΑἮα ΑἯα + +Αἰα Αἱα Αἲα Αἳα Αἴα Αἵα Αἶα Αἷα ΑἸα ΑἹα ΑἺα ΑἻα ΑἼα ΑἽα ΑἾα ΑἿα + +Αὀα Αὁα Αὂα Αὃα Αὄα Αὅα ΑὈα ΑὉα ΑὊα ΑὋα ΑὌα ΑὍα + +Αὐα Αὑα Αὒα Αὓα Αὔα Αὕα Αὖα Αὗα ΑὙα ΑὛα ΑὝα ΑὟα + +Αὠα Αὡα Αὢα Αὣα Αὤα Αὥα Αὦα Αὧα ΑὨα ΑὩα ΑὪα ΑὫα ΑὬα ΑὭα ΑὮα ΑὯα + +Αὰα Αάα Αὲα Αέα Αὴα Αήα Αὶα Αία Αὸα Αόα Αὺα Αύα Αὼα Αώα + +Αᾀα Αᾁα Αᾂα Αᾃα Αᾄα Αᾅα Αᾆα Αᾇα Αᾈα Αᾉα Αᾊα Αᾋα Αᾌα Αᾍα Αᾎα Αᾏα + +Αᾐα Αᾑα Αᾒα Αᾓα Αᾔα Αᾕα Αᾖα Αᾗα Αᾘα Αᾙα Αᾚα Αᾛα Αᾜα Αᾝα Αᾞα Αᾟα + +Αᾠα Αᾡα Αᾢα Αᾣα Αᾤα Αᾥα Αᾦα Αᾧα Αᾨα Αᾩα Αᾪα Αᾫα Αᾬα Αᾭα Αᾮα Αᾯα + +Αᾰα Αᾱα Αᾲα Αᾳα Αᾴα Αᾶα Αᾷα ΑᾸα ΑᾹα ΑᾺα ΑΆα Αᾼα Α᾽α Αια Α᾿α + +Α῀α Α῁α Αῂα Αῃα Αῄα Αῆα Αῇα ΑῈα ΑΈα ΑῊα ΑΉα Αῌα Α῍α Α῎α Α῏α + +Αῐα Αῑα Αῒα Αΐα Αῖα Αῗα ΑῘα ΑῙα ΑῚα ΑΊα Α῝α Α῞α Α῟α + +Αῠα Αῡα Αῢα Αΰα Αῤα Αῥα Αῦα Αῧα ΑῨα ΑῩα ΑῪα ΑΎα ΑῬα Α῭α Α΅α Α`α + +Αῲα Αῳα Αῴα Αῶα Αῷα ΑῸα ΑΌα ΑῺα ΑΏα Αῼα Α´α Α῾α + +\end{quote} + \end{document} |