Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

latexteada
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 theamsmath 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 themulticol package and use the environment multicols

\begin{multicols}{n}    content\end{multicols}
Enter fullscreen modeExit fullscreen mode

Wheren 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 textafter the double column because thenext text is on the following page, also all the text is inone 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)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
dikshitd2 profile image
dikshitd
An avid researcher
  • Work
    Student
  • Joined

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

CollapseExpand
 
latexteada profile image
latexteada
Hello, this is where I am going to give some base briefs of LaTeX
  • Location
    México
  • Work
    Student
  • Joined

This looks good too, thanks for sharing :)

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Hello, this is where I am going to give some base briefs of LaTeX
  • Location
    México
  • Work
    Student
  • Joined

More fromlatexteada

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp