I need to change the name of my tables of contents, and I cannot apply with this preface:
\documentclass[12pt,oneside,tikz,border=10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[spanish,]{babel}
\usepackage{titlesec}
...
I'm using this commands:
\cleardoublepage
\addcontentsline{toc}{article}{Lista de figuras}
\listoffigures
\cleardoublepage
\addcontentsline{toc}{article}{Lista de tablas}
\listoftables
Obviously, the command \addcontentsline{toc}{article}{Lista de tablas} cannot change any name like "Lista de figuras".
Also, I should like to add the last contents in the principal table of contents with the respective number.
