I'm new to LaTeX and looking for help to produce an output like below: bulletedlist

While searching I found a package called framed framed-ctan. While it adds the vertical line on the left, I couldnt figure out how I could add a label (2021 in the example) to it.

Thanks in advance.

  • 2
    The framed package provides a way (leftbar) to draw a vertical line beside its content, however the picture you post shows that the line is much longer than the text. How should the line length be determined?
    – campa
    Jul 27, 2021 at 7:54
  • Line length can match the text on right. It need not be longer. It was a mistake in the picture I shared. Sorry for the confusion Jul 27, 2021 at 16:50

1 Answer 1


You haven't exactly give some detailed specs, so here just a general idea.


\usepackage{lipsum}% for dummy text


   \hbox to .1\linewidth{%
      \vcenter to \dimen@{\leaders\vrule\vfill\hbox{\kern\dimexpr.5ex-\ht0\relax\rotatebox{90}{\box0}}\leaders\vrule\vfill}



Bla bla bla
Some text here
\item foo
\item bar
\item baz
and some text there
or an example with only a list
\item foo
\item bar
\item baz


The construct is not breakable across pages. The minimal height is given by the width of the "label" plus two spaces plus a line of 1em on each side.

enter image description here

  • This is exactly what I was looking for. Thanks Jul 28, 2021 at 14:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .