-
Notifications
You must be signed in to change notification settings - Fork 0
/
greek_enumerate.sty
60 lines (59 loc) · 1.02 KB
/
greek_enumerate.sty
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
\RequirePackage{enumitem}
\makeatletter
\def\greek#1{\expandafter\@greek\csname c@#1\endcsname}
\def\Greek#1{\expandafter\@Greek\csname c@#1\endcsname}
\def\@greek#1{\ifcase#1
\or $\alpha$%
\or $\beta$%
\or $\gamma$%
\or $\delta$%
\or $\epsilon$%
\or $\zeta$%
\or $\eta$%
\or $\theta$%
\or $\iota$%
\or $\kappa$%
\or $\lambda$%
\or $\mu$%
\or $\nu$%
\or $\xi$%
\or $o$%
\or $\pi$%
\or $\rho$%
\or $\sigma$%
\or $\tau$%
\or $\upsilon$%
\or $\phi$%
\or $\chi$%
\or $\psi$%
\or $\omega$%
\fi}
\def\@Greek#1{\ifcase#1
\or $\mathrm{A}$%
\or $\mathrm{B}$%
\or $\Gamma$%
\or $\Delta$%
\or $\mathrm{E}$%
\or $\mathrm{Z}$%
\or $\mathrm{H}$%
\or $\Theta$%
\or $\mathrm{I}$%
\or $\mathrm{K}$%
\or $\Lambda$%
\or $\mathrm{M}$%
\or $\mathrm{N}$%
\or $\Xi$%
\or $\mathrm{O}$%
\or $\Pi$%
\or $\mathrm{P}$%
\or $\Sigma$%
\or $\mathrm{T}$%
\or $\mathrm{Y}$%
\or $\Phi$%
\or $\mathrm{X}$%
\or $\Psi$%
\or $\Omega$%
\fi}
\makeatother
\AddEnumerateCounter{\greek}{\@greek}{24}
\AddEnumerateCounter{\Greek}{\@Greek}{12}