1

I am using TeXStudio. Can I please ask how to apply the hanging indentation to a paragraph? For an example,

Step 1. I am using TeXStudio to write a thesis.

The second line wants to be aligned up with the work 'I am using TeXstudio' instead of aligning up with 'Step 1'. Could someone help me solve this problem? Or give me some links to look at. Many thanks,

  • If you have another step, you can use enumerate environment making \item[Step 1] manually. Also, you can use enumitem package with enumerate environment ctan.org/pkg/enumitem – juanuni Jun 30 '15 at 4:51
3

You can use a list; using the enumitem package you can easily define a dedicated list (based on enumerate) producing the desired formatting:

\documentclass{article}
\usepackage{enumitem}

\newlist{Steps}{enumerate}{1}
\setlist[Steps,1]{label=Step~\arabic*.,leftmargin=*}

\begin{document}

Some test text and some more text and some more text and some more text and some more text and some more text and some more text
\begin{Steps}
\item Some test text and some more text and some more text and some more text and some more text and some more text and some more text
\item Some test text and some more text and some more text and some more text and some more text and some more text and some more text
\end{Steps}

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.