Skip to content

Instantly share code, notes, and snippets.

View edwardtoday's full-sized avatar

Pei Qing 卿培 edwardtoday

View GitHub Profile
\newcommand{\chaptersize}{\fontsize{22pt}{28pt}\selectfont\bfseries}
\usepackage{shadowtext}
\shadowoffsetx{1pt}
\shadowoffsety{.7pt}
\usepackage{titlesec}
\makeatletter
\renewcommand{\@makechapterhead}[1]{
\vspace*{-6pt}
{\setlength{\parindent}{0pt}\raggedright
\normalfont \chaptersize
\shadowtext{\chaptertitlename\ \thechapter \quad\ #1}
\usepackage[top=1in, left=1.8in, bottom=1.4in, right=1.1in]{geometry}
\newcommand{\minsize}{\fontsize{10pt}{12pt}\selectfont}
\usepackage{fancyhdr}
\fancyhf{} % clear all header and footers
\renewcommand{\headrulewidth}{0pt} % remove the header rule
\rfoot{
\fancyplain{\minsize\thepage\hspace{1.8em}}
{\minsize\thepage\hspace{1.8em}}}
\pagestyle{fancyplain}
\setlength{\parskip}{18pt}
\usepackage{parskip}
\begin{doublespacing}
\end{doublespacing}
\usepackage{setspace}
\onehalfspacing
\captionsetup[table]{labelsep=period}