# Boxes with two different border widths

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}

• Are you sticking to mdframed or will tcolorbox be a solution too -- you can control every rule width of the box separately within tcolorbox, perhaps this possible with mdframed too – user31729 Oct 22 '14 at 22:08
• @ChristianHupfer I don't know tcolorbox, but I'll try. – Kiyoshi Oct 22 '14 at 22:23

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}


• I will update this solution with the more generic \newtcolorbox command later on – user31729 Oct 22 '14 at 22:37
• Why not add the \tcbset option as well then? :-) – 1010011010 Oct 22 '14 at 22:50
• @1010011010: I am in a hurry for another solution ... to another question :-P – user31729 Oct 22 '14 at 22:50
• @ChristianHupfer Thanks for your solution ;) – Kiyoshi Oct 23 '14 at 6:47