Description list Formatting using enumitem
3
1
I have a few lines of text that I want to be aligned to look like this: Here is the MWE: documentclass{article} usepackage{enumitem} begin{document} begin{description}[labelindent=1em ,labelwidth=1.2cm, labelsep*=1em, leftmargin =!, itemindent= 0pt, style = sameline] item[Input:] $a_1,ldots,a_m$ item[Output:] Can we do some operation on the given input to get some outcome using this methodology and using $a_1,ldots,a_m$? end{description} end{document} which provides me the output: As alternatives, I have also tried using hspace , tried eqnarray to no avail.
formatting enumitem
share | improve this question
edited 41 mins ago
...