English template for submissions to Almanaque Económico, student journal by the undergraduate students in Economics at El Colegio de México (COLMEX)
% "Almanaque Económico" English template
\documentclass[utf8, twoside,]{article}
%Basic packages-------------------------
\usepackage[utf8]{inputenc}
\usepackage{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
\usepackage{tikz}
\usepackage{import}
\usepackage{amsmath}
\usepackage{csquotes}
\usepackage[american,spanish]{babel}
\usepackage{biblatex-chicago}
\usepackage{csquotes}
\usepackage{graphicx}
\usepackage{setspace}
%---------------------------------------
% Image directory. Images must be placed in the "figs" folder. Tables must be placed in the "tables" folder.
\graphicspath{{figs/}}
% Keyword commands are created----------------------------------
\providecommand{\keywords}[1]
{
\small
\textbf{\textit{Keywords---}} #1
}
\providecommand{\pclave}[1]
{
\small
\textbf{\textit{Palabras clave---}} #1
}
%Double spacing
\doublespacing
%---------------------------------------
% DO NOT MODIFY BEFORE THIS POINT
% Additional packages here--------------
%---------------------------------------
%Add references as a .bib file
\addbibresource{mybib.bib}
%--------------DOCUMENT-------------------
\begin{document} %Start of document
\begin{otherlanguage}{american}
%Title information
\title{Title1\\ \medskip %titulo en otro idioma en otra línea
Título1}
\author{Nombre Apellido, \it{Institución Educativa}}
\date{} %Dejar en blanco
% Single spacing for title page
\begin{singlespace}
\maketitle %Title is made
%The name of the Abstract section is defined in English
\def\abstractname{{Abstract}}
%English abstract
\begin{abstract}
\vspace{-0.2cm} %Space adjustment
Abstract text in English
\end{abstract}
%The name of the Abstract section is defined in Spanish
\def\abstractname{{Resumen}}
%Spanish abstract
\begin{abstract}
\vspace{-0.2cm} %Space adjustment
Abstract text in Spanish
\end{abstract}
%Keywords in English
\keywords{one, two, three}
%Keywords in Spanish
\pclave{uno, dos, tres}
%Finalize title page formatting
\end{singlespace}
\pagebreak
%Introduction
\section{Introduction}
Introduction text. An example on how to cite:
Lorem ipsum dolor sit amet, consectetur adipiscing elit.\footnote{\cite{fernandez}} Pellentesque tincidunt sit amet magna a ultricies. Praesent ultrices dictum velit, ut luctus sem fermentum a.\footnote{\cite{anton}} Aenean sed ex fringilla nulla mattis cursus. Sed efficitur ligula condimentum purus vestibulum placerat.\footnote{\cite{fernandez}}
%Body
\section{Body}
Body text. The name of this section may be changed, and additional sections may be created.
% Image example. Format must be .eps
.eps image:
\begin{figure}[ht]
\includegraphics[]{mathematica.eps}
\caption{eps image} \label{fig:img1}
\end{figure}
%We accept images in .eps format, but it's preferred to create the graph in Latex using the pgfplots or TikZ packages for greater consistency
% Example image from https://people.sc.fsu.edu/~jburkardt/data/eps/eps.html
%Image using pgfplots
An image made with pgfplots:
\begin{figure}[ht]
\subimport{figs/}{graph.tex}
\caption{pgfplots image} \label{fig:img2}
\end{figure}
%Image using TikZ
Example of a TikZ image:
\begin{figure}[ht]
\subimport{figs/}{graph2.tex}
\caption{TikZ image} \label{fig:img3}
\end{figure}
Use the method most suited for your needs.
You may also reference images and tables. For example, Figure \ref{fig:img1}is a .eps image
% We add a regression table. For more info on how to easily export a regression table from Stata to Latex, consult the following webpage:
% http://repec.org/bocode/e/estout/esttab.html
A regression table
\begin{table}[ht]
\subimport{tables/}{reg.tex}
\caption{Table imported from Stata} \label{table:reg1}
\end{table}
%Maths example
Maths example
Slustky's substitution matrix is:
\begin{equation}\label{eq:1}
\begin{bmatrix}
\dfrac{\delta^2e(p.u)}{\delta p_1^2} & \dfrac{\delta^2e(p.u)}{\delta p_2 \delta p_1} \\[2ex]
\dfrac{\delta^2e(p.u)}{\delta p_1\delta p_2} & \dfrac{\delta^2e(p.u)}{\delta p_2^2} \\[2ex]
\end{bmatrix}
\end{equation}
By the Shepard Theorem we know that
\begin{equation}\label{eq:2}
\dfrac{\delta e (\vec{p}, u)}{\delta p_i} = x_i^h(\vec{p}, u)
\end{equation}
Donde $x_i^h(\vec{p}, u))$ es la demanda Hicksiana,
Ahora, por \eqref{eq:2}, podemos escribir \eqref{eq:1} como:
\begin{equation}
\begin{bmatrix}
\dfrac{\delta x_1^h(\vec{p}, u)}{\delta p_1}
& \dfrac{\delta x_1^h(\vec{p}, u)}{\delta p_2} \\[2ex]
\dfrac{\delta x_2^h(\vec{p}, u)}{\delta p_1}
& \dfrac{\delta x_2^h(\vec{p}, u)}{\delta p_2} \\[2ex]
\end{bmatrix}
\end{equation}
Hicks' Third Law states:
\begin{equation*}
\sum_{j=1}^n \dfrac{\delta x_i^h(\vec{p}, u)}{\delta p_j} p_j = 0, \quad i=1,\dots,n
\end{equation*}
Therefore,
\begin{equation*}
\begin{bmatrix}
\dfrac{\delta x_1^h(\vec{p}, u)}{\delta p_1}
& \dfrac{\delta x_1^h(\vec{p}, u)}{\delta p_2} \\[2ex]
\dfrac{\delta x_2^h(\vec{p}, u)}{\delta p_1}
& \dfrac{\delta x_2^h(\vec{p}, u)}{\delta p_2} \\[2ex]
\end{bmatrix}
\begin{bmatrix}
p_1 \\[2ex]
p_2 \\[2ex]
\end{bmatrix}
=
\begin{bmatrix}
0 \\[2ex]
0 \\[2ex]
\end{bmatrix}
\end{equation*}
%Conclusions
\section{Conclusions}
Conclusions text.
\pagebreak
%References language is selected
\printbibliography %inserts bibliography
\vfill
\end{otherlanguage}
\end{document}