I have the following code:
\documentclass[12pt,a4paper,twoside]{book}
\usepackage{graphicx}
\usepackage{algorithm}
\usepackage{algpseudocode}
\begin{document}
\begin{algorithm*}[t!]
\caption{caption}
\begin{algorithmic}[1]
\Require{require}
\State {testttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt}
\Return{return a}
\end{algorithmic}
\end{algorithm*}
\end{document}
How can I break a line in a \State and begin new line at the same indent as the previous line?

\While– egreg Oct 30 '17 at 16:57