[Tex/LaTex] Removing vertical lines from the table header

framedtables

This is what I already have, but for the moment. In the left corner and the right corner there are two little vertical lines, I don't want them, but I don't know how to delete them. Anyone who can help me please?

\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage[math]{iwona}
\usepackage{eurosym}
\begin{document}
    \begin{tabular}{|c l l r|}
          & \huge{\textsterling} & \Large{\EUR{}} & \$ \\ \hline
        \textsterling & 10 & 8,9 & 6,2 \\ \hline \hline
        \EUR{} & 11,3 & 10 & 7,0 \\ \hline \hline
        \$ & 16,2 & 14,3 & 10 \\ \hline
    \end{tabular}
\end{document}

Example

This is what I need to become. So it are just the two little lines in each corner that I need to delete. But I don't know how 🙁

And as you can see, I really need the horizontal lines, because it is an exercise…

Best Answer

You can overwrite the vertical rule spec via \multicolumn. Still the result is not very satisfactory and you might choose a different strategy via boxing the contents e.g. see Highlight a table row with a rectangular overlay etc.

\documentclass[border=3mm]{standalone}
\usepackage{eurosym}
\begin{document}
    \begin{tabular}{|c l l r|}
        \multicolumn{1}{c}{} & \huge{\textsterling} & \Large{\EUR{}} & \multicolumn{1}{c}{\huge \$}\\\hline
        \textsterling        & 10                   & 8,9            & 6,2\\ \hline \hline
        \EUR{}               & 11,3                 & 10             & 7,0\\ \hline \hline
        \$                   & 16,2                 & 14,3           & 10 \\ \hline
    \end{tabular}
\end{document}

enter image description here

Related Question