Skip to content

Commit

Permalink
Initial Overleaf Import
Browse files Browse the repository at this point in the history
  • Loading branch information
ygalanak committed Jun 1, 2020
0 parents commit 172117c
Show file tree
Hide file tree
Showing 10 changed files with 130 additions and 0 deletions.
1 change: 1 addition & 0 deletions Appendix/blah.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\section{Blah}
6 changes: 6 additions & 0 deletions Figures/fig1.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
\begin{tikzpicture}
\draw[-, thick] (0,0)--(0,1);
\draw[-, thick] (0,0)--(1,0);


\end{tikzpicture}
Empty file added Sections/conclusion.tex
Empty file.
12 changes: 12 additions & 0 deletions Sections/intro.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\section{Introduction}
\subsection{Blah}

\lipsum[2]
\lipsum[3]

\begin{figure}[tb]
\centering
\input{Figures/fig1}
\caption{Caption} \label{fig:my_label}
\footnotesize Source: \citet{smith1937wealth}
\end{figure}
Empty file added Sections/litreview.tex
Empty file.
Empty file added Sections/methodology.tex
Empty file.
Empty file added Sections/results.tex
Empty file.
44 changes: 44 additions & 0 deletions WPEcon_main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
% Author: Y.Galanakis
% W: ygalanak.github.io
% Date: June 2020
%-------------------------------------------------------
% !TeX program = lualatex

\documentclass[12pt,letterpaper]{article}
\usepackage{YGTemplate}
\usepackage{lipsum} % only for illustration purposes here


% Title
%-------------------------------------------------------
\title{Title\thanks{\textbf{Acknowledgements:} tbc. }}
\author{My Name\thanks{\textbf{Correspondence:} My Name, My Dept, Address; E: \href{mailto:[email protected]}{[email protected]}} \\ \small University and Other Affiliations}
\date{\small \monthyeardate \today}

% Main document
%------------------------------------------------------

\begin{document}
\maketitle

\begin{abstract}
\lipsum[1]
\end{abstract}

\input{Sections/intro}
\input{Sections/litreview}
\input{Sections/methodology}
\input{Sections/results}
\input{Sections/conclusion}

\newpage
\bibliographystyle{econ}
{\small \bibliography{myreferences}}

\newpage
\begin{appendix}
\counterwithin{figure}{section}
\counterwithin{table}{section}
\input{Appendix/blah.tex}
\end{appendix}
\end{document}
61 changes: 61 additions & 0 deletions YGTemplate.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
% Author: Y.Galanakis
% W: ygalanak.github.io
% Date: June 2020
%-------------------------------------------------------
\ProvidesPackage{YGTemplate}
\usepackage{fontspec}
\usepackage[english]{babel}
%\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{a4wide}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{caption, subcaption}
\usepackage{fnpct}
\usepackage{kpfonts} % for nice fonts
\usepackage{tikz,pgfplots,pgfplotstable}
\usepackage{fontawesome}
\usepackage{psfrag}
\usetikzlibrary{intersections,patterns,pgfplots.fillbetween}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{booktabs} % for nice tables
\usepackage{bm} % for bold math
\usepackage{rotating}
\definecolor{MyBlue}{rgb}{0,0,0.3}
\definecolor{MyRed}{rgb}{0.4,0,0.1}
\definecolor{MyGreen}{rgb}{0,0.4,0}
\usepackage[bookmarks=true,bookmarksnumbered=true,colorlinks=true,linkcolor=MyBlue,citecolor=MyRed,filecolor=MyBlue,urlcolor=MyGreen]{hyperref}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{natbib}
\usepackage{paralist}
\usepackage{multicol}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{lscape}
\usepackage{chngcntr}
\usepackage[hang,flushmargin]{footmisc}
\usepackage{datetime}
\usepackage{threeparttable}
\usepackage{diagbox}
\newdateformat{monthyeardate}{%
\monthname[\THEMONTH], \THEYEAR}

\newcounter{ltfootnote}
\renewcommand{\theltfootnote}{\alph{ltfootnote}}
\makeatletter
\newenvironment{ltfootnotes}
{\let\c@footnote\c@ltfootnote
\let\thefootnote\theltfootnote
\setcounter{ltfootnote}{0}}
{}
\makeatother

\DeclareCaptionFont{MyBlue}{\color{MyBlue}}
\captionsetup{
labelfont={bf,MyBlue},
}

\usepackage{sectsty}
\sectionfont{\color{MyBlue}} % sets colour of sections
\subsectionfont{\color{MyBlue}}
6 changes: 6 additions & 0 deletions myreferences.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@misc{smith1937wealth,
title={The Wealth of Nations},
author={Smith, Adam},
year={1776},
publisher={na}
}

0 comments on commit 172117c

Please sign in to comment.