add tag
Anonymous 1884
I'm trying to split an A5 page in two equal (or similar) halves using following code:*

```
\vbox{
	\begin{minipage}[t][0.45\textheight][t]{\textwidth}
		\subsection*{Title}
	
		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec blandit lacus. Suspendisse faucibus lorem vel ligula hendrerit feugiat. Quisque eu ullamcorper risus. Quisque vehicula magna in varius aliquam. Quisque et commodo dui, quis sodales diam. Vivamus vestibulum libero euismod risus varius, in venenatis felis congue. Mauris ante nulla, lacinia vitae libero ut, dapibus mollis ex. Integer ornare consectetur quam quis volutpat. Nullam leo ligula, bibendum vitae dui at, ultrices luctus ligula. Curabitur nec ipsum iaculis, sagittis dolor at, facilisis nunc. Morbi egestas dolor sit amet dui auctor dignissim. Mauris laoreet tempus turpis, ac aliquam lectus maximus rutrum. Nulla facilisi.
%
	\end{minipage}

	\nointerlineskip
	\begin{minipage}[b][0.45\textheight][t]{\textwidth}
		\subsection*{Title}	
	
		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec blandit lacus. Suspendisse faucibus lorem vel ligula hendrerit feugiat. Quisque eu ullamcorper risus. Quisque vehicula magna in varius aliquam. Quisque et commodo dui, quis sodales diam. Vivamus vestibulum libero euismod risus varius, in venenatis felis congue. Mauris ante nulla, lacinia vitae libero ut, dapibus mollis ex. Integer ornare consectetur quam quis volutpat. Nullam leo ligula, bibendum vitae dui at, ultrices luctus ligula. Curabitur nec ipsum iaculis, sagittis dolor at, facilisis nunc. Morbi egestas dolor sit amet dui auctor dignissim. Mauris laoreet tempus turpis, ac aliquam lectus maximus rutrum. Nulla facilisi.
		
	\end{minipage}
}
```

Above code does produce desire effect in terms of splitting the page, but the second minipage has text moved to the right:

![Screenshot_20210316_153953.png](/image?hash=d595d0c204501c76b3efa077c8adfe407da253bb960e0b65b848c8bfa4e43c68)

I cannot figure out how to fix this, and would appreciate any pointers.

Here is what the log says:

```
Overfull \hbox (15.0pt too wide) in paragraph
```

**[Code source](https://tex.stackexchange.com/questions/4243/spliting-a-page-in-half-horizontally).*
Top Answer
samcarter
Add `\noindent` before your `minipage`s to avoid the shift:

```
\documentclass{article}

\begin{document}

\vbox{
	\noindent\begin{minipage}[t][0.45\textheight][t]{\textwidth}
		\subsection*{Title}
	
		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec blandit lacus. Suspendisse faucibus lorem vel ligula hendrerit feugiat. Quisque eu ullamcorper risus. Quisque vehicula magna in varius aliquam. Quisque et commodo dui, quis sodales diam. Vivamus vestibulum libero euismod risus varius, in venenatis felis congue. Mauris ante nulla, lacinia vitae libero ut, dapibus mollis ex. Integer ornare consectetur quam quis volutpat. Nullam leo ligula, bibendum vitae dui at, ultrices luctus ligula. Curabitur nec ipsum iaculis, sagittis dolor at, facilisis nunc. Morbi egestas dolor sit amet dui auctor dignissim. Mauris laoreet tempus turpis, ac aliquam lectus maximus rutrum. Nulla facilisi.
%
	\end{minipage}

	\nointerlineskip
	\noindent\begin{minipage}[b][0.45\textheight][t]{\textwidth}
		\subsection*{Title}	
	
		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec blandit lacus. Suspendisse faucibus lorem vel ligula hendrerit feugiat. Quisque eu ullamcorper risus. Quisque vehicula magna in varius aliquam. Quisque et commodo dui, quis sodales diam. Vivamus vestibulum libero euismod risus varius, in venenatis felis congue. Mauris ante nulla, lacinia vitae libero ut, dapibus mollis ex. Integer ornare consectetur quam quis volutpat. Nullam leo ligula, bibendum vitae dui at, ultrices luctus ligula. Curabitur nec ipsum iaculis, sagittis dolor at, facilisis nunc. Morbi egestas dolor sit amet dui auctor dignissim. Mauris laoreet tempus turpis, ac aliquam lectus maximus rutrum. Nulla facilisi.
		
	\end{minipage}
}

\end{document}
```

![Screen Shot 2021-03-16 at 16.04.05.png](/image?hash=d8c9435cfd335688f4ef373d0df6c05e1f1396683137414a1ae6c3278a3a766d)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.