2

I want to reduce the space between columns in multicols I use \setlength{\columnsep}{<space>} but it reduces the space between the 2nd column and the 3rd column only How to make it reduce the space after the 1st column too in case of using multicols{3}

5
  • 1
    You have to pass some value: 0pt for example.
    – Sigur
    May 5, 2015 at 10:52
  • Yes I do for sure!
    – user77565
    May 5, 2015 at 10:54
  • Ow, now the edited code shows the space.
    – Sigur
    May 5, 2015 at 10:55
  • 3
    Maybe you are willing to provide a MWE... May 5, 2015 at 10:55
  • since you are getting a different result than the answers provided, it seems likely that you are using this in a different way, so your context is necessary to determine why that is happening. May 5, 2015 at 12:21

1 Answer 1

4

The following example removes the inter column space by setting \columnsep, which affects all inter column spaces:

\documentclass[a5paper,landscape]{article}
\usepackage{multicol}
\usepackage{microtype}
\usepackage{lipsum}
\setlength{\columnsep}{0pt}
\begin{document}
\begin{multicols}{3}
\lipsum[1]
\end{multicols}
\end{document}

Result

BTW, have fun reading it. ☺

Or with rules:

\setlength{\columnrulewidth}{1pt}

Result with rules

Also negative values are possible, e.g.:

\setlength{\columnsep}{-10pt}

Result with negative columnwidth

3
  • Okay what if I want to reduce the space not by using -10pt instead of 0pt? It doesn't reduce equally!
    – user77565
    May 5, 2015 at 11:05
  • @user77565 The \columnsep is used for both inter column spaces. The value can even be negative. (Why would someone want to have a negative value here?) May 5, 2015 at 11:10
  • @HeikoOberdiek To annoy the readers?
    – Alenanno
    May 5, 2015 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.