latexteada

Posted on

# LaTeX: Boxed Math and Multicolumns

Hello, how are you?

In this post I tell you how to put mathematical expressions in boxes and multicolumns in a document. Let's start!!!

## Mathematical Expressions in Boxes

To finish with the math section in LaTeX i tell you how to put mathematical expressions in boxes.

You need to import the amsmath package and then use the \boxed{} command

Produces

## Multicolumns

What if we want to put something in a multicolumn mode?

Well, we just need to import the multicol package and use the environment multicols

\begin{multicols}{n}
content
\end{multicols}


Where n is the number of columns in the document

We have two options to work with multicolumns: just some text in multicolumns or an entire page

Produces

### An entire page

If we want to create a multicolumn in a page, this will be created from the declaration of the command to the end of the page, this is, if you declare the command in the middle of the page, then, the multicolumn will be from the middle of the page to the end

• We just need to add an * in the command

Produces

Did you notice? there is no text after the double column because the next text is on the following page, also all the text is in one column because it will be a double column page

Thanks, this is all for today!!

Do not forget to follow me on Twitter @latexteada

Greetings!!!

## Top comments (2)

dikshitd

Thanks for providing this info.
Also, I found out this article that was quite helpful in using multicolumn in mathematical equations and tables.
typeset.io/resources/learn-latex-b...

latexteada

This looks good too, thanks for sharing :)

DEV Community

## Advice For Junior Developers

Advice from a career of 15+ years for new and beginner developers just getting started on their journey.