diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex | 81 |
1 files changed, 39 insertions, 42 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex index 97d58a63b38..d878be48d8f 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex @@ -7,26 +7,17 @@ \usepackage{fontspec} % \setmainfont{DejaVu Serif} % \setsansfont{DejaVu Sans} -\usepackage{libertineotf} +% \usepackage{libertineotf} +\setmainfont{Linux Libertine O} +\setsansfont{Linux Biolinum O} % \setmainfont{FreeSerif} -% Declare the font encoding: -\ifdefined\XeTeXrevision - % \DeclareFontEncoding{EU1}{}{} - \usepackage[EU1]{fontenc} -\fi -\ifdefined\luatexversion - % \DeclareFontEncoding{EU2}{}{} - \usepackage[EU2]{fontenc} -\fi - +% Declare the font encoding and Greek LICR definitions: +\usepackage{greek-fontenc} +% Optionally load the xunicode package: % \newcommand{\UTFencname}{\LastDeclaredEncoding} % \usepackage{xunicode} -\makeatletter -% Greek LICR definitions: -\input{greek-euenc.def} -\makeatother \begin{document} @@ -40,25 +31,25 @@ the “Linux Libertine” OpenType fonts. \section{LICR input} -% The example from \texttt{usage.tex} in \emph{babel-greek} input -% using the LICR macros: - -% \begin{quote} -% \textTau\'\textiota{} -% \textphi\'\texteta\textiota\textfinalsigma\texterotimatiko{} -% \<\textIota\textdelta\`\textomega\textnu{} -% \>\textepsilon\textnu\texttheta\'\textepsilon\textdelta\textepsilon{} -% \textpi\textalpha\~\textiota\textdelta\'\' -% \>\textepsilon\textlambda\textepsilon\textupsilon\texttheta\'\textepsilon\textrho\textalpha\textnu\\ -% \texttau\`\textalpha\textfinalsigma{} -% \textpi\textlambda\texteta\textautosigma\'\textiota\textomicron\textnu{} -% \textNu\'\textupsilon\textmu\textphi\textalpha\textfinalsigma{} -% \textautosigma\texttau\textepsilon\textphi\textalpha\textnu\textomicron\~\textupsilon\textautosigma\textalpha\textnu{}, -% \textSigma\'\textomega\textautosigma\texttau\textrho\textalpha\texttau\textepsilon{},\\ -% \>\textepsilon\textrho\~\textomega\textnu{} -% \'\textalpha\textpi\~\texteta\textlambda\texttheta\textepsilon\textfinalsigma{} -% \textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{} -% \end{quote} +The example from \texttt{usage.tex} in \emph{babel-greek} input +using the LICR macros: + +\begin{quote} + \textTau\'\textiota{} + \textphi\'\texteta\textiota\textfinalsigma\texterotimatiko{} + \<\textIota\textdelta\`\textomega\textnu{} + \>\textepsilon\textnu\texttheta\'\textepsilon\textdelta\textepsilon{} + \textpi\textalpha\~\textiota\textdelta\'\' + \>\textepsilon\textlambda\textepsilon\textupsilon\texttheta\'\textepsilon\textrho\textalpha\textnu\\ + \texttau\`\textalpha\textfinalsigma{} + \textpi\textlambda\texteta\textsigma\'\textiota\textomicron\textnu{} + \textNu\'\textupsilon\textmu\textphi\textalpha\textfinalsigma{} + \textsigma\texttau\textepsilon\textphi\textalpha\textnu\textomicron\~\textupsilon\textsigma\textalpha\textnu{}, + \textSigma\'\textomega\textsigma\texttau\textrho\textalpha\texttau\textepsilon{},\\ + \>\textepsilon\textrho\~\textomega\textnu{} + \'\textalpha\textpi\~\texteta\textlambda\texttheta\textepsilon\textfinalsigma{} + \textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{} +\end{quote} \subsection{Greek alphabet} @@ -80,8 +71,10 @@ Greek letters via LICR macros: The small sigma is set with a different glyph if it ends a word: - \textsigma{} textsigma \\ - \textfinalsigma{} textfinalsigma or textvarsigma +\begin{itemize} + \item[\textsigma] textsigma + \item[\textfinalsigma] textfinalsigma or textvarsigma +\end{itemize} In the Latin transcription, the letter `s' stands for \verb|\textautosigma| which automatically chooses the glyph according to the position. @@ -116,12 +109,14 @@ Unicode standard: \begin{tabular}{cccc} math symbol & Unicode «letter» & var math symbol & Unicode «symbol» \\ -$\epsilon$ & ε & $\varepsilon$ & ϵ \\ -$\kappa$ & κ & \emph{missing} & ϰ \\ $\pi$ & π & $\varpi$ & ϖ \\ $\rho$ & ρ & $\varrho$ & ϱ \\ $\theta$ & θ & $\vartheta$ & ϑ \\ +$\epsilon$ & ε & $\varepsilon$ & ϵ \\ $\phi$ & φ & $\varphi$ & ϕ \\ +$\beta$ & β & \emph{missing} & ϐ \\ +$\kappa$ & κ & \emph{missing} & ϰ \\ +$\Theta$ & Θ & \emph{missing} & ϴ \\ \end{tabular} \subsection{Diacritics} @@ -204,9 +199,10 @@ X\prosgegrammeni, see also the \emph{Greek extended} Unicode block below. Both, the standard LaTeX and the “xunicode” composite mechanism require the first part of a composite definition to be a macro requiring one -argument. I.e. selecting pre-defined characters with sub-iota requires -prefix \verb|\accypogegrammeni{}| and \verb|\accprosgegrammeni| accent -macros. +argument. I.e. selecting pre-defined characters with sub-iota would require +prefix \verb|\accypogegrammeni| and \verb|\accprosgegrammeni| accent +macros and composite definitions for all combination of letters and letters +with diacritic and sub-iota. \subsection{Greek and Coptic Unicode block} @@ -584,4 +580,5 @@ Deja Vu). The “FreeSerif” font works fine. \textpentemuria % GREEK ACROPHONIC ATTIC FIFTY THOUSAND -\end{document} +\end{document} + |