Hi
I have a problem with the placement of the right-most vertical line in a fixed-width supertabular*. As desired, the supertabular* comes out as wide as the text below (\textwidth), but the right-most vertical line is not correctly placed. What can I do about this?
The code for the definition of the table is:
\begin{supertabular*}{\textwidth}{@{\extracolsep{\fill}}|v{3cm}|v{1cm}|v{3.5cm}|v{3.5cm}|}
Feel free to have a look at the minimal example in the attachment and the pdf of what I get when I compile it.
Thanks in advance for any suggestions!
Document Classes ⇒ vertical lines in fixed-width supertabular*
vertical lines in fixed-width supertabular*
- Attachments
-
- fixed-width_supertabular_vertical_lines.rar
- (12.34 KiB) Downloaded 438 times
vertical lines in fixed-width supertabular*
Here is your code with a few changes:
Code: Select all
\documentclass[a4paper,11pt,titlepage]{article}
\usepackage{supertabular}
\usepackage{array}
%\newcolumntype{v}[1]{>{\raggedright \arraybackslash\hspace{0pt}}p{#1}}
\newcolumntype{v}{>{\raggedright}p}
\begin{document}
\tablehead {%
\hline
Description & Com/ Cust & Origin & Destination \tabularnewline
\hline \hline
}
\tabletail{%
\hline \hline
\multicolumn{4}{|c|}{continued on next page $...$ } \\
\hline
}
\tablelasttail{%
\hline \hline
\multicolumn{4}{|c|}{continued on next page $...$ } \\
\hline}
\bottomcaption{Overview of Leads}
\label{tab:lead_overview}
\begin{supertabular*}{\textwidth}{@{\extracolsep{\fill}}|v{3cm}|v{1cm}|v{3.5cm}|v{3.5cm}@{\extracolsep{0pt}}|}
\hline
Emergency Off Lead & Cu & Emergency Off Button & Universal
Motion Interface \tabularnewline
\hline
\end{supertabular*}
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla
\end{document}