[texhax] XeLaTeX: Extra vertical space in tabbing environment with \kill?

Peter Davis pfd at pfdstudio.com
Sat Apr 9 16:56:54 CEST 2011


Actually, it turns out tabbing works ok if I just set \topsep and \partopsep
to 0 before the tabbing environment.  Here's the latest sample, with a gray
background to show where the right hand text should go:

\documentclass[letterpaper]{article}
\usepackage[absolute]{textpos}
\usepackage{settobox}
\usepackage{soul}
\usepackage{xcolor}
\setlength{\TPHorizModule}{1bp}
\setlength{\TPVertModule}{\TPHorizModule}
\setlength{\parindent}{0pt}
\setlength{\unitlength}{1bp}
\pagestyle{empty}
\usepackage[paperwidth=252.000000bp,paperheight=144.000000bp]{geometry}

\begin{document}

\raggedright
\fontsize{7.000000}{9.000000}\selectfont{}
\begin{textblock}{96}(36,76)
This is several lines of text on the left side of the card.  The lines
should align with the tabbed environment on the right.
\end{textblock}

\begin{textblock}{67.5}(144,76)
{\color[cmyk]{0,0,0,0.15}\rule{67.5bp}{48bp}}
\end{textblock}

\begin{textblock}{67.5}(144,76)

\setlength{\topsep}{0pt}
\setlength{\partopsep}{0pt}
\begin{tabbing}
\hspace*{47bp} \= \kill
{248.358.4420}\> {office}\\
{123.456.7891}\> {direct}\\
{123.456.7892}\> {cell}\\
{248.358.1969}\> {fax}
\end{tabbing}

\end{textblock}

\end{document}


-- 
----
The Tech Curmudgeon
http://www.techcurmudgeon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110409/d9c9b584/attachment.html>


More information about the texhax mailing list