-
Notifications
You must be signed in to change notification settings - Fork 0
/
xelatex-style.tex
51 lines (42 loc) · 1.61 KB
/
xelatex-style.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
%\usepackage{helvet}
\usepackage{fontspec}
% FONTS
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text} % converts LaTeX specials (``quotes'' --- dashes etc.) to unicode
%\setromanfont [Ligatures={Common}, BoldFont={Fontin Bold}, ItalicFont={Fontin Italic}]{Fontin}
%\setsansfont [Ligatures={Common}, BoldFont={Fonti%n Sans Bold}, ItalicFont={Fonti%n Sans Italic}]{Fontin Sans}
%\setmonofont[Scale=0.8]{Monaco}
\usepackage{sectsty}
\usepackage[normalem]{ulem}
\sectionfont{\rmfamily\mdseries\upshape\Large}
\subsectionfont{\rmfamily\bfseries\upshape\normalsize}
\subsubsectionfont{\rmfamily\mdseries\upshape\normalsize}
\usepackage{paralist}
\RequirePackage[colorlinks]{hyperref}
\hypersetup{linkcolor=blue,urlcolor=blue}
%tighten lists
\itemsep 0pt plus 0pt minus 7pt
\parskip 0pt plus 0pt minus 5pt
\parsep 0pt plus 1pt minus 5pt
\partopsep 0pt plus 1pt minus 5pt
% Page Dimensions
% Document Style Option to fill the paper just like Plain TeX.
\topmargin 0pt
\advance \topmargin by -\headheight
\advance \topmargin by -\headsep
\textheight 8.95in
\oddsidemargin 0pt
\evensidemargin \oddsidemargin
\marginparwidth 0in
\textwidth 6.75in
\newcommand{\iitb}{Indian~Institute~of~Technology,~Bombay}
\tolerance 100
\newcommand{\newrow}{\\ \hline}
\newcommand{\mdash}{---}
\newcommand{\email}[1]{{\sl E-mail\/}: $\langle\hbox{\tt#1}\rangle$}
\newcommand{\phone}[1]{{\sl Phone\/}: {\tt #1}}
\newcommand\livelink[1]{\href{#1}{#1}}
% get slightly longer or shorter pages to avoid bad breaks
\newcommand{\longpage}{\enlargethispage{\baselineskip}}
\newcommand{\shortpage}{\enlargethispage{-\baselineskip}}