[texhax] XeLaTeX: Extra vertical space in tabbing environment with \kill?
Peter Davis
pfd at pfdstudio.com
Fri Apr 8 21:50:54 CEST 2011
I'm trying to set up some business cards, and running into a tabbing
environment behavior I don't understand.
I use a line made up of \hspace and \= to define the tab position, ending
the line with \kill (Kopka & Daly, Guide to LaTeX, 4th ed., pp. 102), but
when I generate output, the top line of the tabbed text is about a line and
a half lower than the top line of an adjacent paragraph. I'm using textpos
to position blocks of text.
The example below has a block on the left with a simple paragraph, and a
block containing a tabbed environment on the right. I don't understand why
the lines don't ... uh, line up.
Any help greatly appreciated!!
-pd
\documentclass[letterpaper]{article}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{setspace}
\usepackage{grffile}
\usepackage[absolute]{textpos}
\usepackage{settobox}
\usepackage{soul}
\setlength{\TPHorizModule}{1bp}
\setlength{\TPVertModule}{\TPHorizModule}
\setlength{\parindent}{0pt}
\setlength{\unitlength}{1bp}
\pagestyle{empty}
\newlength{\imgHeight}
\newlength{\imgWidth}
\usepackage[paperwidth=252.000000bp,paperheight=144.000000bp]{geometry}
\begin{document}
\raggedright
\fontsize{7.000000}{9.000000}\selectfont{}
%\color[cmyk]{1.000000,0.850000,0.000000,0.130000}
\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)
\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/20110408/4e824fdd/attachment.html>
More information about the texhax
mailing list