diff options
author | Norbert Preining <preining@logic.at> | 2013-05-27 04:54:15 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2013-05-27 04:54:15 +0000 |
commit | 9b6d55826b81b01af1fd60c259bb57b13ed881d4 (patch) | |
tree | d37e746a78fd0bf7865aedb4b9a56e5446fb5efd /Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex | |
parent | 8103639268b02c8c5b27e1c2aac11e1bc5d92f22 (diff) |
greek-fontenc addition
git-svn-id: svn://tug.org/texlive/trunk@30721 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex | 85 |
1 files changed, 42 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex index 219738dec0d..8fe8862c207 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex @@ -23,6 +23,7 @@ \newcommand{\LGR}{\fontencoding{LGR}\selectfont} \newcommand{\Latin}{\fontencoding{T1}\selectfont} +\DeclareTextCommandDefault{\ensuregreek}[1]{{\fontencoding{LGR}\selectfont #1}} % \pagestyle{empty} % ------------------------------------------------------------------------- @@ -115,16 +116,16 @@ Ligature break up: AY fi \LGR AU "i $\mapsto$ \Latin Letter schwa and Euro symbol: % \textschwa (needs e.g. T3) \LGR \textschwa{}, \texteuro{} -\Latin +\Latin -Some symbol definitions expect a Latin font. Babel's lgrenc.def defines them -with \verb|\latintext|, however this macro is not guaranteed to be defined, -so it should not be used in a font encoding definition file. Instead, the +Some symbol definitions expect a Latin font. Babel redefines them with +\verb|\latintext|, however this macro is not guaranteed to be defined, so it +should not be used in a font encoding definition file. Instead, the textcomp.sty package should be used to provide the symbols for all font encodings. (Like any other Latin character, the ``sharp s'' (\ss) is not save to use when LGR is the active font encoding.) -Latin: +Latin: \textcopyright{} \textregistered{} \texttrademark{} @@ -136,7 +137,7 @@ LGR (with textcomp): \textregistered{} \texttrademark{} \SS{} (\Latin uppercase of \LGR \ss). -\Latin +\Latin \subsection{Greek alphabet} @@ -145,7 +146,7 @@ Greek letters via Latin transcription and LICR macros: \LGR \MakeUppercase{a b g d e z h j i k l m n x o p r s t u f q y w} -a b g d e z h j i k l m n x o p r s c t u f q y w +a b g d e z h j i k l m n x o p r sv t u f q y w \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} @@ -156,36 +157,43 @@ a b g d e z h j i k l m n x o p r s c t u f q y w \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} -\textrho{} \textsigma{} \textvarsigma{} \texttau{} \textupsilon{} +\textrho{} \textsigma{} \texttau{} \textupsilon{} \textphi{} \textchi{} \textpsi{} \textomega{} +\Latin The small sigma is set with a different +glyph if it ends a word: -\Latin +\LGR \textsigma{} \Latin textsigma \\ +\LGR \textfinalsigma{} \Latin textfinalsigma or textvarsigma + +In the Latin transcription, the letter `s' stands for \verb|\textautosigma| +which automatically chooses the glyph according to the position. \subsection{Additional Greek symbols} -\LGR \koppa{} \Latin koppa \\ % ϟ -\LGR \qoppa{} \Latin qoppa (archaic koppa) \\ % ϙ -\LGR \Qoppa{} \Latin Qoppa (archaic Koppa) \\ % Ϙ -\LGR \stigma{} \Latin stigma \\ % ϛ -\LGR \varstigma{} \Latin varstigma \\ % no separate Unicode character -\LGR \Stigma{} \Latin Stigma (Sigma-Tau-Ligature in CB-fonts)% +\LGR \textkoppa{} \Latin textkoppa \\ % ϟ +\LGR \textqoppa{} \Latin textqoppa (archaic koppa) \\ % ϙ +\LGR \textQoppa{} \Latin textQoppa (archaic Koppa) \\ % Ϙ +\LGR \textstigma{} \Latin textstigma \\ % ϛ +\LGR \textvarstigma{} \Latin textvarstigma \\ % no separate Unicode character +\LGR \textStigma{} \Latin 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 - digamma} \\ % Ϛ -\LGR \sampi{} \Latin sampi \\ % ϡ -\LGR \Sampi{} \Latin Sampi \\ % Ϡ + ligature, whose shape was confusably similar to the cursive + digamma} \\ % Ϛ +\LGR \textsampi{} \Latin textsampi \\ % ϡ +\LGR \textSampi{} \Latin textSampi \\ % Ϡ \LGR \textdigamma{} \Latin textdigamma \\ % ϝ (\digamma used by amsmath!) -\LGR \textDigamma{} \Latin textDigamma \\ % Ϝ +\LGR \textDigamma{} \Latin textDigamma \\ % Ϝ % numeral signs: http://en.wikipedia.org/wiki/Greek_numerals -\LGR \anwtonos{} \Latin Dexia keraia \LGR (anwtonos) \\ % ʹ -\LGR \katwtonos{} \Latin Aristeri keraia, \LGR (katwtonos) \\ % ͵ - -\Latin Variant shapes for pi ($\varpi$), kappa (\emph{no TeX symbol -available}), rho ($\varrho$), and theta ($\vartheta$) have no syntactic -meaning in Greek text and are not included in the LGR encoding. Some -Greek test fonts use variant shapes in place of the ``regular'' ones. +\LGR \textnumeralsigngreek{} \Latin textnumeralsigngreek (Dexia keraia) \\ % ʹ +\LGR \textnumeralsignlowergreek{} \Latin textnumeralsignlowergreek + (Aristeri keraia)\\ % ͵ +\Latin Mathematical notation sometimes uses variant shapes for pi ($\varpi$), +kappa (\emph{no TeX symbol available}), rho ($\varrho$), and theta +($\vartheta$). These variations have no syntactic meaning in Greek text and +are not given code-points in the LGR encoding. Some Greek text fonts use +variant shapes in place of the ``regular'' ones. \section{Diacritics} @@ -242,7 +250,7 @@ $\mapsto$ \MakeUppercase{% \Latin Input variants and their conversion with MakeUppercase:% -\begin{quote} +\begin{quote} \LGR \~>a \>\~a \~\>{a}, \~<a \<\~a \<~a \~\<a \~<a, @@ -306,11 +314,7 @@ dialytika: \LGR \"i \"'i \"`i \"\~i \"u \"'u \"`u \"\~u $\mapsto$ \MakeUppercase{\"i \"'i \"`i \"\~i \"u \"'u \"`u \"\~u}, -\Latin but fails with \verb+\"`+ or \verb+\"'+ if the current language is -\texttt{greek} or \texttt{polutonikogreek} (which maps \texttt{'} and -\texttt{`} to an empty character preventing the correct placing of the -dialytika via TextComposite definitions. - +\Latin Tonos and dasia mark a \emph{hiatus} (break-up of a diphthong) if placed on the first vowel of a diphthong ({\LGR \'ai, \'au, \'ei}). A dialytika must be placed on the second vowel if they are dropped: \LGR @@ -326,10 +330,6 @@ m\'aina $\mapsto$ \MakeUppercase{m\'aina}, k\'eik, $\mapsto$ \MakeUppercase{k\'eik} \>aupn\'ia $\mapsto$ \MakeUppercase{\>aupn\'ia} -This fails with \verb+\>'+ if the current language is \texttt{greek} or -\texttt{polutonikogreek} (which maps \texttt{'} to an empty character -preventing the correct placing of the dialytika. - \Latin Test the auto-hiatus feature for side-effects: \LGR \MakeUppercase{\'a b}: \Latin keep space after A. @@ -356,16 +356,15 @@ preventing the correct placing of the dialytika. \"~\md\MU{ \~"AO \~"AY \~"AI \~"AU \~"RA \~"OA U\~"A D\~"U} [ \\ -\Latin -rows 3\ldots 7: Look-ahead (to check for a hiatus) breaks kerning before A +\Latin +Rows 3 \ldots 7: Look-ahead (to check for a hiatus) breaks kerning before A with Tonos or Psili. % \'AA \'AB \'AG \'AD \'AE \'AZ \'AH \'AJ \'AI \'AK \'AL \'AM \'AN \'AX % \'AO \'AP \'AR \'AS \'AC \'AT \'AU \'AF \'AQ \'AY \'AW -rows 15 and 16: Like in any font encoding, there is no kerning for -non-defined accent-letter-combinations (dialytica on \LGR A O D\Latin).% -\footnote{with the Kerkis fonts, kerning is kept} +Rows 15 and 16: Like in any font encoding, there is no kerning for +non-defined accent-letter-combinations (dialytica on \LGR A O D\Latin). The uppercase of the zero-width space at the place of ``v`` is the Dasia-Oxia accent~\LGR \MakeUppercase{v}\Latin , the glyph at the @@ -381,6 +380,6 @@ $\mapsto$ \MakeUppercase{ Downcasing should keep diacritics (of course, it cannot regenerate ``manually" dropped ones): -\LGR 'A \"I \"U \~"A $\mapsto$ \MakeLowercase{\'A \"I \"U \~"A} +\LGR 'A \"I \"U \~<A $\mapsto$ \MakeLowercase{\'A \"I \"U \~<A} \end{document} |