Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using tabular to make simple table, I want to have double line on the sides. The problem is that the double-lines do not meet elegantly at the bottom-right corner:

badcorner

How can I make the double lines meet in a better what (e.g. forming an double ell shape)?

Other environments and packages are welcomed but tabular is preferred.

Minimal code:

\documentclass[]{article}
\usepackage{array}
\begin{document}
\begin{tabular}{c|c||}
1 & 2 \\
3 & 4 \\
\hline\hline
\end{tabular}
\end{document}
share|improve this question
3  
Vertical rules in tabular material are always ugly and distracting. Have a look at booktabs. This package gives you some useful macros and some hints on nice looking tables. –  Johannes_B Dec 18 '13 at 9:21
add comment

1 Answer

As mentioned in the comment by Johannes, vertical rules should be avoided. You should use the package booktabs to create nice tables.

However David Carlisle created the package hhline which supports such requests.

\documentclass[]{article}
\usepackage{array,hhline}
\begin{document}
\begin{tabular}{c|c||}
1 & 2 \\
3 & 4 \\
 \hhline{=:=:b|}
\end{tabular}
\end{document}

enter image description here

share|improve this answer
    
Thanks! :) :P :/ . Do you know why the lines are rendered with some irregularities (as if they were superimposed)? –  alfC Dec 18 '13 at 9:56
2  
@alfC: Normally this is related to your viewer. Heiko Oberdiek explained this issue related to another package: tex.stackexchange.com/questions/124539/… –  Marco Daniel Dec 18 '13 at 9:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.