\documentclass[twoside,15pt]{article}
\usepackage[a4paper, margin=2.5cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[spanish,english, portuguese]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{url}
\usepackage{fancyhdr}

\usepackage{setspace}
\onehalfspacing
\usepackage{geometry}
\geometry{
  a4paper,
  textwidth=11.8cm,   % Ajusta el ancho para dar aprox. 62 caracteres ("golpes") por línea
  textheight=18.5cm,  % Ajusta el alto para dar aprox. 32 líneas por página
  centering           % Centra el bloque de texto en la página
}

\renewcommand{\thefootnote}{}
\setcounter{page}{1} % # primera pagina
\fancypagestyle{plain}{\fancyhf{}%
\fancyhead[L]{\footnotesize{Espacio Matem\'atico Vol. XX No. X (20XX), 
pp. \pageref{begin-art}--\pageref{end-art}}}%
\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}
\fancypagestyle{headings}{\fancyhf{}%
\renewcommand{\headrulewidth}{0.4pt}%
\renewcommand{\footrulewidth}{0.4pt}%
\fancyhead[LE,RO]{\thepage}%
\fancyfoot[C]{\footnotesize{Espacio Matem\'atico Vol. XX No. X 
(20XX), pp. \pageref{begin-art}--\pageref{end-art}}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Declaraciones, nuevos comandos, etc.%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\newtheorem{thm}{Theorem}
%\newtheorem{prop}{Proposition}
%\theoremstyle{definition}
%\newtheorem{defn}{Definition}
%\theoremstyle{remark}
%\newtheorem{rem}{Remark}


%% Introduzca los datos solicitados entre *** 

\fancyhead[RE]{***autor***}%
\fancyhead[LO]{***Titulo***}%

\begin{document}
\label{begin-art}
\pagestyle{headings}
\thispagestyle{plain} 
\footnote{\hspace{-18.1pt} Recibido . Revisado .
Aceptado .} % \\ MSC (2000): ***Primary***; ***Secondary***.}
\selectlanguage{spanish}
\begin{center}
{\LARGE\bfseries ***T\'itulo*** \par }

\vspace{5mm}
{\large\slshape ***Title in English***}\\[3mm]
{\large ***autor1*** (\url{@})}\\[1mm]
***Afiliaci\'on institucional***\\[1mm]
{\large ***autor2*** (\url{@})}\\[1mm]
***Afiliaci\'on institucional***
\end{center}

\selectlanguage{english}

%%% Resumen en inglés
\begin{abstract}
This document provides guidelines for preparing manuscripts in Latex for Espacio Matem\'atico. If the article is written in Spanish or Portuguese, please include the abstract in English, Spanish, and Portuguese to ensure accessibility for non-Spanish and non-Portuguese speakers. If the article is written in English, and it is possible to provide the abstract in Spanish and Portuguese, please do so. Otherwise, contact the editorial team (espaciomatematico@uan.edu.co), and we will suggest an abstract in Spanish and Portuguese to provide a brief summary of the article for non-English speakers. The abstract should not exceed 300 words. It is recommended that the summary highlight the background, motivation of the article, and the contributions of authors, emphasizing the most significant results.
\\
\\
\textbf{\textit{Keywords}}
\\
(at least 3 keywords) Keyword1, keyword2, keyword3.
\end{abstract}

\selectlanguage{spanish}
%%% Resumen en español
\renewcommand{\abstractname}{Resumen}
\begin{abstract}
 Este documento proporciona directrices para la preparaci\'on de manuscritos en Word para Espacio Matem\'atico. Si el art\'iculo est\'a escrito en espa\~nol o portugu\'es, incluya el resumen en ingl\'es, espa\~nol y portugu\'es para garantizar la accesibilidad a quienes no hablan espa\~nol ni portugu\'es. Si el art\'iculo est\'a escrito en ingl\'es y es posible proporcionar el resumen en espa\~nol y portugu\'es, h\'agalo. De lo contrario, p\'ongase en contacto con el equipo editorial (espaciomatematico@uan.edu.co) y le sugeriremos un resumen en espa\~nol y portugu\'es que proporcione una breve sinopsis del art\'iculo para quienes no hablan ingl\'es. El resumen no debe exceder las 300 palabras. Se recomienda que el resumen destaque los antecedentes del art\'iculo, la motivaci\'on y las contribuciones de los autores, haciendo hincapi\'e en los resultados m\'as significativos.
\\
\\
\textbf{\textit{Palabras Clave}}
\\
(m\'{i}nimo 3) Palabra clave1, Palabra clave2, Palabra clave3.
\end{abstract}

\selectlanguage{portuguese}
%%% Resumen en Portugues
\renewcommand{\abstractname}{Resumo}
\begin{abstract}
 Este documento fornece diretrizes para a prepara\c{c}\~ao de manuscritos em Word para a Espacio Matem\'atico. Se o artigo estiver escrito em espanhol ou portugu\^es, inclua o resumo em inglês, espanhol e português, a fim de garantir acessibilidade para leitores que n\~ao falam espanhol ou portugu\^es. Se o artigo estiver escrito em ingl\^es e for poss\'ivel fornecer o resumo em espanhol e portugu\^es, por favor, fa\c{c}a isso. Caso contr\'ario, entre em contato com a equipe editorial (espaciomatematico@uan.edu.co), e n\'os sugeriremos um resumo em espanhol e portugu\^es para oferecer uma breve s\'intese do artigo aos leitores que n\~ao falam ingl\^es. O resumo n\~ao deve ultrapassar 300 palavras. Recomenda-se que a s\'intese destaque o contexto do artigo, a motiva\c{c}\~ao e as contribui\c{c}\~oes dos autores, enfatizando os resultados mais significativos.
\\
\\
\textbf{\textit{Palavras-chave}}
\\
(m\'{i}nimo 3) Palavra chave1, Palavra chave2, Palavra chave3.
\end{abstract}

\selectlanguage{spanish}

\section{Introducci\'on}

%%%%%%%%%%%%%%%%%%%%%%%
%                     %
% Cuerpo del artículo %
%                     %
%%%%%%%%%%%%%%%%%%%%%%%
\section{Referentes y m\'etodos}

%%%%%%%%%%%%%%%%%%%%%%%
%                     %
% Cuerpo del artículo %
%                     %
%%%%%%%%%%%%%%%%%%%%%%%

\section{Resultados}

%%%%%%%%%%%%%%%%%%%%%%%
%                     %
% Cuerpo del artículo %
%                     %
%%%%%%%%%%%%%%%%%%%%%%%

\section{Discusi\'on}

%%%%%%%%%%%%%%%%%%%%%%%
%                     %
% Cuerpo del artículo %
%                     %
%%%%%%%%%%%%%%%%%%%%%%%

\section{Conclusiones}

\section{Agradecimientos}

\begin{thebibliography}{99}
% Ejemplo de artículo:
\bibitem{Schoenfeld} Schoenfeld, A. H., \emph{Purposes and Methods of Research in Mathematics Education}, Notices of the American Mathematical Society, \textbf{47}(6) (2000), 641--649. 
% Ejemplo de libro:
\bibitem{Z} Zeitz, P., \emph{The Art and Craft of Problem Solving}, 2nd ed., John Wiley \& Sons, 2007.
\end{thebibliography}

\label{end-art}
\end{document}