Color the lines of only a single cell of a tabular [closed]
I have the following table:
begin{tabular}{!{color{black}vrule}c!{color{gray}vrule}c!{color{gray}vrule}c!{color{black}vrule}}
arrayrulecolor{black}hline
& & \
arrayrulecolor{gray}hline
& this one & \
arrayrulecolor{gray}hline
& & \
arrayrulecolor{gray}hline
end{tabular}
Now I want to color just the lines surrounding this cell.
How can I achieve this?
Everything I was able to find related to coloring an entire horizontal or vertical line of a table.
tables color
closed as off-topic by samcarter, marmot, JouleV, Raaja, leandriis Mar 20 at 13:26
- This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I have the following table:
begin{tabular}{!{color{black}vrule}c!{color{gray}vrule}c!{color{gray}vrule}c!{color{black}vrule}}
arrayrulecolor{black}hline
& & \
arrayrulecolor{gray}hline
& this one & \
arrayrulecolor{gray}hline
& & \
arrayrulecolor{gray}hline
end{tabular}
Now I want to color just the lines surrounding this cell.
How can I achieve this?
Everything I was able to find related to coloring an entire horizontal or vertical line of a table.
tables color
closed as off-topic by samcarter, marmot, JouleV, Raaja, leandriis Mar 20 at 13:26
- This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.
1
You could use a combination ofcline
andvrule
as shown here: tex.stackexchange.com/a/462759/134144 ortikz
as shown here: tex.stackexchange.com/a/462767/134144
– leandriis
Mar 19 at 17:01
Thanks, I got it now. Just had to usehhline
instead ofcline
– dYTe
Mar 19 at 17:43
1
So this question can be closed?
– Kurt
Mar 19 at 22:37
5
I'm voting to close this question as solved in comments
– samcarter
Mar 20 at 0:25
Yes, this question can be closed.
– dYTe
Mar 20 at 10:09
add a comment |
I have the following table:
begin{tabular}{!{color{black}vrule}c!{color{gray}vrule}c!{color{gray}vrule}c!{color{black}vrule}}
arrayrulecolor{black}hline
& & \
arrayrulecolor{gray}hline
& this one & \
arrayrulecolor{gray}hline
& & \
arrayrulecolor{gray}hline
end{tabular}
Now I want to color just the lines surrounding this cell.
How can I achieve this?
Everything I was able to find related to coloring an entire horizontal or vertical line of a table.
tables color
I have the following table:
begin{tabular}{!{color{black}vrule}c!{color{gray}vrule}c!{color{gray}vrule}c!{color{black}vrule}}
arrayrulecolor{black}hline
& & \
arrayrulecolor{gray}hline
& this one & \
arrayrulecolor{gray}hline
& & \
arrayrulecolor{gray}hline
end{tabular}
Now I want to color just the lines surrounding this cell.
How can I achieve this?
Everything I was able to find related to coloring an entire horizontal or vertical line of a table.
tables color
tables color
edited Mar 19 at 19:40
Bernard
174k776207
174k776207
asked Mar 19 at 16:08
dYTedYTe
161
161
closed as off-topic by samcarter, marmot, JouleV, Raaja, leandriis Mar 20 at 13:26
- This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by samcarter, marmot, JouleV, Raaja, leandriis Mar 20 at 13:26
- This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.
1
You could use a combination ofcline
andvrule
as shown here: tex.stackexchange.com/a/462759/134144 ortikz
as shown here: tex.stackexchange.com/a/462767/134144
– leandriis
Mar 19 at 17:01
Thanks, I got it now. Just had to usehhline
instead ofcline
– dYTe
Mar 19 at 17:43
1
So this question can be closed?
– Kurt
Mar 19 at 22:37
5
I'm voting to close this question as solved in comments
– samcarter
Mar 20 at 0:25
Yes, this question can be closed.
– dYTe
Mar 20 at 10:09
add a comment |
1
You could use a combination ofcline
andvrule
as shown here: tex.stackexchange.com/a/462759/134144 ortikz
as shown here: tex.stackexchange.com/a/462767/134144
– leandriis
Mar 19 at 17:01
Thanks, I got it now. Just had to usehhline
instead ofcline
– dYTe
Mar 19 at 17:43
1
So this question can be closed?
– Kurt
Mar 19 at 22:37
5
I'm voting to close this question as solved in comments
– samcarter
Mar 20 at 0:25
Yes, this question can be closed.
– dYTe
Mar 20 at 10:09
1
1
You could use a combination of
cline
and vrule
as shown here: tex.stackexchange.com/a/462759/134144 or tikz
as shown here: tex.stackexchange.com/a/462767/134144– leandriis
Mar 19 at 17:01
You could use a combination of
cline
and vrule
as shown here: tex.stackexchange.com/a/462759/134144 or tikz
as shown here: tex.stackexchange.com/a/462767/134144– leandriis
Mar 19 at 17:01
Thanks, I got it now. Just had to use
hhline
instead of cline
– dYTe
Mar 19 at 17:43
Thanks, I got it now. Just had to use
hhline
instead of cline
– dYTe
Mar 19 at 17:43
1
1
So this question can be closed?
– Kurt
Mar 19 at 22:37
So this question can be closed?
– Kurt
Mar 19 at 22:37
5
5
I'm voting to close this question as solved in comments
– samcarter
Mar 20 at 0:25
I'm voting to close this question as solved in comments
– samcarter
Mar 20 at 0:25
Yes, this question can be closed.
– dYTe
Mar 20 at 10:09
Yes, this question can be closed.
– dYTe
Mar 20 at 10:09
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
1
You could use a combination of
cline
andvrule
as shown here: tex.stackexchange.com/a/462759/134144 ortikz
as shown here: tex.stackexchange.com/a/462767/134144– leandriis
Mar 19 at 17:01
Thanks, I got it now. Just had to use
hhline
instead ofcline
– dYTe
Mar 19 at 17:43
1
So this question can be closed?
– Kurt
Mar 19 at 22:37
5
I'm voting to close this question as solved in comments
– samcarter
Mar 20 at 0:25
Yes, this question can be closed.
– dYTe
Mar 20 at 10:09