summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/t2/cyrfinst/derivatives/ot2j.etx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/t2/cyrfinst/derivatives/ot2j.etx')
-rw-r--r--macros/latex/contrib/t2/cyrfinst/derivatives/ot2j.etx20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/latex/contrib/t2/cyrfinst/derivatives/ot2j.etx b/macros/latex/contrib/t2/cyrfinst/derivatives/ot2j.etx
new file mode 100644
index 0000000000..bf5793c26a
--- /dev/null
+++ b/macros/latex/contrib/t2/cyrfinst/derivatives/ot2j.etx
@@ -0,0 +1,20 @@
+\relax
+
+% OT2j.etx -- install a OT2-encoded upright font with oldstyle digits
+%
+% We do not need to distinguish between upright and italic in OT2,
+% hence we simply call OT2.etx with oldstyle parameters.
+
+\encoding
+
+\setcommand\lc#1#2{#2}
+\setcommand\uc#1#2{#1}
+\setcommand\lctop#1#2{#2}
+\setcommand\uctop#1#2{#1}
+\setcommand\lclig#1#2{#2}
+\setcommand\uclig#1#2{#1}
+\setcommand\digit#1{#1oldstyle}
+
+\inputetx{OT2}
+
+\endencoding