Changing color of vertical line using paracol and setlengthcolumnseprule

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Changing color of vertical line using paracol and setlengthcolumnseprule



This works fine, except that I want to change the color of the vertical line separating the two columns. Help?



I have seen comments that setlengthcolumnseprule0.5pt only works in a multicolumn environment. It seems to work here, but how to change the color?


documentclass[12pt]article

usepackage[letterpaper, % Choose paper size
left= 1.0in, % Set the margins
right= 1.0in, %
top= 1.5in, %
bottom=1.5in]geometry %
usepackageparacol,lipsum
usepackage[english]babel
usepackage[utf8]inputenc
usepackagefancyhdr
usepackagemulticol
usepackageenumitem
usepackagelistings
usepackageetoolbox
usepackagegraphicx
usepackage[svgnames]xcolor

%---------------------------- Colors ----------------------------------------------------------------------------%

definecolorCustomOrangergb1, 0.43529, 0.01176 % Define custom colors
definecolorCustomGreyrgb0.4745, 0.4745, 0.4745

renewcommandcolumnseprulecolorcolorred

%---------------------------- Header ----------------------------------------------------------------------------%

pagestylefancy
fancyhf

renewcommandheadrulewidth1pt % Thickness of header rule
renewcommandheadrulehbox toheadwidth %
colorCustomOrangeleadershrule height headrulewidthhfill %

%---------------------------- Set Columns -----------------------------------------------------------------------%

setlengthheadheight52pt
lheadincludegraphics[width=3cm]./images/intendere

columnsep=0.05textwidth
setcolumnwidth.35textwidth, .6textwidth % One entry for each column, see paracol below

tolerance=1 % Code fixes the justification issue with columns flowing over
emergencystretch=maxdimen %
hyphenpenalty=10000 %
hbadness=10000 %

setlengthcolumnseprule0.5pt

%---------------------------- Begin Document---------------------------------------------------------------------%

begindocument

beginparacol2
lipsum
switchcolumn
lipsum
endparacol

enddocument




1 Answer
1



The following code works:


setlengthcolumnseprule1.5pt

colseprulecolorred






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS