LaTeX: Boxed Math and Multicolumns

latexteada

latexteada

Posted on September 30, 2021

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

code

Produces

Screenshot from 2021-09-29 10-34-56

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}
Enter fullscreen mode Exit fullscreen mode

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

Some text in multicolumns

code

Produces

Screenshot from 2021-09-29 10-51-54

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

code

Produces

Screenshot from 2021-09-29 10-56-59

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!!!

💖 💪 🙅 🚩
latexteada
latexteada

Posted on September 30, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

LaTeX: The theorem Like Environment
codenewbie LaTeX: The theorem Like Environment

December 22, 2021

LaTeX & Macros: Macros with Arguments
codenewbie LaTeX & Macros: Macros with Arguments

November 17, 2021

LaTeX: The include Command
codenewbie LaTeX: The include Command

December 15, 2021

LaTeX: Numbering the Pages & Customization
codenewbie LaTeX: Numbering the Pages & Customization

October 20, 2021

LaTeX: Customizing the Page
codenewbie LaTeX: Customizing the Page

October 27, 2021