summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex93
1 files changed, 45 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex
index 9d6ea77936a..99a728573f2 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex
@@ -7,7 +7,7 @@
% It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding
% also with XeTeX/LuaTeX, if the »fontenc« package is loaded before
-% »fontspec«:
+% »fontspec« and »textalpha«:
\usepackage[LGR]{fontenc}
% Unicode font setup:
@@ -17,7 +17,7 @@
% \usepackage{libertineotf}
\setmainfont{Linux Libertine O}
\setsansfont{Linux Biolinum O}
-% \setmainfont{FreeSerif}%
+% \setmainfont{FreeSerif}%
% \setmainfont{Droid Sans}
% Declare the font encoding and Greek LICR definitions:
@@ -41,9 +41,10 @@ if the font encoding is set to one of the Unicode font encodings EU1 or EU2
(usually via the \href{http://www.ctan.org/pkg/fontspec}{fontspec} package
for font setup with LuaTeX and XeTeX).
-With the XeTeX or LuaTeX engines, the user should ensure that the selected
+With the XeTeX or LuaTeX engines, the user must ensure that the selected
font contains Greek glyphs (the default Latin Modern fonts have only capital
-Greek letters). Examples for suitable fonts are the “Deja Vu” or the
+Greek letters) --- there are no warnings for missing glyphs but empty spaces
+in the output document. Examples for suitable fonts are the “Deja Vu” or the
“Linux Libertine” OpenType fonts.
See the source of this document \url{greek-euenc-doc.tex} for a setup and
@@ -51,7 +52,7 @@ usage example.
\section{LICR input}
-LICR macros are a verbose but failsafe 7-bit ASCII encoding that works
+LICR macros are a verbose but fail-safe 7-bit ASCII encoding that works
unaltered under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro
definitions and generated text.
@@ -75,12 +76,10 @@ using LICR macros:
\textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{}
\end{quote}
-
\subsection{Greek alphabet}
Greek letters via LICR macros:
-
\textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{}
\textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{}
\textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{}
@@ -103,7 +102,8 @@ glyph if it ends a word:
In the Latin transcription defined by the 8-bit LGR font encoding, the
letter `s' stands for \verb|\textautosigma| which automatically chooses the
-glyph according to the position. This is not implemented for Unicode fonts.
+glyph according to the position. This macro/feature is not implemented for
+Unicode fonts.
\subsection{Additional Greek symbols}
@@ -115,7 +115,7 @@ glyph according to the position. This is not implemented for Unicode fonts.
% \textvarstigma{} textvarstigma \\ % no separate Unicode character
\textStigma{} textStigma (Sigma-Tau-Ligature in CB-fonts)%
\footnote{the name “stigma” originally applied to a medieval sigma-tau
- ligature, whose shape was confusably similar to the cursive
+ ligature, whose shape was confusingly similar to the cursive
digamma} \\ % Ϛ
\textsampi{} textsampi \\ % ϡ
\textSampi{} textSampi \\ % Ϡ
@@ -125,11 +125,11 @@ glyph according to the position. This is not implemented for Unicode fonts.
\textdexiakeraia{} textdexiakeraia \\ % ʹ
\textaristerikeraia{} textaristerikeraia \\ % ͵
-Mathematical notation uses variant shapes for pi, kappa, rho, theta, and phi
-as additional symbols. These variations have no syntactic meaning in Greek
-text and are not given separate code-points in the LGR text encoding. Some
-text fonts use the variant shapes in place of the “regular” ones as a
-stylistic choice.
+Mathematical notation uses variant shapes for pi, rho, theta, epsilon, phi,
+beta, kappa, and Theta as additional symbols. These variations have no
+syntactic meaning in Greek text and are not given separate code-points in
+the LGR text encoding. Some text fonts use the variant shapes in place of
+the “regular” ones as a stylistic choice.
TeX's concept of “standard” vs. “variant” symbols does not map to the
distinction between “Greek Letter ...” vs. “Greek Symbol ...” in the
@@ -137,36 +137,37 @@ Unicode standard:
\begin{tabular}{cccc}
\hline
-math symbol & Unicode “letter” & var math symbol & Unicode “symbol” \\
+\multicolumn{2}{c}{TeX math} & \multicolumn{2}{c}{Unicode} \\
+symbol & var symbol & “letter” & “symbol” \\
\hline
-$\pi$ & π & $\varpi$ & ϖ \\
-$\rho$ & ρ & $\varrho$ & ϱ \\
-$\theta$ & θ & $\vartheta$ & ϑ \\
+$\pi$ & $\varpi$ & π & ϖ \\
+$\rho$ & $\varrho$ & ρ & ϱ \\
+$\theta$ & $\vartheta$ & θ & ϑ \\
\hline
-$\epsilon$ & ε & $\varepsilon$ & ϵ \\
-$\phi$ & φ & $\varphi$ & ϕ \\
+$\epsilon$ & $\varepsilon$ & ε & ϵ \\
+$\phi$ & $\varphi$ & φ & ϕ \\
\hline
-$\beta$ & β & \emph{missing} & ϐ \\
-$\kappa$ & κ & \emph{missing} & ϰ \\
-$\Theta$ & Θ & \emph{missing} & ϴ \\
+$\beta$ & \emph{missing} & β & ϐ \\
+$\kappa$ & \emph{missing} & κ & ϰ \\
+$\Theta$ & \emph{missing} & Θ & ϴ \\
\hline
\end{tabular}
\subsection{Diacritics}
-Greek diacritcs can be input by named macro or symbol macro. Named macros
+Greek diacritics can be input by named macro or symbol macro. Named macros
are defined in xunicode-greek.sty for \verb|\LastDeclaredEncoding| (here
\LastDeclaredEncoding).
-\acctonos\textalpha \'\textalpha{} \acctonos x\'x
-\accvaria\textalpha \`\textalpha{} \accvaria x\`x
-\accdialytika\textiota \"\textiota{} \accdialytika x\"x
-\accperispomeni\textalpha \~\textalpha{} \accperispomeni x\~x
-\accpsili\textalpha \>\textalpha{} \accpsili x\>x
-\accdasia\textalpha \<\textalpha{} \accdasia x\<x
+\acctonos\textalpha \'\textalpha{} \acctonos x \'x
+\accvaria\textalpha \`\textalpha{} \accvaria x \`x
+\accdialytika\textiota \"\textiota{} \accdialytika x \"x
+\accperispomeni\textalpha \~\textalpha{} \accperispomeni x \~x
+\accpsili\textalpha \>\textalpha{} \accpsili x \>x
+\accdasia\textalpha \<\textalpha{} \accdasia x \<x
-There are currently no defintions for accent macros combined with literal
-unicode characters. Combining diacritical characters are used in the output.
+There are currently no definitions for accent macros combined with literal
+Unicode characters. Combining diacritical characters are used in the output.
\acctonos α \'α
\accvaria α \`α
@@ -180,8 +181,6 @@ precomposed characters.
As proof of concept, this document defines a composite command for
alpha with psili and perispomeni. Compare \<~α with \>~α.
-
-
Composite commands for combined diacritics are defined in
“greek-fontenc.def”, also for the \verb|\LastDeclaredEncoding|. There are
composite definitions for all precomposed characters, the fallback
@@ -211,7 +210,6 @@ definition uses combining characters:
Problems: Composite diacritics with breathings overlap when set using two
combining characters (in the tested fonts).
-
Upcasing with \verb|\MakeUppercase| drops diacritics (except
dialytika and sub-iota):
@@ -233,7 +231,6 @@ dialytika and sub-iota):
\accpsiliperispomeni\textiota \~>\textiota{} \accpsiliperispomeni x \~>x
}
-
However, when the tonos, varia, and perispomeni accents are input using the
symbol macros (\verb|\' \` \~|), they behave like standard accents with
XeTeX/LuaTeX. If these accents should be dropped by MakeUppercase, they must
@@ -245,7 +242,6 @@ be input as named macro:
\accperispomeni\textalpha \~\textalpha{} \accperispomeni x\~x
}
-
The sub-iota is input after the base letter.
Ligature definitions in the 8-bit LGR fonts ensure that precomposed
characters are used. This does not work with Unicode fonts:\footnote{%
@@ -254,7 +250,7 @@ characters are used. This does not work with Unicode fonts:\footnote{%
character. A capital letter + combining ypogegrammeni results in GREEK
CAPITAL LETTER ... WITH [.. AND] PROSGEGRAMMENI). This indicates that
the combining \emph{ypogegrammeni} should also be used together with
- captial base letters.}
+ capital base letters.}
\textalpha\ypogegrammeni{} x\ypogegrammeni{}
\textAlpha\prosgegrammeni{} X\prosgegrammeni,
@@ -383,7 +379,7 @@ Characters from the Greek Extended Unicode block are only partially
supported, accented characters with sub-iota currently use a combining
prosgegrammeni or ypogegrammeni character.
-For comparision, the LICR macro is followed by the corresponding literal
+For comparison, the LICR macro is followed by the corresponding literal
Unicode character:
\>\textalpha ἀ
@@ -662,10 +658,12 @@ defines the \verb|\textgreek| command for this purpose:
\section{Latin transcription}
The \verb|\textgreek| macro and LGR encoded fonts can also be used for the
-input of Greek letters via the \emph{Latin transcription} provided by this
-font encoding, e.g. «logos» becomes «\textgreek{logos}»
-and «\verb|\>aupn\'ia|»
-becomes «\textgreek{\>aupn\'ia}» (capitalized
+input of Greek letters via the \emph{Latin transcription} provided by the LGR
+font encoding%
+\footnote{see \emph{The LaTeX font guide} [fntguide.pdf] for details about
+font encodings.},
+e.g. «logos» becomes «\textgreek{logos}» and «\verb|\>aupn\'ia|» becomes
+«\textgreek{\>aupn\'ia}» (capitalised
«\textgreek{\MakeUppercase{\>aupn\'ia}}»). For details of the Latin
transliteration see the teubner package or the file usage.pdf from the
babel-greek package.
@@ -675,12 +673,11 @@ running in 8-bit compatibility mode because of the incompatibility between
Xe/LuaTeX and the inputenc package.
LICR macros work in both, Unicode font encoding and LGR: compare
-\>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
-\textrho\acctonos\textiota\textomicron\textupsilon{} (Unicode font set up
-via fontspec) vs.
+ \>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
+ \textrho\acctonos\textiota\textomicron\textupsilon{}
+(Unicode font set up via fontspec) vs.
\textgreek{\>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
\textrho\acctonos\textiota\textomicron\textupsilon}
-(LGR-encoded 8-bit font set up via NFSS commands, see \emph{The LaTeX font
-guide} [fntguide.pdf]).
+(LGR-encoded 8-bit font set up via NFSS commands).
\end{document}