TransWikia.com

Custom text to enumerate items

TeX - LaTeX Asked by Akerbeltz on January 31, 2021

I would like to know how one can create a list in which each item is enumerated with some custom text, like in the following picture.enter image description here

I’m not asking how can one construct a list in which every member is of the form (Sn), for n a natural number, but rather how to create a list in which we could determine each item with any customized expression. I have no clue how one could implement this without manual alignment and spacing, so any help will be appreciated.

One Answer

Since you mentioned

how to create a list in which we could determine each item with any customized expression

I have used the optional argument if item in order to manually determine the corrensponding label. I have also used enumitem to make sure the label is bold:

enter image description here

documentclass{article}
usepackage{enumitem}
usepackage{lipsum} % Just for dummy text using the lipsum command. Do not use in actual document.
begin{document}

begin{enumerate}[font=bfseries]
item[(S1)] lipsum[1][1]
item[(S2)] lipsum[4] 
item[xyz] lipsum[2][3]
end{enumerate}
end{document}

Answered by leandriis on January 31, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP