summaryrefslogtreecommitdiffstats
path: root/log.sty
blob: ab9c5ad997cf2551e176a50b0ddd424a6927f9ed (plain)
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
\usepackage{pdfpages}
\usepackage[
  inner=0.75in,
  outer=0.75in,
  top=0.75in,
  bottom=0.75in,
  paperwidth=13.970cm,
  paperheight=21.589cm]{geometry}
\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage[meera]{mlym}
\usepackage{fancyhdr}
\usepackage[final]{microtype}
\usepackage{polyglossia}
\usepackage{framed}
\usepackage{url}
\usepackage{graphicx}


\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}

\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

\linespread{1.1}
\widowpenalty=10000
\clubpenalty=10000
\raggedbottom
\sloppy




\newcommand{\secstar}[1]{\section*{\addcontentsline{toc}{section}{#1}\centering #1}}


\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\bfseries\filcenter}
{\LARGE\thechapter}
{1ex}
{\titlerule[2pt]
\vspace{2ex}%
\LARGE}
[\vspace{1ex}%
{\titlerule[2pt]}]


%% Define a new 'leo' style for the package that will use a smaller font.
\makeatletter
\def\url@leostyle{%
  \@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
%% Now actually use the newly defined style.
\urlstyle{leo}