tcolorbox seems a pretty powerful package, so I'm pretty sure it can do what I want, but I can't find it.
This is what I'd like to produce:
And this is what I'm able to get:
MWE:
\documentclass{scrartcl}
\usepackage[most]{tcolorbox}
\newtcbox{\one}[1][]{%
enhanced,
after skip=10pt,
sharp corners,
borderline={1pt}{-3pt}{black},
toprule=0pt,
rightrule=0pt,
bottomrule=.5pt,
leftrule=.5pt,
colback=white,
#1
}
\newtcbox{\two}[1][]{%
enhanced,
after skip=10pt,
sharp corners,
borderline west={1pt}{3pt}{black},
borderline south={1pt}{3pt}{black},
toprule=0pt,
rightrule=0pt,
bottomrule=.5pt,
leftrule=.5pt,
colback=white,
colframe=black,
#1}
\newtcbox{\three}[1][]{%
enhanced,
after skip=10pt,
sharp corners,
borderline west={1pt}{-3pt}{black},
borderline south={1pt}{-3pt}{black},
toprule=0pt,
rightrule=0pt,
bottomrule=.5pt,
leftrule=.5pt,
colback=white,
colframe=black,
#1}
\begin{document}
\one{I don't what the top and right frame border.}
\two{I don't what the lines to cross at the bottom left corner.}
\three{I'd like to join the lines at the bottom left corner.}
\end{document}
I have a working frame using mdframed, but I can't use that as I need it to work within \settowidth, and that one doesn't.




