1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
|
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" />
<title>lgrxenc.def</title>
<meta name="copyright" content="© 2010 Günter Milde" />
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { /* line numbers */
color: grey;
}
.code {
background-color: #eeeeee
}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
<style type="text/css">
/* html4css2.css: Cascading style sheet for Docutils' html4strict writer. */
/* */
/* :Author: Günter Milde */
/* :Copyright: © 2009 Günter Milde. */
/* Released without warranties or conditions of any kind */
/* under the terms of the Apache License, Version 2.0 */
/* http://www.apache.org/licenses/LICENSE-2.0 */
/* */
/* This stylesheet supplements the Docutils standard style 'html4css1.css'. */
/* It uses CSS 2.1 elements (supported by up-to-date versions of popular */
/* browsers). */
/* General rules */
/* ============= */
body {
padding: 0 5%;
margin: 8px 0;
line-height:1.3;
/* http://ilovetypography.com/2008/02/28/a-guide-to-web-typography/
recommends "line-spacing that’s at least 140% of your text size" */
counter-reset: table;
/* counter-reset: figure; */
}
/* avoid long lines --> better reading */
/* OTOH: lines should not be too short because of missing hyphenation, */
div.document {
max-width: 45em;
margin: auto;
}
/* separate items except for compact lists */
dl > dd {
margin-bottom: 1em;
}
.compact li, .compact p, .compact ul, .compact ol
dl.simple > dd, .simple li, .simple p, .simple ul, .simple ol {
margin-top: 0;
margin-bottom: 0;
/* background: magenta; */
}
dl.simple, dl.compact, dl.simple > dd, dl.compact > dd {
margin-top: 0;
margin-bottom: 0;
/* background: lightgreen; */
}
/* space around paragraphs */
dl > dd p:first-child, td > p {
margin: 0;
}
/* Sidebar */
/* ------- */
div.sidebar {
margin-right: -5%;
}
/* Special definition lists */
/* ======================== */
/* bold definition term on the same line as the label */
dl.field-list > dt, dl.option-list > dt, dl.docinfo > dt,
dl.footnote > dt, dl.citation > dt, dl.description > dt {
clear: left;
float: left;
margin: 0;
padding: 0;
padding-right: 0.5em;
font-weight: bold;
}
/* except for these */
dl.option-list > dt, dl.footnote > dt {
font-weight: normal;
}
/* Field Lists */
/* ----------- */
/* field names followed by a colon */
dl.field-list > dt:after, dl.docinfo > dt:after {
content: ":";
}
/* Offset for field content (corresponds to the --field-name-limit option) */
dl.field-list > dd {
margin-left: 9em; /* ca. 14 chars in the test examples */
padding-left: 0.5em;
}
/* start field-body on a new line after long field names */
dl.field-list > dd p {
width: 100%;
/* display: inline-block; */
/* background: yellow; */
}
dl.field-list > dd > p:first-child,
/* dl.field-list > dd > ol:first-child, */
/* dl.field-list > dd > ul:first-child, */
dl.field-list > dd > dl:first-child {
display: inline-block;
}
/* field-list variants:: */
/* example for custom field-name width */
dl.field-list.narrow > dd {
margin-left: 5em;
}
/* start field-body on same line after long field names */
dl.field-list.run-in > dd p {
display: block;
}
/* wrap or truncate long field names */
dl.field-list.fix-labelwidth > dt {
width: 8em; /* set to dl.field-list > dd margin-left - padding-left */
overflow: hidden;
}
dl.field-list.fix-labelwidth > dd:after {
/* a "stopper" to prevent next dd floating up too far */
content: '';
display: block;
clear: left;
}
/* docinfo */
dl.docinfo > dd {
margin-left: 8em;
/* margin-bottom: 0.5em; */
}
/* option list */
dl.option-list {
margin-left: 1em;
padding-left: 0;
}
dl.option-list > dd {
margin-left: 8em;
/* margin-bottom: 0.5em; */
}
/* start description on a new line after long options */
dl.option-list > dd p {
width: 100%;
display: inline-block;
}
/* footnotes */
a.footnote-reference, a.fn-backref {
text-decoration: inherit; /* do not underline footnote links */
}
dl.footnote {
/* line on the left */
padding-left: 1ex;
border-left: solid;
border-left-width: thin;
/* border-color: black; */
}
/* paragraph on same line as backrefs */
dd > em {
/* background: green; */
float: left;
margin-right: 1ex
}
/*
Ordered List (Enumeration)
--------------------------
Use counters to replace the deprecated start attribute. Make sure the
resulting list resembles the list-style 'outside' with a hanging indent.
*/
/* New ordered list: reset counter, suppress the default label */
ol, ol.arabic, ol.loweralpha, ol.upperalpha,
ol.lowerroman, ol.upperroman {
counter-reset: item;
list-style: none
}
/* Set the negative indent of the list label as feature of the list item */
ol > li {
text-indent: -40px; /* Mozillas default indent */
}
/* reset for child elements */
ol > li > * {
text-indent: 0px;
text-indent: 0;
margin-top: 0;
/* background: lightgreen; */
}
/* Label */
ol > li:before {
/* increment and typeset counter(s), */
counter-increment: item;
content: counter(item) ".";
/* display next to the content (aligned top-right), */
display: inline-block;
text-align: right;
vertical-align: top;
/* sum must match ol>li {text-indent:} (40px is Mozillas default) */
width: 35px;
padding-right: 5px;
/* background: yellow; */
}
/* The list item's first line starts next to the label, without indent */
ol > li > p:first-child,
ol > li > ol:first-child,
ol > li > ul:first-child,
ol > li > dl:first-child {
display: inline-block;
/* background: lightblue; */
}
/* default separator variants */
ol.loweralpha > li:before {
content: counter(item, lower-alpha) ")";
}
ol.upperalpha > li:before {
content: counter(item, upper-alpha) ".";
}
ol.lowerroman > li:before {
content: "(" counter(item, lower-roman) ")";
}
ol.upperroman > li:before {
content: counter(item, upper-roman) ")";
}
/* nested counters (1, 1.1, 1.1.1, etc) */
/* nested enumerated lists "inherit" the class attribute, other lists not */
ol.nested > li:before, ol.nested ol > li:before {
content: counters(item, ".") " ";
}
/* lists nested in definition list */
dd > ul, dd > ol {
padding-left: 0pt;
}
/* TODO: prefix, suffix? */
/* smaller font for super- and subscripts */
/* sub, sup {font-size: 70%;} */ /* Mozilla default is `smaller` */
/* Tables */
/* ====== */
/* margins and borders for "normal" tables */
table {
margin-top: 0.5em ;
margin-bottom: 0.5em;
/* border-style: outset; */
border-style: solid;
border-color: silver;
border-width: thin;
border-collapse: collapse;
}
blockquote > table {
margin-top: 0em ;
margin-bottom: 0em;
}
td, th {
border-style: solid;
border-width: thin;
border-color: silver;
/* text-align: left; */
padding: 0 1ex;
}
td > p:first-child, th > p:first-child {
margin-top: 0;
}
td > p, th > p {
margin-bottom: 0;
}
/* no borders for "borderless" tables */
table.borderless, table.borderless * {
border-style: none;
}
/* "booktabs" style (no vertical lines) */
table.booktabs {
border: 0;
border-top: 2px solid;
border-bottom: 2px solid;
}
table.booktabs * {
border: 0;
}
table.booktabs th {
border-bottom: thin solid;
}
table > caption {
text-align: left;
/* padding: 2em 0 1em 0; */
}
/* numbered tables*/
table.numbered > caption:before {
counter-increment: table; /* defined/re-set in body */
content: "Table " counter(table) ": ";
font-weight: bold;
}
/* literal text
------------
*/
/* whitespace and wrapping in inline literals */
/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
tt.literal {
white-space: pre-wrap;
}
/* /* compensate for initial line-break (which is literal with XHTML 1.1) */ */
/* pre.literal-block, pre.doctest-block { */
/* margin-top: 0em ; */
/* } */
/* Table of Contents */
/* don't indent like a topic */
div.topic.contents {
margin: 0;
}
/* div.topic.contents ul { */
/* list-style: none; */
/* } */
div.topic.contents a {
text-decoration: none; /* no underline for links */
}
/* section numbers */
span.sectnum {
padding-right: 1ex;
}
/* admonitions */
/* no padding for top and bottom */
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
padding: 0px 1em }
</style>
</head>
<body>
<div class="document" id="lgrxenc-def">
<h1 class="title">lgrxenc.def</h1>
<h2 class="subtitle" id="comprehensive-lgr-greek-font-encoding-definitions">comprehensive LGR Greek font encoding definitions</h2>
<dl class="docinfo simple">
<dt class="copyright">Copyright</dt>
<dd class="copyright">© 2010 Günter Milde</dd>
<dt>Licence</dt>
<dd><p>This work may be distributed and/or modified under the
conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
version 1.3 of this license or any later version.</p>
</dd>
</dl>
<div class="abstract topic">
<p class="topic-title first">Abstract</p>
<dl class="docutils">
<dt>The LGR font encoding is the de-facto standard for Greek</dt>
<dd><p>typesetting with LaTeX. However, the encoding definition
file that ships with babel misses many of the definitions
common since the advent of the NFSS (see <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">fntguide</a> "Encodings").</p>
<p>This file provides a comprehensive set of macros to
typeset Greek with LGR encoded fonts. It works for both,
monotonic and polytonic Greek, independent of the <cite>babel</cite>
package.</p>
</dd>
</dl>
<p>This package is part of the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/lgrx.html">lgrx</a> bundle.</p>
</div>
<div class="contents topic" id="contents">
<p class="topic-title first">Contents</p>
<ul class="simple">
<li><p><a class="reference internal" href="#changelog" id="id1">Changelog</a></p></li>
<li><p><a class="reference internal" href="#usage" id="id2">Usage</a></p></li>
<li><p><a class="reference internal" href="#macro-names" id="id3">Macro names</a></p></li>
<li><p><a class="reference internal" href="#implementation" id="id4">Implementation</a></p>
<ul>
<li><p><a class="reference internal" href="#read-this-file-only-once" id="id5">Read this file only once</a></p></li>
<li><p><a class="reference internal" href="#identification" id="id6">Identification</a></p></li>
<li><p><a class="reference internal" href="#base-setup" id="id7">Base setup</a></p></li>
<li><p><a class="reference internal" href="#text-symbols" id="id8">Text symbols</a></p>
<ul>
<li><p><a class="reference internal" href="#greek-alphabet" id="id9">Greek Alphabet</a></p></li>
<li><p><a class="reference internal" href="#additional-greek-symbols" id="id10">Additional Greek symbols</a></p>
<ul>
<li><p><a class="reference internal" href="#ancient-greek-numbers-athenian-numerals" id="id11">Ancient Greek Numbers (Athenian Numerals)</a></p></li>
<li><p><a class="reference internal" href="#archaic-letters" id="id12">Archaic letters</a></p></li>
<li><p><a class="reference internal" href="#numeral-signs" id="id13">numeral signs</a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#other" id="id14">Other</a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#diacritics" id="id15">Diacritics</a></p>
<ul>
<li><p><a class="reference internal" href="#simple-diacritics" id="id16">simple diacritics</a></p></li>
<li><p><a class="reference internal" href="#composite-diacritics" id="id17">composite diacritics</a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#capital-letters" id="id18">Capital letters</a></p>
<ul>
<li><p><a class="reference internal" href="#title-case" id="id19">Title Case</a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#uppercase" id="id20">UPPERCASE</a></p>
<ul>
<li><p><a class="reference internal" href="#uclclist-extension" id="id21">@uclclist extension</a></p></li>
<li><p><a class="reference internal" href="#substitution-macros" id="id22">Substitution macros</a></p>
<ul>
<li><p><a class="reference internal" href="#drop-diacritics" id="id23">Drop diacritics</a></p></li>
<li><p><a class="reference internal" href="#keep-dialytika" id="id24">Keep dialytika.</a></p></li>
<li><p><a class="reference internal" href="#mark-hiatus" id="id25">Mark hiatus</a></p></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#id1">Changelog</a></h1>
<table class="borderless">
<colgroup>
<col width="7%" />
<col width="17%" />
<col width="75%" />
</colgroup>
<tbody valign="top">
<tr><td><p>0.1</p></td>
<td><p>2010-03-31</p></td>
<td><p>initial attempt</p></td>
</tr>
<tr><td><p>0.2</p></td>
<td><p>2010-04-20</p></td>
<td><p>diacritics dropped in UPPERCASE</p></td>
</tr>
<tr><td><p>0.3</p></td>
<td><p>2010-06-08</p></td>
<td><p>handle Titlecase and UPPERCASE extending
<tt class="literal">\@uclclist</tt></p></td>
</tr>
<tr><td><p>0.3.1</p></td>
<td><p>2010-06-10</p></td>
<td><p>code cleanup: replace dummy accent hack
with TextCommand</p></td>
</tr>
<tr><td><p>0.4</p></td>
<td><p>2010-06-15</p></td>
<td><p>more text symbols</p></td>
</tr>
<tr><td><p>0.4.1</p></td>
<td><p>2010-08-06</p></td>
<td><p>prevent multiple evaluation</p></td>
</tr>
<tr><td><p>0.5</p></td>
<td><p>2010-08-27</p></td>
<td><p>support <tt class="literal">\textalpha</tt> ... <tt class="literal">\textOmega</tt></p></td>
</tr>
<tr><td><p>0.5.1</p></td>
<td><p>2012-05-08</p></td>
<td><p>upload to CTAN</p></td>
</tr>
<tr><td><p>0.6</p></td>
<td><p>2012-06-29</p></td>
<td><p><tt class="literal">\TextGreek</tt> wrapper command (used in lgrenc.dfu),
aliases for <tt class="literal">puenc.def</tt> compatibility</p></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#id2">Usage</a></h1>
<p>To prevent confusion with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">Babel</a>'s rudimentary <tt class="literal">lgrenc.def</tt>, this file is
named <tt class="literal">lgrxenc.def</tt>. Load it by calling <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fontenc.html">fontenc</a> with the <tt class="literal">LGRx</tt> option
or indirectly via the <a class="reference external" href="textalpha.sty.html">textalpha</a> or <a class="reference external" href="alphabeta.sty.html">alphabeta</a> packages.</p>
<dl class="docutils">
<dt>Example:</dt>
<dd><p>Select font encodings <cite>T1</cite> (as default) and <cite>LGR</cite> (with the comprehensive
font encoding definitions)</p>
<blockquote>
<p><tt class="literal"><span class="pre">\usepackage[LGRx,T1]{fontenc}</span></tt></p>
</blockquote>
</dd>
</dl>
<div class="attention">
<p class="admonition-title">Attention!</p>
<p>The name of the font encoding defined by the option <tt class="literal">LGRx</tt>
is <strong>not</strong> <cite>LGRx</cite> but <cite>LGR</cite>. Therefore, <tt class="literal">LGRx</tt> must not be the
last option (as fontenc uses the last option to select the default font
encoding). To set <cite>LGR</cite> as as default font encoding specify both,
<cite>LGRx</cite> and <cite>LGR</cite>, e.g.</p>
<blockquote>
<p><tt class="literal"><span class="pre">\usepackage[LGRx,T1,LGR]{fontenc}</span></tt></p>
</blockquote>
</div>
</div>
<div class="section" id="macro-names">
<h1><a class="toc-backref" href="#id3">Macro names</a></h1>
<p>The <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">fntguide</a> (section 6.4 Naming conventions) recommends:</p>
<blockquote>
<p>Where possible, text symbols should be named as <tt class="literal">\text</tt> followed
by the Adobe glyph name: for example <tt class="literal">\textonequarter</tt> or
<tt class="literal">\textsterling</tt>. Similarly, math symbols should be named as
<tt class="literal">\math</tt> followed by the glyph name, for example
<tt class="literal">\mathonequarter</tt> or <tt class="literal">\mathsterling</tt>.</p>
</blockquote>
<p>Open questions:</p>
<ul>
<li><p>Can we omit the <tt class="literal">text</tt> prefix for macros that are already
established in short form (e.g. via babel's <tt class="literal">greek.ldf</tt>) and do
not have a math counterpart?</p>
<dl class="docutils">
<dt>Pro:</dt>
<dd><ul>
<li><p>Simpler.</p></li>
<li><p>Ease of use (less typing, better readability of source text).</p></li>
<li><p>Backwards compatible (many established macro names).</p></li>
<li><p>There are examples of encoding-specific macros
without the <tt class="literal">text</tt>-prefix, especially for letters:</p>
<ul class="simple">
<li><p><tt class="literal">\AE \DH \DJ \L \NG \OE \O \SS \TH \ae \dh \dj \guillemotleft</tt>
<tt class="literal">\guillemotright \guilsinglleft \guilsinglright \i \j \l \ng</tt>
<tt class="literal">\oe \o \quotedblbase \quotesinglbase \ss \th</tt>
in <cite>T1</cite> and <cite>OT1</cite>,</p></li>
<li><p><tt class="literal">\CYR*</tt> and <tt class="literal">\cyr*</tt> in <cite>T2*</cite></p></li>
<li><p><tt class="literal">\heb*</tt> or no prefix in <cite>HE8</cite></p></li>
<li><p>short descriptive names in the arabic part of <cite>PU</cite>
(<tt class="literal">puarenc.def</tt>) (but e.g. <tt class="literal">\textkoppagreek</tt> in
<tt class="literal">puenc.def</tt>)</p></li>
</ul>
</li>
<li><p><tt class="literal">text</tt> prefix does <strong>not</strong> mark a macro as</p>
<ul class="simple">
<li><p>encoding-specific</p></li>
<li><p>inserting a glyph</p></li>
</ul>
<p>as there are e.g. font-changing macros (<tt class="literal">\textbf</tt>, <tt class="literal">\textit</tt>)
and encoding-changing macros (<tt class="literal">\textgreek</tt>, <tt class="literal">\textcyr</tt>).</p>
</li>
</ul>
</dd>
<dt>Contra:</dt>
<dd><ul class="simple">
<li><p>Less consistent.</p></li>
<li><p><tt class="literal">text</tt> prefix marks a macro as confined to text mode</p></li>
<li><p>Short forms can be defined in a package.</p></li>
</ul>
</dd>
</dl>
</li>
<li><p>How to name <em>accent macros</em> (<tt class="literal">\DeclareTextAccent</tt> definitions)?</p>
<ul class="simple">
<li><p>Should <tt class="literal">\texttonos</tt> be an accent macro or a spacing character?</p></li>
<li><p>How about a common prefix <tt class="literal"><span class="pre">\accent...</span></tt> or postfix <tt class="literal"><span class="pre">\...Accent</span></tt>?</p></li>
</ul>
</li>
<li><p>How about glyph names with numbers and dots?</p>
<ul>
<li><p>Adobe recommends <tt class="literal">uni</tt> (or <tt class="literal">u</tt>) + Unicode number for all
Unicode characters without established name.</p>
<p>While it is <em>possible</em> to apply this scheme to TeX macros, it is
hardly advisable: <tt class="literal">\koppa</tt> is far better readable than
<tt class="literal">\csname uni03DF\endcsname</tt>.</p>
</li>
</ul>
</li>
<li><p>If there exists a math-mode macro for a symbol, the corresponding text
macro should be formed by prepending <tt class="literal">text</tt>.</p>
<blockquote>
<p>Example: The glyph name for the final sigma is <tt class="literal">sigma1</tt>, but the
corresponding math-macro is <tt class="literal">\varsigma</tt>. IMO, the text symbol
should be available as <tt class="literal">\textvarsigma</tt> and not
<tt class="literal">\csname textsigma1\endcsname</tt>.</p>
</blockquote>
<p>Could this become a general rule?</p>
<dl class="docutils">
<dt>Problems:</dt>
<dd><ul class="simple">
<li><p><tt class="literal">\varepsilon</tt> and <tt class="literal">\varphi</tt> math macros map to "GREEK SMALL
LETTER *", while others map to "GREEK * SYMBOL" Unicode chars.</p></li>
</ul>
</dd>
</dl>
</li>
</ul>
<p>The <a class="reference external" href="http://www.adobe.com/devnet/opentype/archives/aglfn.txt">Adobe Glyph List For New Fonts</a> has names for many glyphs in the
<cite>Greek and Coptic</cite> Unicode block, but not for <cite>Greek extended</cite>.</p>
<p>An alternative, more complete set of short mnemonic character names is
the <a class="reference external" href="http://www.w3.org/TR/xml-entity-names/">XML Entity Definitions for Characters</a> W3C Recommendation from
01 April 2010.</p>
<p>For glyph names of the LGR encoding see e.g. <tt class="literal">CB.enc</tt> by Apostolos
Syropoulos and <tt class="literal"><span class="pre">xl-lgr.enc</span></tt> from the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/libertine-legacy.html">libertine</a> (legacy) package.
<tt class="literal">lgr.cmap</tt> provides a mapping to Unicode characters.</p>
<p>A full set of <tt class="literal">\text*</tt> symbol macros is defined in <tt class="literal">ucsencs.def</tt>
from the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode.html">ucs</a> package.</p>
<p>Using the names from <tt class="literal">puenc.def</tt> ensures that the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hyperref.html">hyperref</a> package
will do the right conversion to a PDF-string
(see <a class="reference external" href="greek-part-of-puenc.def">greek-part-of-puenc.def</a>).</p>
<p>For accent macros, this file uses Greek names like in Unicode and
ucsencs.def (without <tt class="literal">text</tt> prefix). Accent macro names are Capitalized or
CamelCase, as they are intended for use in packages or classes. For the
end-user "symbol macros" (<tt class="literal">\~ \' \` \" \< \></tt>) are provided.</p>
</div>
<div class="section" id="implementation">
<h1><a class="toc-backref" href="#id4">Implementation</a></h1>
<div class="section" id="read-this-file-only-once">
<h2><a class="toc-backref" href="#id5">Read this file only once</a></h2>
<div class="note">
<p class="admonition-title">Note</p>
<p>The use of <tt class="literal">\@ifundefined</tt> has the side-effect that the tested
macro becomes defined and set to <tt class="literal">\relax</tt> (polluting the namespace and
interfering with test via eTeX's <tt class="literal">\ifdefined</tt>). However, in this case
no harm is done as the macro is defined by the <a class="reference internal" href="#identification">identification</a> below
anyway.</p>
</div>
<pre class="literal-block">\@ifundefined{ver@lgrxenc.def}
{\message{setting up comprehensive LGR font encoding definitions.}}
{\message{comprehensive LGR font encoding definitions already loaded}
\expandafter\endinput % "return"
}
</pre>
</div>
<div class="section" id="identification">
<h2><a class="toc-backref" href="#id6">Identification</a></h2>
<pre class="literal-block">\ProvidesFile{lgrxenc.def}
[2012/07/03 v0.6 %
comprehensive LGR Greek Font Encoding definitions]
</pre>
</div>
<div class="section" id="base-setup">
<h2><a class="toc-backref" href="#id7">Base setup</a></h2>
<p>Declare the font encoding and substitutions.
(from the file <tt class="literal">lgrenc.def</tt> that comes with the Babel package):</p>
<pre class="literal-block">\DeclareFontEncoding{LGR}{}{}
\DeclareFontSubstitution{LGR}{cmr}{m}{n}
\DeclareErrorFont{LGR}{cmr}{m}{n}{10}
</pre>
<p>The <tt class="literal">\TextGreek</tt> command can be used to ensure that its argument is set in
a font encoding with support for Greek. If the font encoding is already LGR,
kerning between adjacent command calls (e.g.
<tt class="literal"><span class="pre">\TextGreek{A}\TextGreek{\Upsilon}</span></tt>) is preserved. This allows wrapping of
compound Unicode character definitions.</p>
<pre class="literal-block">\DeclareTextCommand{\TextGreek}{LGR}[1]{#1}
</pre>
</div>
<div class="section" id="text-symbols">
<h2><a class="toc-backref" href="#id8">Text symbols</a></h2>
<div class="section" id="greek-alphabet">
<h3><a class="toc-backref" href="#id9">Greek Alphabet</a></h3>
<p>Greek letters are accessible by the Latin transcription, but the mapping is
specific to the LGR font encoding.</p>
<p>The <tt class="literal">\text*</tt> macros provide a way to access the symbols in any font
encoding supporting Greek independent of the specific font encoding.
Alternative Greek font encodings are LGI (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/ibycus-babel.html">ibycus</a>) and PU (<cite>PDF Unicode</cite>
used by <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hyperref.html">hyperref</a> for PDF metadata). The <cite>textalpha.sty</cite> package makes these
macros available in any font encoding.</p>
<pre class="literal-block">\DeclareTextSymbol{\textAlpha}{LGR}{65}
\DeclareTextSymbol{\textBeta}{LGR}{66}
\DeclareTextSymbol{\textGamma}{LGR}{71}
\DeclareTextSymbol{\textDelta}{LGR}{68}
\DeclareTextSymbol{\textEpsilon}{LGR}{69}
\DeclareTextSymbol{\textZeta}{LGR}{90}
\DeclareTextSymbol{\textEta}{LGR}{72}
\DeclareTextSymbol{\textTheta}{LGR}{74}
\DeclareTextSymbol{\textIota}{LGR}{73}
\DeclareTextSymbol{\textKappa}{LGR}{75}
\DeclareTextSymbol{\textLambda}{LGR}{76}
\DeclareTextSymbol{\textMu}{LGR}{77}
\DeclareTextSymbol{\textNu}{LGR}{78}
\DeclareTextSymbol{\textXi}{LGR}{88}
\DeclareTextSymbol{\textOmicron}{LGR}{79}
\DeclareTextSymbol{\textPi}{LGR}{80}
\DeclareTextSymbol{\textRho}{LGR}{82}
\DeclareTextSymbol{\textSigma}{LGR}{83}
\DeclareTextSymbol{\textTau}{LGR}{84}
\DeclareTextSymbol{\textUpsilon}{LGR}{85}
\DeclareTextSymbol{\textPhi}{LGR}{70}
\DeclareTextSymbol{\textChi}{LGR}{81}
\DeclareTextSymbol{\textPsi}{LGR}{89}
\DeclareTextSymbol{\textOmega}{LGR}{87}
%
\DeclareTextSymbol{\textalpha}{LGR}{97}
\DeclareTextSymbol{\textbeta}{LGR}{98}
\DeclareTextSymbol{\textgamma}{LGR}{103}
\DeclareTextSymbol{\textdelta}{LGR}{100}
\DeclareTextSymbol{\textepsilon}{LGR}{101}
\DeclareTextSymbol{\textzeta}{LGR}{122}
\DeclareTextSymbol{\texteta}{LGR}{104}
\DeclareTextSymbol{\texttheta}{LGR}{106}
\DeclareTextSymbol{\textiota}{LGR}{105}
\DeclareTextSymbol{\textkappa}{LGR}{107}
\DeclareTextSymbol{\textlambda}{LGR}{108}
\DeclareTextSymbol{\textmu}{LGR}{109}
\DeclareTextSymbol{\textnu}{LGR}{110}
\DeclareTextSymbol{\textxi}{LGR}{120}
\DeclareTextSymbol{\textomicron}{LGR}{111}
\DeclareTextSymbol{\textpi}{LGR}{112}
\DeclareTextSymbol{\textrho}{LGR}{114}
\DeclareTextCommand{\textsigma}{LGR}{s\noboundary} % σ
\DeclareTextSymbol{\textvarsigma}{LGR}{99} % ς final sigma
\DeclareTextSymbol{\textautosigma}{LGR}{115} % σ (ς at end of word)
\DeclareTextSymbol{\texttau}{LGR}{116}
\DeclareTextSymbol{\textupsilon}{LGR}{117}
\DeclareTextSymbol{\textphi}{LGR}{102}
\DeclareTextSymbol{\textchi}{LGR}{113}
\DeclareTextSymbol{\textpsi}{LGR}{121}
\DeclareTextSymbol{\textomega}{LGR}{119}
</pre>
</div>
<div class="section" id="additional-greek-symbols">
<h3><a class="toc-backref" href="#id10">Additional Greek symbols</a></h3>
<div class="section" id="ancient-greek-numbers-athenian-numerals">
<h4><a class="toc-backref" href="#id11">Ancient Greek Numbers (Athenian Numerals)</a></h4>
<p>Names from the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/athnum.html">athnum</a> package:</p>
<pre class="literal-block">\DeclareTextSymbol{\PiDelta}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY
\DeclareTextSymbol{\PiEta}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
\DeclareTextSymbol{\PiChi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
\DeclareTextSymbol{\PiMu}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
</pre>
<p>Names from <tt class="literal"><span class="pre">xl-lgr.enc</span></tt> (Greek numerals):</p>
<pre class="literal-block">\DeclareTextSymbol{\pentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY
\DeclareTextSymbol{\pentehekaton}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
\DeclareTextSymbol{\penteqilioi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
\DeclareTextSymbol{\pentemurioi}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
</pre>
</div>
<div class="section" id="archaic-letters">
<h4><a class="toc-backref" href="#id12">Archaic letters</a></h4>
<p>Names after <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">babel</a>'s <tt class="literal">greek.ldf</tt>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a> and <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hyperref.html">hyperref</a>'s puenc.def:</p>
<pre class="literal-block">\DeclareTextSymbol{\stigma}{LGR}{6} % ϛ (greek.df, teubner)
\DeclareTextSymbol{\textstigmagreek}{LGR}{6} % ϛ (puenc.def)
\DeclareTextSymbol{\varstigma}{LGR}{7} % stigma variant (CB.enc, teubner)
% \DeclareTextSymbol{\vardigamma}{LGR}{7} % digamma variant (greek.ldf)
\DeclareTextSymbol{\koppa}{LGR}{18} % ϟ (greek small letter koppa)
\DeclareTextSymbol{\textkoppagreek}{LGR}{18} % ϟ (puenc.def)
\DeclareTextSymbol{\qoppa}{LGR}{19} % ϙ (archaic koppa)
\DeclareTextSymbol{\Qoppa}{LGR}{21} % Ϙ (archaic Koppa)
\DeclareTextSymbol{\Stigma}{LGR}{22} % ϹΤ ligature (teubner)
\DeclareTextSymbol{\textStigmagreek}{LGR}{22} % ϹΤ ligature (puenc.def)
% \DeclareTextSymbol{\Stigma}{LGR}{??} % Ϛ
\DeclareTextSymbol{\Sampi}{LGR}{23} % Ϡ
\DeclareTextSymbol{\textSampigreek}{LGR}{23} % Ϡ (puenc.def)
\DeclareTextSymbol{\sampi}{LGR}{27} % ϡ
\DeclareTextSymbol{\textsampigreek}{LGR}{27} % ϡ (puend.def)
\DeclareTextSymbol{\anoteleia}{LGR}{38} % ·
\DeclareTextSymbol{\erotimatiko}{LGR}{63} % ;
% \digamma used by amsmath for math-macro:
\DeclareTextSymbol{\ddigamma}{LGR}{147} % ϝ (greek.ldf)
\DeclareTextSymbol{\Digamma}{LGR}{195} % Ϝ (greek.ldf)
\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ with "text" prefix
\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ with "text" prefix
\DeclareTextSymbol{\textdigammagreek}{LGR}{147} % ϝ (puenc.def)
\DeclareTextSymbol{\textDigammagreek}{LGR}{195} % Ϝ (puenc.def)
</pre>
</div>
<div class="section" id="numeral-signs">
<h4><a class="toc-backref" href="#id13">numeral signs</a></h4>
<p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_numerals">http://en.wikipedia.org/wiki/Greek_numerals</a></p>
<p>Names from <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/babel.html">babel</a> and <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a>:</p>
<pre class="literal-block">\DeclareTextSymbol{\anwtonos}{LGR}{254} % ʹ (Dexia keraia)
\DeclareTextSymbol{\katwtonos}{LGR}{255} % ͵ (Aristeri keraia)
</pre>
<p>alias names for compatibility with hyperref's puenc.def:</p>
<pre class="literal-block">\DeclareTextSymbol{\textnumeralsigngreek}{LGR}{254}
\DeclareTextSymbol{\textnumeralsignlowergreek}{LGR}{255}
</pre>
</div>
</div>
<div class="section" id="other">
<h3><a class="toc-backref" href="#id14">Other</a></h3>
<p>Characters that also exist in other font encodings</p>
<ul class="simple">
<li><p>Define them for LGR if there is a matching glyph,
so that they work if LGR is the only chosen font encoding.</p></li>
<li><p>Use established macro names that match with other <tt class="literal">*enc.def</tt> files and
<tt class="literal">textcomp.sty</tt>.</p></li>
</ul>
<pre class="literal-block">% all encodings: See usrguide.pdf, chapter 3.14 ff
\DeclareTextSymbol{\textendash}{LGR}{0} % EN DASH
\DeclareTextSymbol{\textquoteleft}{LGR}{28} % ‘
\DeclareTextSymbol{\textquoteright}{LGR}{29} % ’
\DeclareTextSymbol{\textperiodcentered}{LGR}{46} % · = \textanoteleia
\DeclareTextSymbol{\textcompwordmark}{LGR}{118} % ZERO WIDTH NO JOINER
\DeclareTextSymbol{\textemdash}{LGR}{127} % EM DASH
% T1
\DeclareTextSymbol{\guillemotleft}{LGR}{123} % «
\DeclareTextSymbol{\guillemotright}{LGR}{125} % »
% TS1
\ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
\ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯
\ProvideTextCommand{\textasciidieresis}{LGR}{\char34\textcompwordmark} % "
\ProvideTextCommand{\textasciiacute}{LGR}{\char39\textcompwordmark} % '
\ProvideTextCommand{\textasciigrave}{LGR}{\char96\textcompwordmark} % `
\DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~
% \DeclareTextSymbol{\textohm}{LGR}{87} % Ω (Ohm sign ≠ Omega)
\DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf
\DeclareTextSymbol{\textpercent}{LGR}{37} % %
\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permille in greek.ldf
% T3
\DeclareTextSymbol{\textschwa}{LGR}{26} % ə
</pre>
<p>Babel's <tt class="literal">lgrenc.def</tt> has some definitions to prevent surprises with
macros that expect a Latin script. These definitions are problematic
in the font-encoding definition file as they</p>
<ul class="simple">
<li><p>require <tt class="literal">\textlatin</tt> which is defined in <tt class="literal">babel.def</tt>,</p></li>
<li><p>overwrite TS1 symbols set as default by <tt class="literal">textcomp.sty</tt>.</p></li>
</ul>
<pre class="literal-block">%\ProvideTextCommand{\textcopyright}{LGR}{\textcircled{\textlatin{c}}}
%\ProvideTextCommand{\textregistered}{LGR}{\textcircled{\textlatin{\textsc r}}}
%\ProvideTextCommand{\texttrademark}{LGR}{\textsuperscript{\textlatin{TM}}}
%\ProvideTextCommand{\SS}{LGR}{\textlatin{SS}}
</pre>
<p>How about:</p>
<pre class="literal-block">%\ProvideTextCommand{\SS}{LGR}{\UseTextSymbol{T1}{\SS}}
%\ProvideTextCommand{\textcopyright}{LGR}{{\UseTextSymbol{T1}{\textcopyright}}}
% ...?
</pre>
</div>
</div>
<div class="section" id="diacritics">
<h2><a class="toc-backref" href="#id15">Diacritics</a></h2>
<p>Based on the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a> package by Claudio Beccari and the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel
patch</a> by Werner Lemberg but with composite diacritic definitions
(iterative diacritics).</p>
<p>Advantages:</p>
<ul class="simple">
<li><p>get accented characters without resorting to the
ligature mechanism (allows proper kerning, cf. <a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">teubner-doc</a>).</p></li>
<li><p>reduced probability of incompatibilities (compared to <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a>
diacritic macros).</p></li>
<li><p>input convention similar to LGR input encodings (just prepend a <tt class="literal">\</tt>).</p></li>
</ul>
<div class="section" id="simple-diacritics">
<h3><a class="toc-backref" href="#id16">simple diacritics</a></h3>
<p>Define Greek diacritics as named macros with shortcut alias.</p>
<p>Direct defining of <tt class="literal">\<</tt> and <tt class="literal">\></tt> fails with
<tt class="literal">`! Missing $ inserted.'</tt> (clash with math definitions).
Also, we need aliases for proper upcasing (cf. <a class="reference internal" href="#uppercase">UPPERCASE</a> below).</p>
<pre class="literal-block">\DeclareTextAccent{\Dasia}{LGR}{60} % δασεῖα spiritus asper (rough breathing)
\DeclareTextAccent{\Psili}{LGR}{62} % ψιλή spiritus lenis (smooth breathing)
\DeclareTextAccent{\Tonos}{LGR}{39} % τόνος/ὀξεῖα tonos/oxia (acute)
\DeclareTextAccent{\Varia}{LGR}{96} % βαρεῖα (grave)
\DeclareTextAccent{\Perispomeni}{LGR}{126} % περισπωμένη (circonflex/tilde)
\DeclareTextAccent{\Dialytika}{LGR}{34} % διαλυτικά (diaeresis/trema)
\DeclareTextCommand{\<}{LGR}{\Dasia}
\DeclareTextCommand{\>}{LGR}{\Psili}
\DeclareTextCommand{\'}{LGR}{\Tonos}
\DeclareTextCommand{\`}{LGR}{\Varia}
\DeclareTextCommand{\~}{LGR}{\Perispomeni}
\DeclareTextCommand{\"}{LGR}{\Dialytika}
</pre>
<p>These are not required as the postfix ligature
does not interfere with kerning:</p>
<pre class="literal-block">\DeclareTextSymbol{\Ypogegrammeni}{LGR}{124} % "small" sub-iota
\DeclareTextSymbol{\Prosgegrammeni}{LGR}{8} % "capital" sub-iota
</pre>
<p>for critical editions or classical Greek:</p>
<pre class="literal-block">\DeclareTextAccent{\lowbreve}{LGR}{20} % low breve
\DeclareTextAccent{\u}{LGR}{30} % breve
\DeclareTextAccent{\=}{LGR}{31} % macron
</pre>
<p>The characters at position 16 and 17 are used in the <tt class="literal">\nexus</tt> macro
of the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a> package to form an extensible, hat-like bracket. In
<tt class="literal">CB.enc</tt>, they are mapped to</p>
<blockquote>
<p>16--MODIFIER LETTER LOW ACUTE ACCENT
17--MODIFIER LETTER LOW GRAVE ACCENT</p>
</blockquote>
<p>but according to the documentation of Werner Lemberg's <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a>,
they rather represent the left and right part of U+23E0 TOP TORTOISE
SHELL BRACKET.</p>
</div>
<div class="section" id="composite-diacritics">
<h3><a class="toc-backref" href="#id17">composite diacritics</a></h3>
<p>Definitions:</p>
<pre class="literal-block">% Unicode Name Teubner name
\DeclareTextAccent{\DasiaOxia}{LGR}{86} % Ar
\DeclareTextAccent{\DasiaVaria}{LGR}{67} % Gr
\DeclareTextAccent{\DasiaPerispomeni}{LGR}{64} % Cr
\DeclareTextAccent{\PsiliOxia}{LGR}{94} % As
\DeclareTextAccent{\PsiliVaria}{LGR}{95} % Gs
\DeclareTextAccent{\PsiliPerispomeni}{LGR}{92} % Cs
\DeclareTextAccent{\DialytikaTonos}{LGR}{35} % Ad, tonos/oxia
\DeclareTextAccent{\DialytikaVaria}{LGR}{36} % Gd
\DeclareTextAccent{\DialytikaPerispomeni}{LGR}{32} % Cd
</pre>
<p>Composition from simple diacritics
(the composition with simple "transcription characters" is done for
the shortcut marcros, otherwise it fails with <tt class="literal">\Makeuppercase</tt>):</p>
<pre class="literal-block">\DeclareTextCompositeCommand{\Dialytika}{LGR}{\Tonos}{\DialytikaTonos}
\DeclareTextCompositeCommand{\"}{LGR}{'}{\DialytikaTonos}
\DeclareTextCompositeCommand{\"}{LGR}{\'}{\DialytikaTonos}
\DeclareTextCompositeCommand{\Dialytika}{LGR}{\Varia}{\DialytikaVaria}
\DeclareTextCompositeCommand{\"}{LGR}{`}{\DialytikaVaria}
\DeclareTextCompositeCommand{\"}{LGR}{\`}{\DialytikaVaria}
\DeclareTextCompositeCommand{\Dialytika}{LGR}{\Perispomeni}{\DialytikaPerispomeni}
\DeclareTextCompositeCommand{\"}{LGR}{~}{\DialytikaPerispomeni}
\DeclareTextCompositeCommand{\"}{LGR}{\~}{\DialytikaPerispomeni}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\Dialytika}{\DialytikaTonos}
\DeclareTextCompositeCommand{\'}{LGR}{"}{\DialytikaTonos}
\DeclareTextCompositeCommand{\'}{LGR}{\"}{\DialytikaTonos}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\Dasia}{\DasiaOxia}
\DeclareTextCompositeCommand{\'}{LGR}{<}{\DasiaOxia}
\DeclareTextCompositeCommand{\'}{LGR}{\<}{\DasiaOxia}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\Psili}{\PsiliOxia}
\DeclareTextCompositeCommand{\'}{LGR}{>}{\PsiliOxia}
\DeclareTextCompositeCommand{\'}{LGR}{\>}{\PsiliOxia}
\DeclareTextCompositeCommand{\Varia}{LGR}{\Dialytika}{\DialytikaVaria}
\DeclareTextCompositeCommand{\`}{LGR}{"}{\DialytikaVaria}
\DeclareTextCompositeCommand{\`}{LGR}{\"}{\DialytikaVaria}
\DeclareTextCompositeCommand{\Varia}{LGR}{\Dasia}{\DasiaVaria}
\DeclareTextCompositeCommand{\`}{LGR}{<}{\DasiaVaria}
\DeclareTextCompositeCommand{\`}{LGR}{\<}{\DasiaVaria}
\DeclareTextCompositeCommand{\Varia}{LGR}{\Psili}{\PsiliVaria}
\DeclareTextCompositeCommand{\`}{LGR}{>}{\PsiliVaria}
\DeclareTextCompositeCommand{\`}{LGR}{\>}{\PsiliVaria}
\DeclareTextCompositeCommand{\Perispomeni}{LGR}{\Dialytika}{\DialytikaPerispomeni}
\DeclareTextCompositeCommand{\~}{LGR}{"}{\DialytikaPerispomeni}
\DeclareTextCompositeCommand{\~}{LGR}{\"}{\DialytikaPerispomeni}
\DeclareTextCompositeCommand{\Perispomeni}{LGR}{\Dasia}{\DasiaPerispomeni}
\DeclareTextCompositeCommand{\~}{LGR}{<}{\DasiaPerispomeni}
\DeclareTextCompositeCommand{\~}{LGR}{\<}{\DasiaPerispomeni}
\DeclareTextCompositeCommand{\Perispomeni}{LGR}{\Psili}{\PsiliPerispomeni}
\DeclareTextCompositeCommand{\~}{LGR}{>}{\PsiliPerispomeni}
\DeclareTextCompositeCommand{\~}{LGR}{\>}{\PsiliPerispomeni}
\DeclareTextCompositeCommand{\Psili}{LGR}{\Tonos}{\PsiliOxia}
\DeclareTextCompositeCommand{\>}{LGR}{'}{\PsiliOxia}
\DeclareTextCompositeCommand{\>}{LGR}{\'}{\PsiliOxia}
\DeclareTextCompositeCommand{\Psili}{LGR}{\Varia}{\PsiliVaria}
\DeclareTextCompositeCommand{\>}{LGR}{`}{\PsiliVaria}
\DeclareTextCompositeCommand{\>}{LGR}{\`}{\PsiliVaria}
\DeclareTextCompositeCommand{\Psili}{LGR}{\Perispomeni}{\PsiliPerispomeni}
\DeclareTextCompositeCommand{\>}{LGR}{~}{\PsiliPerispomeni}
\DeclareTextCompositeCommand{\>}{LGR}{\~}{\PsiliPerispomeni}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\Tonos}{\DasiaOxia}
\DeclareTextCompositeCommand{\<}{LGR}{'}{\DasiaOxia}
\DeclareTextCompositeCommand{\<}{LGR}{\'}{\DasiaOxia}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\Varia}{\DasiaVaria}
\DeclareTextCompositeCommand{\<}{LGR}{`}{\DasiaVaria}
\DeclareTextCompositeCommand{\<}{LGR}{\`}{\DasiaVaria}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\Perispomeni}{\DasiaPerispomeni}
\DeclareTextCompositeCommand{\<}{LGR}{~}{\DasiaPerispomeni}
\DeclareTextCompositeCommand{\<}{LGR}{\~}{\DasiaPerispomeni}
</pre>
<p>Pre-composed letters with diacritics
(from <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/teubner.html">teubner</a> with changed names of the composite accents):</p>
<pre class="literal-block">\DeclareTextComposite{\Varia}{LGR}{a}{128}
\DeclareTextComposite{\Dasia}{LGR}{a}{129}
\DeclareTextComposite{\Psili}{LGR}{a}{130}
\DeclareTextComposite{\DasiaVaria}{LGR}{a}{131}
\DeclareTextComposite{\Tonos}{LGR}{a}{136}
\DeclareTextComposite{\DasiaOxia}{LGR}{a}{137}
\DeclareTextComposite{\PsiliOxia}{LGR}{a}{138}
\DeclareTextComposite{\PsiliVaria}{LGR}{a}{139}
\DeclareTextComposite{\Perispomeni}{LGR}{a}{144}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{a}{145}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{a}{146}
\DeclareTextComposite{\Varia}{LGR}{h}{152}
\DeclareTextComposite{\Dasia}{LGR}{h}{153}
\DeclareTextComposite{\Psili}{LGR}{h}{154}
\DeclareTextComposite{\Tonos}{LGR}{h}{160}
\DeclareTextComposite{\DasiaOxia}{LGR}{h}{161}
\DeclareTextComposite{\PsiliOxia}{LGR}{h}{162}
\DeclareTextComposite{\DasiaVaria}{LGR}{h}{163}
\DeclareTextComposite{\Perispomeni}{LGR}{h}{168}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{h}{169}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{h}{170}
\DeclareTextComposite{\PsiliVaria}{LGR}{h}{171}
\DeclareTextComposite{\Varia}{LGR}{w}{176}
\DeclareTextComposite{\Dasia}{LGR}{w}{177}
\DeclareTextComposite{\Psili}{LGR}{w}{178}
\DeclareTextComposite{\DasiaVaria}{LGR}{w}{179}
\DeclareTextComposite{\Tonos}{LGR}{w}{184}
\DeclareTextComposite{\DasiaOxia}{LGR}{w}{185}
\DeclareTextComposite{\PsiliOxia}{LGR}{w}{186}
\DeclareTextComposite{\PsiliVaria}{LGR}{w}{187}
\DeclareTextComposite{\Perispomeni}{LGR}{w}{192}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{w}{193}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{w}{194}
\DeclareTextComposite{\Varia}{LGR}{i}{200}
\DeclareTextComposite{\Dasia}{LGR}{i}{201}
\DeclareTextComposite{\Psili}{LGR}{i}{202}
\DeclareTextComposite{\DasiaVaria}{LGR}{i}{203}
\DeclareTextComposite{\Tonos}{LGR}{i}{208}
\DeclareTextComposite{\DasiaOxia}{LGR}{i}{209}
\DeclareTextComposite{\PsiliOxia}{LGR}{i}{210}
\DeclareTextComposite{\PsiliVaria}{LGR}{i}{211}
\DeclareTextComposite{\Perispomeni}{LGR}{i}{216}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{i}{217}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{i}{218}
\DeclareTextComposite{\Dialytika}{LGR}{i}{240}
\DeclareTextComposite{\DialytikaVaria}{LGR}{i}{241}
\DeclareTextComposite{\DialytikaTonos}{LGR}{i}{242}
\DeclareTextComposite{\DialytikaPerispomeni}{LGR}{i}{243}
\DeclareTextComposite{\Varia}{LGR}{u}{204}
\DeclareTextComposite{\Dasia}{LGR}{u}{205}
\DeclareTextComposite{\Psili}{LGR}{u}{206}
\DeclareTextComposite{\DasiaVaria}{LGR}{u}{207}
\DeclareTextComposite{\Tonos}{LGR}{u}{212}
\DeclareTextComposite{\DasiaOxia}{LGR}{u}{213}
\DeclareTextComposite{\PsiliOxia}{LGR}{u}{214}
\DeclareTextComposite{\PsiliVaria}{LGR}{u}{215}
\DeclareTextComposite{\Perispomeni}{LGR}{u}{220}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{u}{221}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{u}{222}
\DeclareTextComposite{\Dialytika}{LGR}{u}{244}
\DeclareTextComposite{\DialytikaVaria}{LGR}{u}{245}
\DeclareTextComposite{\DialytikaTonos}{LGR}{u}{246}
\DeclareTextComposite{\DialytikaPerispomeni}{LGR}{u}{247}
\DeclareTextComposite{\Varia}{LGR}{e}{224}
\DeclareTextComposite{\Dasia}{LGR}{e}{225}
\DeclareTextComposite{\Psili}{LGR}{e}{226}
\DeclareTextComposite{\DasiaVaria}{LGR}{e}{227}
\DeclareTextComposite{\Tonos}{LGR}{e}{232}
\DeclareTextComposite{\DasiaOxia}{LGR}{e}{233}
\DeclareTextComposite{\PsiliOxia}{LGR}{e}{234}
\DeclareTextComposite{\PsiliVaria}{LGR}{e}{235}
\DeclareTextComposite{\Varia}{LGR}{o}{228}
\DeclareTextComposite{\Dasia}{LGR}{o}{229}
\DeclareTextComposite{\Psili}{LGR}{o}{230}
\DeclareTextComposite{\DasiaVaria}{LGR}{o}{231}
\DeclareTextComposite{\Tonos}{LGR}{o}{236}
\DeclareTextComposite{\DasiaOxia}{LGR}{o}{237}
\DeclareTextComposite{\PsiliOxia}{LGR}{o}{238}
\DeclareTextComposite{\PsiliVaria}{LGR}{o}{239}
\DeclareTextComposite{\Dasia}{LGR}{r}{251}
\DeclareTextComposite{\Psili}{LGR}{r}{252}
</pre>
<p>Do the same for the <tt class="literal">\text*</tt> macros:</p>
<pre class="literal-block">\DeclareTextComposite{\Varia}{LGR}{\textalpha}{128}
\DeclareTextComposite{\Dasia}{LGR}{\textalpha}{129}
\DeclareTextComposite{\Psili}{LGR}{\textalpha}{130}
\DeclareTextComposite{\DasiaVaria}{LGR}{\textalpha}{131}
\DeclareTextComposite{\Tonos}{LGR}{\textalpha}{136}
\DeclareTextComposite{\DasiaOxia}{LGR}{\textalpha}{137}
\DeclareTextComposite{\PsiliOxia}{LGR}{\textalpha}{138}
\DeclareTextComposite{\PsiliVaria}{LGR}{\textalpha}{139}
\DeclareTextComposite{\Perispomeni}{LGR}{\textalpha}{144}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\textalpha}{145}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\textalpha}{146}
\DeclareTextComposite{\Varia}{LGR}{\texteta}{152}
\DeclareTextComposite{\Dasia}{LGR}{\texteta}{153}
\DeclareTextComposite{\Psili}{LGR}{\texteta}{154}
\DeclareTextComposite{\Tonos}{LGR}{\texteta}{160}
\DeclareTextComposite{\DasiaOxia}{LGR}{\texteta}{161}
\DeclareTextComposite{\PsiliOxia}{LGR}{\texteta}{162}
\DeclareTextComposite{\DasiaVaria}{LGR}{\texteta}{163}
\DeclareTextComposite{\Perispomeni}{LGR}{\texteta}{168}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\texteta}{169}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\texteta}{170}
\DeclareTextComposite{\PsiliVaria}{LGR}{\texteta}{171}
\DeclareTextComposite{\Varia}{LGR}{\textomega}{176}
\DeclareTextComposite{\Dasia}{LGR}{\textomega}{177}
\DeclareTextComposite{\Psili}{LGR}{\textomega}{178}
\DeclareTextComposite{\DasiaVaria}{LGR}{\textomega}{179}
\DeclareTextComposite{\Tonos}{LGR}{\textomega}{184}
\DeclareTextComposite{\DasiaOxia}{LGR}{\textomega}{185}
\DeclareTextComposite{\PsiliOxia}{LGR}{\textomega}{186}
\DeclareTextComposite{\PsiliVaria}{LGR}{\textomega}{187}
\DeclareTextComposite{\Perispomeni}{LGR}{\textomega}{192}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\textomega}{193}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\textomega}{194}
\DeclareTextComposite{\Varia}{LGR}{\textiota}{200}
\DeclareTextComposite{\Dasia}{LGR}{\textiota}{201}
\DeclareTextComposite{\Psili}{LGR}{\textiota}{202}
\DeclareTextComposite{\DasiaVaria}{LGR}{\textiota}{203}
\DeclareTextComposite{\Tonos}{LGR}{\textiota}{208}
\DeclareTextComposite{\DasiaOxia}{LGR}{\textiota}{209}
\DeclareTextComposite{\PsiliOxia}{LGR}{\textiota}{210}
\DeclareTextComposite{\PsiliVaria}{LGR}{\textiota}{211}
\DeclareTextComposite{\Perispomeni}{LGR}{\textiota}{216}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\textiota}{217}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\textiota}{218}
\DeclareTextComposite{\Dialytika}{LGR}{\textiota}{240}
\DeclareTextComposite{\DialytikaVaria}{LGR}{\textiota}{241}
\DeclareTextComposite{\DialytikaTonos}{LGR}{\textiota}{242}
\DeclareTextComposite{\DialytikaPerispomeni}{LGR}{\textiota}{243}
\DeclareTextComposite{\Varia}{LGR}{\textupsilon}{204}
\DeclareTextComposite{\Dasia}{LGR}{\textupsilon}{205}
\DeclareTextComposite{\Psili}{LGR}{\textupsilon}{206}
\DeclareTextComposite{\DasiaVaria}{LGR}{\textupsilon}{207}
\DeclareTextComposite{\Tonos}{LGR}{\textupsilon}{212}
\DeclareTextComposite{\DasiaOxia}{LGR}{\textupsilon}{213}
\DeclareTextComposite{\PsiliOxia}{LGR}{\textupsilon}{214}
\DeclareTextComposite{\PsiliVaria}{LGR}{\textupsilon}{215}
\DeclareTextComposite{\Perispomeni}{LGR}{\textupsilon}{220}
\DeclareTextComposite{\DasiaPerispomeni}{LGR}{\textupsilon}{221}
\DeclareTextComposite{\PsiliPerispomeni}{LGR}{\textupsilon}{222}
\DeclareTextComposite{\Dialytika}{LGR}{\textupsilon}{244}
\DeclareTextComposite{\DialytikaVaria}{LGR}{\textupsilon}{245}
\DeclareTextComposite{\DialytikaTonos}{LGR}{\textupsilon}{246}
\DeclareTextComposite{\DialytikaPerispomeni}{LGR}{\textupsilon}{247}
\DeclareTextComposite{\Varia}{LGR}{\textepsilon}{224}
\DeclareTextComposite{\Dasia}{LGR}{\textepsilon}{225}
\DeclareTextComposite{\Psili}{LGR}{\textepsilon}{226}
\DeclareTextComposite{\DasiaVaria}{LGR}{\textepsilon}{227}
\DeclareTextComposite{\Tonos}{LGR}{\textepsilon}{232}
\DeclareTextComposite{\DasiaOxia}{LGR}{\textepsilon}{233}
\DeclareTextComposite{\PsiliOxia}{LGR}{\textepsilon}{234}
\DeclareTextComposite{\PsiliVaria}{LGR}{\textepsilon}{235}
\DeclareTextComposite{\Varia}{LGR}{\textomicron}{228}
\DeclareTextComposite{\Dasia}{LGR}{\textomicron}{229}
\DeclareTextComposite{\Psili}{LGR}{\textomicron}{230}
\DeclareTextComposite{\DasiaVaria}{LGR}{\textomicron}{231}
\DeclareTextComposite{\Tonos}{LGR}{\textomicron}{236}
\DeclareTextComposite{\DasiaOxia}{LGR}{\textomicron}{237}
\DeclareTextComposite{\PsiliOxia}{LGR}{\textomicron}{238}
\DeclareTextComposite{\PsiliVaria}{LGR}{\textomicron}{239}
\DeclareTextComposite{\Dasia}{LGR}{r}{251}
\DeclareTextComposite{\Psili}{LGR}{r}{252}
</pre>
</div>
</div>
<div class="section" id="capital-letters">
<h2><a class="toc-backref" href="#id18">Capital letters</a></h2>
<blockquote>
<p>In Greek, diacritics are omitted in all-uppercase words, but kept as part
of an uppercase initial (written before rather than above the letter).</p>
<p>The diaytika should also always be used in all-uppercase words (even
in cases where they are not needed when writing in lowercase)</p>
<p class="attribution">—<a class="reference external" href="http://en.wikipedia.org/wiki/Capitalization">http://en.wikipedia.org/wiki/Capitalization</a></p>
</blockquote>
<div class="section" id="title-case">
<h3><a class="toc-backref" href="#id19">Title Case</a></h3>
<p>Place diacritics before instead of above:</p>
<pre class="literal-block">\DeclareTextCompositeCommand{\Dasia}{LGR}{A}{<A}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{A}{<`A}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{A}{<'A}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{A}{<\char126A}
\DeclareTextCompositeCommand{\Psili}{LGR}{A}{>A}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{A}{>`A}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{A}{>'A}
\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{A}{>\char126A}
\DeclareTextCompositeCommand{\Tonos}{LGR}{A}{'A}
\DeclareTextCompositeCommand{\Varia}{LGR}{A}{`A}
\DeclareTextCompositeCommand{\Dasia}{LGR}{E}{<E}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{E}{<'E}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{E}{<`E}
\DeclareTextCompositeCommand{\Psili}{LGR}{E}{>E}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{E}{>'E}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{E}{>`E}
\DeclareTextCompositeCommand{\Tonos}{LGR}{E}{'E}
\DeclareTextCompositeCommand{\Varia}{LGR}{E}{`E}
\DeclareTextCompositeCommand{\Dasia}{LGR}{H}{<H}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{H}{<`H}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{H}{<'H}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{H}{<\char126H}
\DeclareTextCompositeCommand{\Psili}{LGR}{H}{>H}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{H}{>`H}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{H}{>'H}
\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{H}{>\char126H}
\DeclareTextCompositeCommand{\Tonos}{LGR}{H}{'H}
\DeclareTextCompositeCommand{\Varia}{LGR}{H}{`H}
\DeclareTextCompositeCommand{\Dasia}{LGR}{I}{<I}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{I}{<`I}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{I}{<'I}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{I}{<\char126I}
\DeclareTextCompositeCommand{\Psili}{LGR}{I}{>I}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{I}{>`I}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{I}{>'I}
\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{I}{>\char126I}
\DeclareTextCompositeCommand{\Tonos}{LGR}{I}{'I}
\DeclareTextCompositeCommand{\Varia}{LGR}{I}{`I}
\DeclareTextCompositeCommand{\Dasia}{LGR}{O}{<O}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{O}{<`O}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{O}{<'O}
\DeclareTextCompositeCommand{\Psili}{LGR}{O}{>O}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{O}{>`O}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{O}{>'O}
\DeclareTextCompositeCommand{\Tonos}{LGR}{O}{'O}
\DeclareTextCompositeCommand{\Varia}{LGR}{O}{`O}
\DeclareTextCompositeCommand{\Dasia}{LGR}{U}{<U}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{U}{<`U}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{U}{<'U}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{U}{<\char126U}
\DeclareTextCompositeCommand{\Tonos}{LGR}{U}{'U}
\DeclareTextCompositeCommand{\Varia}{LGR}{U}{`U}
\DeclareTextCompositeCommand{\Dasia}{LGR}{W}{<W}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{W}{<`W}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{W}{<'W}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{W}{<\char126W}
\DeclareTextCompositeCommand{\Psili}{LGR}{W}{>W}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{W}{>`W}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{W}{>'W}
\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{W}{>\char126W}
\DeclareTextCompositeCommand{\Tonos}{LGR}{W}{'W}
\DeclareTextCompositeCommand{\Varia}{LGR}{W}{`W}
</pre>
<p>Except for the dialytika:</p>
<pre class="literal-block">\DeclareTextComposite{\Dialytika}{LGR}{I}{219}
\DeclareTextComposite{\Dialytika}{LGR}{U}{223}
</pre>
<p>Do the same for the <tt class="literal">\text*</tt> macros:</p>
<pre class="literal-block">\DeclareTextCompositeCommand{\Dasia}{LGR}{\textAlpha}{<A}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\textAlpha}{<`A}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\textAlpha}{<'A}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\textAlpha}{<\char126A}
\DeclareTextCompositeCommand{\Psili}{LGR}{\textAlpha}{>A}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\textAlpha}{>`A}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\textAlpha}{>'A}
\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\textAlpha}{>\char126A}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\textAlpha}{'A}
\DeclareTextCompositeCommand{\Varia}{LGR}{\textAlpha}{`A}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\textEpsilon}{<E}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\textEpsilon}{<'E}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\textEpsilon}{<`E}
\DeclareTextCompositeCommand{\Psili}{LGR}{\textEpsilon}{>E}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\textEpsilon}{>'E}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\textEpsilon}{>`E}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\textEpsilon}{'E}
\DeclareTextCompositeCommand{\Varia}{LGR}{\textEpsilon}{`E}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\textEta}{<H}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\textEta}{<`H}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\textEta}{<'H}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\textEta}{<\char126H}
\DeclareTextCompositeCommand{\Psili}{LGR}{\textEta}{>H}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\textEta}{>`H}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\textEta}{>'H}
\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\textEta}{>\char126H}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\textEta}{'H}
\DeclareTextCompositeCommand{\Varia}{LGR}{\textEta}{`H}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\textIota}{<I}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\textIota}{<`I}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\textIota}{<'I}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\textIota}{<\char126I}
\DeclareTextCompositeCommand{\Psili}{LGR}{\textIota}{>I}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\textIota}{>`I}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\textIota}{>'I}
\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\textIota}{>\char126I}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\textIota}{'I}
\DeclareTextCompositeCommand{\Varia}{LGR}{\textIota}{`I}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\textOmicron}{<O}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\textOmicron}{<`O}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\textOmicron}{<'O}
\DeclareTextCompositeCommand{\Psili}{LGR}{\textOmicron}{>O}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\textOmicron}{>`O}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\textOmicron}{>'O}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\textOmicron}{'O}
\DeclareTextCompositeCommand{\Varia}{LGR}{\textOmicron}{`O}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\textUpsilon}{<U}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\textUpsilon}{<`U}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\textUpsilon}{<'U}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\textUpsilon}{<\char126U}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\textUpsilon}{'U}
\DeclareTextCompositeCommand{\Varia}{LGR}{\textUpsilon}{`U}
\DeclareTextCompositeCommand{\Dasia}{LGR}{\textOmega}{<W}
\DeclareTextCompositeCommand{\DasiaVaria}{LGR}{\textOmega}{<`W}
\DeclareTextCompositeCommand{\DasiaOxia}{LGR}{\textOmega}{<'W}
\DeclareTextCompositeCommand{\DasiaPerispomeni}{LGR}{\textOmega}{<\char126W}
\DeclareTextCompositeCommand{\Psili}{LGR}{\textOmega}{>W}
\DeclareTextCompositeCommand{\PsiliVaria}{LGR}{\textOmega}{>`W}
\DeclareTextCompositeCommand{\PsiliOxia}{LGR}{\textOmega}{>'W}
\DeclareTextCompositeCommand{\PsiliPerispomeni}{LGR}{\textOmega}{>\char126W}
\DeclareTextCompositeCommand{\Tonos}{LGR}{\textOmega}{'W}
\DeclareTextCompositeCommand{\Varia}{LGR}{\textOmega}{`W}
</pre>
<p>Except for the dialytika:</p>
<pre class="literal-block">\DeclareTextComposite{\Dialytika}{LGR}{\textIota}{219}
\DeclareTextComposite{\Dialytika}{LGR}{\textUpsilon}{223}
</pre>
</div>
</div>
<div class="section" id="uppercase">
<h2><a class="toc-backref" href="#id20">UPPERCASE</a></h2>
<div class="section" id="uclclist-extension">
<h3><a class="toc-backref" href="#id21">@uclclist extension</a></h3>
<p>If UPPERCASE (all-caps) is generated with <tt class="literal">\MakeUppercase</tt>, macro
substitutions in the <tt class="literal">\@uclclist</tt> apply. This can be used to drop the
diacritics (except dialytika).</p>
<p>Based on the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> and <tt class="literal">fontenc.sty</tt>.
(The first two lines are TeX' way of writing <tt class="literal">uclclist += …</tt>):</p>
<pre class="literal-block">\expandafter\def\expandafter\@uclclist\expandafter{%
\@uclclist
\Dasia\do@nothing
\DasiaOxia\@hiatus
\DasiaVaria\do@nothing
\DasiaPerispomeni\do@nothing
\Psili\@hiatus
\PsiliOxia\@hiatus
\PsiliVaria\@hiatus
\PsiliPerispomeni\do@nothing
\Tonos\@hiatus
\Varia\do@nothing
\DialytikaTonos\up@Dialytika
\DialytikaVaria\up@Dialytika
\DialytikaPerispomeni\up@Dialytika
\Perispomeni\do@nothing
\Ypogegrammeni\Prosgegrammeni
%
\textalpha \textAlpha
\textbeta \textBeta
\textgamma \textGamma
\textdelta \textDelta
\textepsilon\textEpsilon
\textzeta \textZeta
\texteta \textEta
\texttheta \textTheta
\textiota \textIota
\textkappa \textKappa
\textlambda \textLambda
\textmu \textMu
\textnu \textNu
\textxi \textXi
\textomicron\textOmicron
\textpi \textPi
\textrho \textRho
\textvarsigma \textSigma
\textsigma \textSigma
\textautosigma \textSigma
\texttau \textTau
\textupsilon\textUpsilon
\textphi \textPhi
\textchi \textChi
\textpsi \textPsi
\textomega \textOmega
%
\qoppa \Qoppa
\varstigma \Stigma
\stigma \Stigma
\sampi \Sampi
\ddigamma \Digamma
}
</pre>
</div>
<div class="section" id="substitution-macros">
<h3><a class="toc-backref" href="#id22">Substitution macros</a></h3>
<div class="section" id="drop-diacritics">
<h4><a class="toc-backref" href="#id23">Drop diacritics</a></h4>
<pre class="literal-block">\DeclareTextCommand{\do@nothing}{LGR}[1]{#1}
</pre>
<p>(The argument processing ensures that kerning is preserved)</p>
</div>
<div class="section" id="keep-dialytika">
<h4><a class="toc-backref" href="#id24">Keep dialytika.</a></h4>
<p>Define an alias so that downcasing with <tt class="literal">\MakeLowercase</tt> does not
convert a simple dialytika to a composite accent:</p>
<pre class="literal-block">\DeclareTextCommand{\up@Dialytika}{LGR}{\Dialytika}
</pre>
</div>
<div class="section" id="mark-hiatus">
<h4><a class="toc-backref" href="#id25">Mark hiatus</a></h4>
<p>Tonos and dasia mark a hiatus (break-up of a diphtong) if placed on the
first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
ἀυπνία → ΑΫΠΝΙΑ):</p>
<pre class="literal-block">\DeclareTextCommand{\@hiatus}{LGR}[1]{#1}
\DeclareTextCompositeCommand{\@hiatus}{LGR}{A}{\A@hiatus}
\DeclareTextCompositeCommand{\@hiatus}{LGR}{\textAlpha}{\A@hiatus}
\DeclareTextCompositeCommand{\@hiatus}{LGR}{E}{\E@hiatus}
\DeclareTextCompositeCommand{\@hiatus}{LGR}{\textEpsilon}{\E@hiatus}
</pre>
<p>Look ahead and place a diaeresis on Ι or Υ:</p>
<pre class="literal-block">\DeclareTextCommand{\A@hiatus}{LGR}{%
\LGR@ifnextchar{I}{A\"}{%
\LGR@ifnextchar{U}{A\"}{%
\LGR@ifnextchar{\textIota}{A\"}{%
\LGR@ifnextchar{\textUpsilon}{A\"}{A}%
}%
}%
}%
}
\DeclareTextCommand{\E@hiatus}{LGR}{%
\LGR@ifnextchar{I}{E\"}{%
\LGR@ifnextchar{U}{E\"}{%
\LGR@ifnextchar{\textIota}{E\"}{%
\LGR@ifnextchar{\textUpsilon}{E\"}{E}%
}%
}%
}%
}
</pre>
<p>As <tt class="literal">\@ifnextchar</tt> gobbles spaces the lookahead macro definition from
<tt class="literal">amsgen.sty</tt> is used:</p>
<blockquote>
<p>This macro is a new version of LaTeX’s <tt class="literal">\@ifnextchar</tt>, macro
that does not skip over spaces.</p>
</blockquote>
<pre class="literal-block">\ProvideTextCommand{\LGR@ifnextchar}{LGR}[3]{%
% \long\def\LGR@ifnextchar#1#2#3{%
\let\reserved@d= #1%
\def\reserved@a{#2}\def\reserved@b{#3}%
\futurelet\@let@token\LGR@ifnch
}
\ProvideTextCommand{\LGR@ifnch}{LGR}{%
\ifx\@let@token\reserved@d \let\reserved@b\reserved@a \fi
\reserved@b
}
</pre>
<p>Unfortunately, the lookahead breaks kerning.</p>
<p>Alternatives tried:</p>
<ul>
<li><p>CompositeCommands fail at the end of a macro, e.g. <tt class="literal"><span class="pre">\emph{\'a}</span></tt>:</p>
<pre class="literal-block">%\DeclareTextCommand{\A@hiatus}{LGR}{A}
%\DeclareTextCommand{\E@hiatus}{LGR}{E}
%\DeclareTextCompositeCommand{\A@hiatus}{LGR}{}{A}
%\DeclareTextCompositeCommand{\A@hiatus}{LGR}{I}{A\"I}
%\DeclareTextCompositeCommand{\A@hiatus}{LGR}{U}{A\"U}
</pre>
</li>
<li><p>The glyph No 12 is a special "Upcase Alpha" that in ligature with Y
and I adds a diaresis to them. However, it seems that it has only
kerning definitions for I and Y (as it is not intended for direct
use):</p>
<pre class="literal-block">%\DeclareTextComposite{\@hiatus}{LGR}{A}{12}
</pre>
<p>No such glyph exists for E but this is no problem as E does
not require kerning anyway.</p>
</li>
</ul>
<!-- References
- - - - - - - - - - -->
</div>
</div>
</div>
</div>
</div>
</body>
</html>
|