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?
Asked
Active
Viewed 398 times
-1
-
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 Answers
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:
dexteritas
- 9,161
-
What should I modify in the second solution, the one which uses multicol package? – JVJ Jun 26 '18 at 11:01
-
-
-
-
-
How can I get columns separators of different colours in a single page itself? – JVJ Jul 02 '18 at 08:27

