# [Tex/LaTex] Alignment of the sentences

horizontal alignment

Has someone idea how I can align the sentences? For instance:

Step 2. Find the best sequence of these two jobs by calculating the makespan of
two alternative.


I want to begin the word two horizontally in the same position as Find.

I tried \tab but did not solve my problem.

You probably want something along these lines:

\documentclass{article}

\newcommand{\step}[1]{%
\sbox0{\bfseries Step #1. }%
\noindent\hangindent=\wd0\box0\ignorespaces
}

\begin{document}

\step{1}
Find the best sequence of these two jobs by calculating the makespan of two alternative.

\step{2}
Find the best sequence of these two jobs by calculating the makespan of two alternative.

Now normal text resumes, we have found the best sequence of these two jobs by calculating
the makespan of two alternative.
Now normal text resumes, we have found the best sequence of these two jobs by calculating
the makespan of two alternative.

\end{document}