I need to space the page number and the text in the footer: 
I tried with \vspace but it throws an error.
This is my code:
\documentclass[a4paper]{extarticle} \usepackage{moresize} \usepackage[letterpaper, margin=.9in]{geometry} \renewcommand\contentsname{Tabla Contenido} \renewcommand\figurename{Figura} \renewcommand\tablename{Tabla} % necessary packages and doc parameters \usepackage{graphicx, amssymb} \usepackage{url, hyperref} \usepackage{rotating} \usepackage{float} \usepackage{caption} \usepackage{array} \usepackage[table,xcdraw]{xcolor} \usepackage{afterpage} \usepackage{cancel} \usepackage{fix-cm} \usepackage[export]{adjustbox} \usepackage{setspace} \usepackage{wrapfig} \usepackage{multirow,array,graphicx} \usepackage{colortbl} \usepackage[english, spanish]{babel} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \usepackage{fancyhdr} \usepackage{xcolor} \usepackage{wallpaper} \usepackage{shapepar} \usepackage{tikz} \usepackage{newtxmath} \usepackage{amsmath} \usepackage[most]{tcolorbox} \usepackage{tabularx} \usepackage{lipsum} \usetikzlibrary{shapes} \usetikzlibrary{shapes.geometric} \usetikzlibrary {positioning} \usetikzlibrary {positioning,shapes.misc} \usetikzlibrary {backgrounds} \setlength\textwidth{6.5in} \setlength\textheight{8in} \begin{document} %footpage-------------------------------------------------------------------------------- \pagestyle{fancy} \fancyhead{}\fancyfoot{} \fancyfoot{\leavevmode\rlap{\parbox[t]{\textwidth}{\tiny\color{gray} \textcopyright \lipsum[1-2].}} \hfill} %Head-Footer-------------------------------------------------------------- \fancyfoot[r]{\leavevmode\rlap{\parbox[t]{\textwidth}{\tiny\color{gray} \textcopyright \lipsum[1-2].}} \hfill{\color{gray}\thepage}} %Table Content-------------------------------------------------------------------------------------------- \newpage \tableofcontents \clearpage %Presentación----------------------------------------------------------------------------------------------------------- \newpage \singlespacing \noindent \end{document} Thanks

\documentclass{...}and ending with\end{document}. And if you get an error message, please don't forget to show it (as code block copied from thelogfile).urlexplicitly (without options) immediately beforehyperrefdoes also not make sense. And usuallyhyperrefshould be loaded as late as possible, e.g., after packages likefloat.\textheightand\textwidthI recommend to use packagegeometryto setup text width and height and/or the margins. The package also allows to change the distance between head and text or text and footer. And because it is a standard package, I suggest also to read a LaTeX tutorial.