Please have a look at this mininal example


\date{September 2020}




As you can see see both tries resulted in the space available for the text being somewhat compressed. I would like instead the box to have a larger width such that the text retains its original breaking line points, is it possible?

  • I believe the mdframed package specializes in placing frames outside the text area. Or you can increase the effective width of the text area using (negative) \leftskip and \rightskip. Commented Sep 7, 2020 at 14:57

1 Answer 1


You can try something like this, based on tcolorbox library. I don't know how to use a larger default frame; consequently, I hide it and create a new one with tikz.

enter image description here

\documentclass[11pt, a4paper]{article}

% \usepackage{showframe}

  frame hidden, % default frame hidden
  boxrule=0pt, % default frame hidden
  left=-4pt, right=-4pt,
  before skip=4ex plus 2pt,
  after skip=3.5ex plus 2pt,
  overlay unbroken and last={% new frame
    \draw[color=blue, line width=1.25pt]
    ($(frame.north west)+(-1em, .5ex)$)
    rectangle ($(frame.south east)+(1em, -.5ex)$);

\title{Using tcolorbox package}





You must log in to answer this question.

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