0

I need to reduce minipage inner-margins to zero.

Is there a way to set to zero? Like in the example below?

\documentclass{article}
\usepackage[utf8]{inputenc}

\begin{document}
\ignorespaces%
\fbox{\noindent\begin{minipage}{100pt}test\end{minipage}}%
\fbox{\noindent\begin{minipage}{100pt}test\end{minipage}}%
\end{document}

enter image description here

1 Answer 1

2

The margin is added by \fbox and controlled by length \fboxsep (whose default value is 3pt), hence has nothing to do with minipage environment. You can use \setlength{\fboxsep}{0pt} (out side the \fbox) to set the margin to zero.

You must log in to answer this question.

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