DEV Community

latexteada
latexteada

Posted on

3

LaTeX: More on Multicolumn and Page Breaking

Hello, how are you today?

In this post I talk about how to modify the multicolumn package and how to create new pages or avoid break pages

multicolumn Package

We talked about this package here and we have a notion on how this package works but, do you know that you can customize a little this package?

These commands must be in the preamble

  • \setlength{\columnsep}{Xpt} to set the spacing between columns to X pt
  • \setlength{\columnseprule}{Xpt} to set a column separator of X pt

Before

code

Produces

Screenshot from 2021-10-06 10-54-32

After

code

Produces

Screenshot from 2021-10-06 10-58-02

Page Breaking

  • We can use \nopagebreak to avoid breaking the page at that point
  • We can use \newpage to print the remaining contents (from the point where we declare the command) of our document on a new page

This is all for today, thanks

Do not forget to follow me on Twitter @latexteada

Greetings :)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay