Skip to content

Commit

Permalink
add sample latex paper template
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtrkmn committed Oct 26, 2020
1 parent c4b80a6 commit 3c4c020
Show file tree
Hide file tree
Showing 8 changed files with 222 additions and 0 deletions.
Binary file added figures/example_figure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
141 changes: 141 additions & 0 deletions main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
\documentclass[11pt]{article}
\usepackage{paper_style}

\usepackage{lipsum} %% Package to create dummy text (comment or erase before start)

%% ===============================================
%% Setting the line spacing (3 options: only pick one)
% \doublespacing
% \singlespacing
\onehalfspacing
%% ===============================================

\setlength{\droptitle}{-5em} %% Don't touch

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SET THE TITLE
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% TITLE:
\title{This is the Title: I hope you like it
\thanks{Selected Paper prepared for presentation at the 201X Agricultural \& Applied Economics Association Annual Meeting}
}

% AUTHORS:
\author{First Author\\% Name author
\href{mailto:[email protected]}{\texttt{[email protected]}} %% Email author 1
\and Second Author\\% Name author
\href{mailto:[email protected]}{\texttt{[email protected]}} %% Email author 2
\and Third Author\\% Name author
\href{mailto:[email protected]}{\texttt{[email protected]}}%% Email author 3
%\and Forth Author\\% Name author
% \href{mailto:[email protected]}{\texttt{[email protected]}}%% Email author 4
}

% DATE:
\date{\today}

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ABSTRACT
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{\setstretch{.8}
\maketitle
% %%%%%%%%%%%%%%%%%%
\begin{abstract}
% CONTENT OF ABS HERE--------------------------------------

\lipsum[1] %% Dummy text for abstract. Erase before use.

% END CONTENT ABS------------------------------------------
\noindent
\textit{\textbf{Keywords: }%
key1; key2; key3; key4.} \\ %% <-- Keywords HERE!
\noindent
\textit{\textbf{JEL Classification: }%
Q12; C22; D81.} %% <-- JEL code HERE!

\end{abstract}
}

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BODY OF THE DOCUMENT
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{sections/introduction.tex}

\input{sections/methodology.tex}

\input{sections/discs_conc.tex}

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% REFERENCES SECTION
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\medskip

\bibliography{references.bib}

\newpage

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TABLES
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{table}[H]
\centering
\caption{Example table of descriptive statistics of the main variables.}
\label{tab:1}
\scalebox{.8}{
\begin{tabular}{rlrrrrrr}
\hline
\multicolumn{1}{c}{\textbf{Variables}} & \multicolumn{1}{c}{\textbf{Categories}} & \multicolumn{1}{c}{\textbf{Unit}} & \multicolumn{1}{c}{\textbf{Rep}} & \multicolumn{1}{c}{\textbf{Mean}} & \multicolumn{1}{c}{\textbf{St. Dev.}} & \multicolumn{1}{c}{\textbf{Min}} & \multicolumn{1}{c}{\textbf{Max}} \\ \hline \hline

\multicolumn{1}{l}{Variable 1} & Category A & \multicolumn{1}{c}{\$} & \multicolumn{1}{c}{8} & 0 & 0 & 0 & 0 \\
& Category B & \multicolumn{1}{c}{lb} & \multicolumn{1}{c}{8} & 22,411.20 & 6,325.90 & 13,819 & 31,201 \\
& Category C & \multicolumn{1}{c}{\$} & \multicolumn{1}{c}{8} & 5,869.60 & 4,609.90 & -464.1 & 12,744.10 \\
\multicolumn{1}{l}{Variable 2} & Category A & \multicolumn{1}{c}{\$} & \multicolumn{1}{c}{8} & 1,777.40 & 144.5 & 1,642.30 & 1,912.60 \\
& Category B & \multicolumn{1}{c}{lb} & \multicolumn{1}{c}{8} & 21,444.80 & 5,146.90 & 15,096 & 28,032 \\
& Category C & \multicolumn{1}{c}{\$} & \multicolumn{1}{c}{8} & 4,138.50 & 2,644.10 & 22.2 & 7,932.70 \\
\multicolumn{1}{l}{Variable 3} & Category A & \multicolumn{1}{c}{\$} & \multicolumn{1}{c}{8} & 2,346.80 & 190.8 & 2,168.30 & 2,525.20 \\
& Category B & \multicolumn{1}{c}{lb} & \multicolumn{1}{c}{8} & 18,343.30 & 2,460.70 & 15,269.00 & 21,524.10 \\
& Category C & \multicolumn{1}{c}{\$} & \multicolumn{1}{c}{8} & 3,699.20 & 2,549.80 & 1,299.10 & 8,709.80 \\
\multicolumn{1}{l}{Variable 4} & Category A & \multicolumn{1}{c}{\$} & \multicolumn{1}{c}{8} & 2,288.80 & 186.1 & 2,114.80 & 2,462.90 \\
& Category B & \multicolumn{1}{c}{lb} & \multicolumn{1}{c}{8} & 23,450.40 & 4,172.50 & 20,045.00 & 32,363.00 \\
& Category C & \multicolumn{1}{c}{\$} & \multicolumn{1}{c}{8} & 6,619.80 & 1,918.40 & 4,479.70 & 10,633.90 \\
\hline
& CASE \#1 & & & 14 & 6.61 & 6.9 & 27.9 \\
& CASE \#2 & & & 22.8 & 7.73 & 10.2 & 31.4 \\
\hline
\end{tabular}}
\end{table}%


% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FIGURES
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{figure}[H]
\centering
\includegraphics[scale=.6]{figures/example_figure.png}
\caption{Example figure.}
\label{fig:1}
\end{figure}

% ==========================
% ==========================
% ==========================


\end{document}
25 changes: 25 additions & 0 deletions paper_style.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{palatino}
\usepackage{graphicx}
\usepackage{float}
\usepackage{titling} % drop vertical space before the title
\usepackage{multirow}
\usepackage{lscape}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{subcaption}
\usepackage[a4paper, total={6in, 9.5in}]{geometry}
\fontfamily{ppl}\selectfont
\usepackage[american]{babel}

\usepackage{setspace}
\renewcommand{\baselinestretch}{1.5}

% BIBLIOGRAPHY %%%%%%%%%%%%%%
\usepackage[natbibapa]{apacite} % to enable '\citet' and '\citep' macros
\bibliographystyle{apacite}
% \usepackage{biblatex}

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%
32 changes: 32 additions & 0 deletions references.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
@article{Chavas2015,
author = {Chavas, Jean-Paul and Shi, Guanming},
file = {:C$\backslash$:/Users/Ariel/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Chavas, Shi - 2015 - An Economic Analysis of Risk, Management, and Agricultural Technology.pdf:pdf},
journal = {Journal of Agricultural and Resource Economics},
keywords = {Agribusiness,Research and Development/Tech Change/Emerging Tech,Risk and Uncertainty,certainty equivalente,premium risk},
mendeley-groups = {Risk Analysis},
mendeley-tags = {certainty equivalente,premium risk},
number = {1},
pages = {63--79},
publisher = {Western Agricultural Economics Association},
title = {{An Economic Analysis of Risk, Management, and Agricultural Technology}},
volume = {40},
year = {2015}
}


@article{Hardaker2004,
author = {Hardaker, J. Brian and Richardson, James W. and Lien, Gudbrand and Schumann, Keith D.},
doi = {10.1111/j.1467-8489.2004.00239.x},
issn = {1364-985X},
journal = {The Australian Journal of Agricultural and Resource Economics},
keywords = {SERF,certainty equivalente,premium risk},
mendeley-groups = {Risk Analysis},
mendeley-tags = {SERF,certainty equivalente,premium risk},
month = {6},
number = {2},
pages = {253--270},
publisher = {John Wiley {\&} Sons, Ltd (10.1111)},
title = {{Stochastic efficiency analysis with risk aversion bounds: a simplified approach}},
volume = {48},
year = {2004}
}
5 changes: 5 additions & 0 deletions sections/discs_conc.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
% --------------------
\section{Discussion and Conclusions}
% --------------------

\lipsum[14] % Dummy text. Erase before write
7 changes: 7 additions & 0 deletions sections/introduction.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

% --------------------
\section{Introduction}
% --------------------

\lipsum[2-5] % Dummy text. Erase before write
\citet{Hardaker2004} % Example of citation. Erase before use
7 changes: 7 additions & 0 deletions sections/methodology.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

% --------------------
\section{Methodology}
% --------------------

\lipsum[7-9] % Dummy text. Erase before write
\citep{Chavas2015} % Example of citation. Erase before use
5 changes: 5 additions & 0 deletions sections/results.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
% --------------------
\section{Results}
% --------------------

\lipsum[12-13] % Dummy text. Erase before write

0 comments on commit 3c4c020

Please sign in to comment.