LaTeX forum ⇒ Text FormattingLatex multicol distance text from seprule Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
jimkaip
Posts: 3
Joined: Fri Oct 19, 2018 8:13 am

Latex multicol distance text from seprule

Postby jimkaip » Fri Oct 19, 2018 8:20 am

I have problem to control the distance between text limits(left and right) and seprule in the multicol environment.
How to change distances?
Thank you
Jim.

  1. \begin{multicols}{4}
  2. my text ...
  3. \endmulticols}
Attachments
Επιλογή_028.png
Επιλογή_028.png (13.56 KiB) Viewed 449 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9388
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Fri Oct 19, 2018 3:03 pm

Hi Jim,

welcome to the forum!

You can change the distance between text columns by adjusting the \columnsep length, such as:

\setlength{\columnsep}{1cm}

Stefan
Site admin

jimkaip
Posts: 3
Joined: Fri Oct 19, 2018 8:13 am

Postby jimkaip » Sat Oct 20, 2018 10:43 am

Hi Stefan, thank you for the answer.
But i still have problem. \setlength{\columnsep}{5cm} or \setlength{\columnsep}{0cm}, is the same, don’t affect to distance, so i have some problem in my code?
Also the main need is to reduce a and b limits as show in icon.
Thank you
Jim.


  1. \tiny \color{white}
  2. \begin{multicols}{6}
  3. \setlength{\columnsep}{5cm}
  4. \setlength{\columnseprule}{0.1mm}
  5. my text ...
Attachments
Επιλογή_030.png
Επιλογή_030.png (33.5 KiB) Viewed 423 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9388
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Oct 20, 2018 1:04 pm

Hi Jim,

set the lengths before you start the multicols environment. Such as here:
  1. \documentclass[landscape]{article}
  2. \usepackage{geometry}
  3. \usepackage{ragged2e}
  4. \usepackage{multicol}
  5. \usepackage{blindtext}
  6. \begin{document}
  7. \tiny\RaggedRight
  8. \setlength{\columnsep}{5cm}
  9. \setlength{\columnseprule}{0.1mm}
  10. \begin{multicols}{4}
  11. \noindent\blindtext
  12. \end{multicols}
  13. \end{document}


multicol.png
multicol.png (17.57 KiB) Viewed 417 times


Stefan
Site admin

jimkaip
Posts: 3
Joined: Fri Oct 19, 2018 8:13 am

Postby jimkaip » Sun Oct 21, 2018 11:25 am

Thank you Stefan.
After your advice all works fine.
Thank you and good day.
Jim.


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 5 guests