Skip to content

Instantly share code, notes, and snippets.

@praksharma
Created April 15, 2024 17:49
Show Gist options
  • Save praksharma/d89c917ae88f70017ef68dab60c78dc4 to your computer and use it in GitHub Desktop.
Save praksharma/d89c917ae88f70017ef68dab60c78dc4 to your computer and use it in GitHub Desktop.
\usepackage[toc,page]{appendix}
\usepackage{lastpage}% Required to determine the last page for
% Required to insert images
\graphicspath{ {Figs/} }
\usepackage{comment}% Comment
\usepackage{url}% URL in Footnote
\usepackage{cite}% BibLatex
\usepackage{listings}% hard code
\usepackage[document]{ragged2e}% Justify
\usepackage{wrapfig}% add picture wraped by text
\usepackage{arydshln}% add hash line for tables
% new tables
\usepackage{xcolor}
% \newcommand\mytodo[1]{\textcolor{red}{#1}}
\usepackage{lipsum}
\usepackage{tcolorbox}% colour box
\usepackage{float}
\usepackage{todonotes}
\usepackage{glossaries}
\makeglossaries
\usepackage[nottoc]{tocbibind}% add list of figure and tables and put them in content
%\setlength{\voffset}{0.5in}
% Margins
\topmargin=0in
\headheight=0in
\evensidemargin=0in
\oddsidemargin=0in
\textwidth=6.5in
\textheight=9.0in
\headsep=0.4in % distance between header and main text area
% https://www.overleaf.com/learn/latex/Page_size_and_margins
\renewcommand{\headrulewidth}{1pt}% 2pt header rule
%\renewcommand{\headrule}{\hbox to\headwidth{%
%\color{black}\leaders\hrule height \headrulewidth\hfill}}
\fancypagestyle{noheader}{
\fancyhf{}% Clear header/footer
\renewcommand{\headrulewidth}{0pt}% No header rule
}
\linespread{1.3} % Line spacing
\hypersetup{
colorlinks = true, %Colours links instead of ugly boxes
urlcolor = blue, %Colour for external hyperlinks
linkcolor = blue, %Colour of internal links
citecolor = blue %Colour of citations
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment