I define this new command:
\documentclass[8pt,a4paper]{article}
\newcounter{conto}
\setcounter{conto}{\time}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{ dsfont }
\usepackage[mathscr]{euscript}
\renewcommand{\longto}{\longrightarrow}
\usepackage[a4paper,top=1cm,bottom=2cm,left=3cm,right=3cm]{geometry}
\begin{document}
\begin{flushleft}
\( a \longto +\infty \)
\end{flushleft}
\end{document}
but the command \renewcommand{\longto}{\longrightarrow} doesn't work!!
renewcommandis used to change the definition of a command, as the log saysError: \longto undefined., you only need to substitute\renewcommandwith\newcommand. – Manuel Jan 23 '14 at 14:41\longtois not defined, so you have to\newcommand{\longto}{\longrightarrow}– karlkoeller Jan 23 '14 at 14:43\let\longto\longrightarrow– Jan 23 '14 at 14:50