\addto\captionsspanish{
	\renewcommand{\tablename}{Tabla}}
\addto\captionsspanish{
	\renewcommand{\listtablename}{Indice de tablas}}

\renewcommand{\lstlistlistingname}{Indice de codigo}
\renewcommand{\lstlistingname}{Codigo}
