Tagged Questions
8
votes
1answer
63 views
how to change the color of the rule (vertical line) in twocolumn document?
I'd like to make the rule between the 2 columns very thin. I found that no matter how small of width I made it, the line was not thin enough for my liking (unless I make it zero, then it will ...
18
votes
1answer
218 views
Strange disappearing colored rules in beamer
I have received a booktabs bug report of \cmidrules that disappear when coloured rules are used inside beamer (together with colortbl). The problem can be illustrated with the following simple code ...
3
votes
1answer
94 views
Style Parcolumns vertical bar
How can I style the vertical bar in parcolumns that appears when using rulebetween=true?
I am trying to do something similar to what you can do with \vrule like the below:
...
2
votes
1answer
111 views
Custom vertical page border
I wanted to have a vertical colored bar running on all my pages, to the left of the page, in between the beginning of the sheet and the beginning of the text.
Something like:
|\| text |
|\| text ...
5
votes
2answers
692 views
How to change the shaded color of the \rule{…}{…} command?
To change the shaded color of the \rule{...}{...} command, one solution is
\textcolor{blue}{\rule{2cm}{2cm}}
but I want to know how can I directly change the color of this command globally?
9
votes
4answers
221 views
How to construct a logic argument with colored hline with length under control?
How to construct a logic argument like this one?
I can construct it like this:
Latex of my argument:
\documentclass[10pt]{article}
\usepackage{newtxtext}
\usepackage{newtxmath}
...
6
votes
2answers
153 views
Adding borders to an entire row in a table
I have a table with multiple rows (a regression table). I would like to add a coloured border highlighting one particular variable. I have found a way to border one cell at a time but is there a way ...
6
votes
2answers
1k views
\hhline adds white line where no line is intended
In a table, containing colored cells, i want to have a \hline dividing only some cells, similar to \cline but compatible with coloring single cells with \cellcolor, which is possible by using \hhline ...
4
votes
2answers
1k views
\cellcolor overwrites table lines
I have a table which I want to fill with multiple colors, each cell possibly different from another. Which means, I can't make use of e.g. \columncolor (as in this post).
While the table without any ...
8
votes
1answer
334 views
Inconsistent appearance of white \hline on black background
Are there known issues with the appearance of white text on black background?
When I use several \hline in a table I get different appearances for the lines. It could appear as normal or weak or ...
11
votes
2answers
6k views
How to change line color in tabular?
How can I change the color of the lines (the frame) in a tabular environment? In the following MWE:
\begin{tabular}{c|c|c}
a&b&c \\ \hline
d&e&f \\ \hline
g&h&i
\end{tabular}
...
7
votes
1answer
472 views
How to prevent a page break between section title and colored rule?
I use \usepackage[explicit]{titlesec} to customize the design of my sections, subsections...
In particular, i have :
\titleformat{\section}%
{\large\sffamily\bfseries}%
{My Section \arabic{section} ...
16
votes
3answers
1k views
Can I have the \overfullrule rule colored in pdfLaTeX?
I know that I can use \overfullrule=5pt to get overfull lines marked with a black marker. I am using pdfLaTeX. Is there a way I can get this marker or something similar in magenta instead?
3
votes
1answer
329 views
Color running over the doublerule separator in a table
I want to draw a simple colored table with 4 columns. First row is a multicolumn row which spans columns one and two. There is one doublespace between columns 2 and 3. When i apply color (blue in this ...