<br>On Fri, Apr 8, 2011 at 4:59 PM, Peter Davis <span dir="ltr"><<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><div class="gmail_quote"><div class="im">On Fri, Apr 8, 2011 at 4:31 PM, William Adams <span dir="ltr"><<a href="mailto:will.adams@frycomm.com" target="_blank">will.adams@frycomm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Apr 8, 2011, at 3:50 PM, Peter Davis wrote:<br>
<br>
> I'm trying to set up some business cards, and running into a tabbing environment behavior I don't understand.<br>
><br>
> 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.<br>


><br>
> 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.<br></div></blockquote></div>
</div></blockquote><div><br></div><div><br></div><div>Interestingly, the tabular environment comes a lot closer, as seen in the example below.  The lines still don't line up, however, but they're closer.  This reminds me, though, that I'm still frustrated that LaTeX doesn't let you specify both column width and horizontal alignment for a table.  You can specify l, r or c, or you can specify p{width}, but not both for a given column.</div>
<div><br></div><div><div>\documentclass[letterpaper]{article}</div><div>\usepackage[absolute]{textpos}</div><div>\usepackage{settobox}</div><div>\usepackage{soul}</div><div>\setlength{\TPHorizModule}{1bp}</div><div>\setlength{\TPVertModule}{\TPHorizModule}</div>
<div>\setlength{\parindent}{0pt}</div><div>\setlength{\unitlength}{1bp}</div><div>\pagestyle{empty}</div><div>\usepackage[paperwidth=252.000000bp,paperheight=144.000000bp]{geometry}</div><div><br></div><div>\begin{document}</div>
<div><br></div><div>\raggedright</div><div>\fontsize{7.000000}{9.000000}\selectfont{}</div><div>%\color[cmyk]{1.000000,0.850000,0.000000,0.130000}</div><div>\begin{textblock}{96}(36,76)</div><div>This is several lines of text on the left side of the card.  The lines</div>
<div>should align with the tabbed environment on the right.</div><div>\end{textblock}</div><div><br></div><div>\begin{textblock}{67.5}(144,76)</div><div><br></div><div>%% \begin{tabbing}</div><div>%% \hspace*{47bp} \= \kill</div>
<div>%% {248.358.4420}\> {office}\\</div><div>%% {123.456.7891}\> {direct}\\</div><div>%% {123.456.7892}\> {cell}\\</div><div>%% {248.358.1969}\> {fax}</div><div>%% \end{tabbing}</div><div><br></div><div>\begin{tabular}[t]{p{47bp}l}</div>
<div>{248.358.4420} & {office}\\</div><div>{123.456.7891} & {direct}\\</div><div>{123.456.7892} & {cell}\\</div><div>{248.358.1969} & {fax}</div><div>\end{tabular}</div><div><br></div><div>\end{textblock}</div>
<div><br></div><div>\end{document}</div></div><div><br></div></div><br>-- <br><span style="font-family:arial, sans-serif;border-collapse:collapse">----<div>The Tech Curmudgeon</div><div><a href="http://www.techcurmudgeon.com/" style="color:rgb(17, 65, 112)" target="_blank">http://www.techcurmudgeon.com</a></div>
<div style="font-size:10.8333px"><br></div></span><br>