Download for Win Download for macOS

Use MonsterWriter!

The most enjoyable app for writing a thesis or paper.

LaTeX Minipage - How to use the minipage environment in LaTeX

LaTeX is a typesetting system that is commonly used for writing academic papers and technical documents. One of the useful features of LaTeX is the minipage environment, which allows you to create multiple, independently formatted columns or boxes within a larger document. The minipage environment is defined using the following syntax:

Listing 1 - How to use the minipage environment


For example, to create a two-column layout, you can use two minipages, each with a width of 50% of the text width, like this:



    content for the first column
    content for the second column

Listing 1 - An example how to use the minipage to make a two column layout.

The % symbol at the end of the first minipage is used to prevent LaTeX from adding an extra line break after the first minipage.

Note that you can include any type of content within a minipage, including text, images, tables, equations, and more. Minipages are a powerful tool for formatting complex documents and can help you achieve a professional-looking layout.

The minipage environment in LaTeX is a versatile tool that can be used for many different formatting purposes. Here are a few common use cases for minipage: