Document Classes ⇒ vertical lines in fixed-width supertabular*
vertical lines in fixed-width supertabular*
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!
- Attachments
-
- fixed-width_supertabular_vertical_lines.rar
- (12.34 KiB) Downloaded 465 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
vertical lines in fixed-width supertabular*
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}