summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def')
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def29
1 files changed, 20 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
index b3705a132f3..b2510b6137e 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
@@ -20,6 +20,7 @@
% ===== ============ ========================================================
% 0.9 2013-07-03 code "outsourced" from lgrxenc.def
% 0.9.1 2013-07-17 composite definitions starting with standard accent cmds
+% 0.11 2013-11-28 ``\greekscript`` TextCommand
% ===== ============ ========================================================
%
% Usage
@@ -47,19 +48,29 @@
% ::
\ProvidesFile{greek-fontenc.def}
-[2013/07/18 v0.9.1 Common Greek font encoding definitions]
+[2013/11/28 v0.11 Common Greek font encoding definitions]
-
-% Ensuregreek
-% ~~~~~~~~~~~
+% ensuregreek, greekscript
+% ~~~~~~~~~~~~~~~~~~~~~~~~
+%
+% Provide "empty" encoding-specific definitions for ``\ensuregreek`` and
+% ``\greekscript``. The definitions in this file make the font encoding fit
+% for use with the Greek script. (See ``textalpha.sty`` for default
+% definitions.)
%
-% The ``\ensuregreek`` command can be used to ensure that its argument is set
+% The ``\ensuregreek`` macro can be used to ensure that its argument is set
% in a font encoding with support for Greek. If the active font encoding
% supports it, kerning between adjacent command calls (e.g.
% ``\ensuregreek{A}\ensuregreek{\Upsilon}``) is preserved. This allows, e.g.,
% wrapping of compound Unicode character definitions. ::
-\DeclareTextCommand{\ensuregreek}{\LastDeclaredEncoding}[1]{#1}
+\ProvideTextCommand{\ensuregreek}{\LastDeclaredEncoding}[1]{#1}
+
+% The ``\greekscript`` declaration ensures the current font encoding supports
+% the Greek script::
+
+\ProvideTextCommand{\greekscript}{\LastDeclaredEncoding}{}
+
% Aliases
% ~~~~~~~
@@ -103,8 +114,8 @@
%
% \DeclareTextCommand{\anwtonos}{\LastDeclaredEncoding}{\textdexiakeraia} % ʹ
% \DeclareTextCommand{\katwtonos}{\LastDeclaredEncoding}{\textaristerikeraia} % ͵
-%
-%
+%
+%
% Composite diacritics
% ~~~~~~~~~~~~~~~~~~~~
%
@@ -116,7 +127,7 @@
%
% \accdialytica\accvaria\textalpha,
% \"\'\textalpha,
-% \"'\textalpha, or
+% \"'\textalpha, or
% \'"\textalpha.
%
% Separate definitions for the supported variants of the second input token