Color the lines of only a single cell of a tabular [closed]












1















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.










share|improve this 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 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






  • 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















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.










share|improve this 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 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






  • 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








1








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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






  • 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





    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






  • 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










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?