[Tex/LaTex] Boxes with two different border widths

boxesmdframed

I'm making a box with text inside. For it I use the package mdframed. Essentially I want a box with the left border width 2pt and the rest of the borders width 1pt.

What I've got so far:

\newmdenv[
topline=false,
rightline=false,
bottomline=false,
linewidth=2pt,]{txtbox}

Best Answer

This is the tcolorbox style to make such a framed box, where I exaggerated the left rule width a little bit, as a demo...

\documentclass{article}

\usepackage{tcolorbox}


\usepackage{blindtext}
\begin{document}

\begin{tcolorbox}[boxrule=1pt,leftrule=5pt,arc=0pt,auto outer arc]
\blindtext
\end{tcolorbox}
\end{document}

enter image description here