\ProvidesClass{smcca}[2025/01/01 Estilo para el Boletín de la SMCCA]

\NeedsTeXFormat{LaTeX2e}
\LoadClass[11pt]{article}

\RequirePackage{keyval}

\newif\if@articleinenglish

\DeclareOption{english}{\@articleinenglishtrue}
\DeclareOption{spanish}{\@articleinenglishfalse}
\ProcessOptions\relax

 \usepackage{authblk}
 
\if@articleinenglish
	\usepackage[english]{babel}
\else
	\usepackage[spanish,es-tabla]{babel}
	\renewcommand\Authand{ y }
	\renewcommand\Authands{ y }
	\renewcommand\Authsep{, }
\fi

\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\graphicspath{{./figures/}}
\usepackage[left=2.5cm, right=2.5cm]{geometry}
\usepackage{epstopdf}
\usepackage[colorlinks=true,linkcolor=black,urlcolor=blue]{hyperref}
\usepackage{natbib}
\usepackage{float}
\usepackage{caption}
\usepackage{subcaption}
\captionsetup{labelfont = {sf,bf}}
\setlength{\captionmargin}{10pt}
\setlength{\columnsep}{10pt}
\usepackage{titlesec}
\titleformat{\section}
{\normalfont\large\bfseries}{\thesection}{0.7em}{}
\titlespacing*{\subsection}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}

\usepackage{fancyhdr}
\fancypagestyle{customheader}{
	\fancyhf{}
	\setlength{\headheight}{14.5pt}
	\fancyhead[L]{Boletín Sociedad Mexicana de Computación Científica y sus Aplicaciones}
	\fancyhead[R]{\thepage}
}
\pagestyle{customheader}

\endinput