-1

Is it possible to have a "coloured" dotted columns separator instead of a regular one, to separate the columns in the multi-column page layout?

A dotted column separator

JVJ
  • 165
  • Please don't downvote duplicate questions (it's a bit unfriendly, especially for new members). – Ian Thompson Jun 26 '18 at 09:57
  • I wanted a dotted column separator in some colour. Thanks for posting the link. – JVJ Jun 26 '18 at 10:08
  • @JVJ --- At least one of the solutions on the linked page can easily be modified to produce coloured dots. If you need more detailed help, then you need to provide more information: e.g. what document class you are using, why the linked solutions don't work for you, etc. – Ian Thompson Jun 26 '18 at 10:19
  • How to do that with a multicol package? – JVJ Jun 26 '18 at 11:02

1 Answers1

1

Using the one of the solutions of the linked question in the comments you can just add \textcolor{blue}{\dotfill} and \usepackage{xcolor} to get the dots in some color.

Code:

\documentclass[twocolumn]{memoir}

\usepackage{xpatch}
\usepackage{graphicx}
\usepackage{xcolor}

\makeatletter
\xpatchcmd{\@outputdblcol}{\vrule\@width\columnseprule}{\rotatebox{90}{\parbox{\textheight}{\textcolor{blue}{\dotfill}}}}{}{}
\makeatother

\usepackage{lipsum}

\begin{document}
\lipsum
\end{document}

Result:

enter image description here

dexteritas
  • 9,161