-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.tex
127 lines (113 loc) · 3.12 KB
/
packages.tex
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
\usepackage[outer=2cm, inner=2cm, bottom=2.5cm, footnotesep=1cm]{geometry}
\usepackage[super]{nth}
\usepackage[bottom]{footmisc}
\usepackage{longtable}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{enumitem}
\usepackage{fontspec}
\usepackage[german,greek,english]{babel}
\languageattribute{greek}{ancient}
\usepackage{epigraph}
\usepackage{afterpage}
\usepackage{nonumonpart}
\usepackage{titlesec}
\usepackage{microtype}
\usepackage{titling}
\usepackage[LGR,T1]{fontenc}
\usepackage{bold-extra}
\usepackage{listings}
\usepackage[svgnames]{xcolor}
\usepackage{libertine}
\linespread{1.1}
\usepackage[nopbinverse,nocritical,noend,noeledsec,nofamiliar,noledgroup]{reledmac}
\usepackage[]{reledpar}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{xhfill}
\definecolor{rulecolor}{rgb}{0.34, 0.01, 0.1}
\usepackage[hyphens]{url}
\usepackage{xurl}
\usepackage{moreenum}
\usepackage{tocloft}
\usepackage{teubner}
%\usepackage{draftwatermark}
\setlength{\cftbeforechapskip}{0.5em}
\setlength{\cftchapnumwidth}{5em}
\usepackage{ccicons}
\usepackage{metalogo}
\usepackage{epigraph}
\usepackage{Zallman,lettrine}
\usepackage{datetime}
\newdateformat{monthyeardate}{%
\monthname[\THEMONTH] \THEYEAR}
\newfontfamily{\PHtitl}{Philokalia}[
%Renderer=OpenType,
Script=Greek,
Style=TitlingCaps,
Scale=0.3,
]
\newenvironment{doubletitle}
{
\thispagestyle{empty}
}
\newlength{\drop}
\raggedbottom
\makeindex
\renewcommand\UrlFont{\itshape}
\cftpagenumbersoff{part}
%\SetWatermarkText{Preview}
\newlength\longest
\setlength{\marginparwidth}{0pt}
\setlength{\headheight}{15pt}
\titleformat{\chapter}[display]
{\filcenter}{\mbox{}\xrfill[0.4ex]{3pt}[rulecolor]\textsc{\large\enspace\chaptername \thechapter}\enspace\xrfill[0.4ex]{3pt}[rulecolor]\mbox{}}{0.3ex} {{\color{rulecolor}\titlerule[1pt]}\vskip3ex\huge\bfseries}[\medskip{\color{rulecolor}\titlerule[1pt]}]
\titleformat{\section}[wrap]
{\normalfont\bfseries}
{\thesection.}{0.5em}{}
\titlespacing{\section}{12pc}{1.5ex plus .1ex minus .2ex}{1pc}
\addto\captionsgreek{\renewcommand{\chaptername}{Κεφάλαιον }}
\addto\captionsenglish{\renewcommand{\chaptername}{Chapter }}
\renewcommand{\thechapter}{\Roman{chapter}}
%%%%%%%%%% Fancy HDR %%%%%%%%%%
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{\textsc{\nouppercase{\leftmark}}}
\fancyhead[RE]{\textsc{\shorttitle}}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{\textsc{\nouppercase{\leftmark}}}
\fancyhead[RE]{\textsc{\shorttitle}}}
%%%%%%%%%% Greek Dates %%%%%%%%%%
\newcommand\greekdate[1]{%
\ifcase#1\relax
\or
\uppercase{Γαμηλιών}
\or
\uppercase{Ἀνθεστηριών}
\or
\uppercase{Ἐλαφηβολιών}
\or
\uppercase{Μουνιχιών}
\or
\uppercase{Θαργηλιών}
\or
\uppercase{Σκιροφοριών}
\or
\uppercase{Ἑκατομβαιών}
\or
\uppercase{Μεταγειτνιών}
\or
\uppercase{Βοηδρομιών}
\or
\uppercase{Πυανεψιών}
\or
\uppercase{Μαιμακτηριών}
\or
\uppercase{Ποσειδεών}
\else
\uppercase{Error}
\fi
}