[OS X TeX] Table in SF family with longtable package
Nathan Paxton
napaxton at fas.harvard.edu
Fri Jun 6 13:42:22 EDT 2008
I have the following table in my document. Currently, it sets in the
default roman family, but I want my tables (as a way of setting them
apart) to set in the default sans-serif family. I can't figure out how
to do this in this longtable in any (somewhat) simple way. I don't
want to have to use \textsf{} for every cell in the table, if I can
help it. Is there another way to do this?
-Nathan
\begin{center}
\begin{landscape}
\footnotesize{ \singlespacing{
\begin{longtable}{lp{2in}p{2in}lll}
\toprule \\
\textbf{Variable} & \textbf{Description} & \textbf{Source} &
\textbf{Range} & {\textbf{Mean}} & {\textbf{N}}\\
\midrule \\
\endfirsthead\\
\toprule \\
\textbf{Variable} & \textbf{Description} & \textbf{Source} &
\textbf{Range} & {\textbf{Mean}} & {\textbf{N}}\\
\midrule \\
\endhead
\bottomrule\\
\caption{Summary of original data. } \label{tab:summarytable}\\
\endfoot \bottomrule\\
\caption{Summary of original data, cont'd.}\\
\endlastfoot \textbf{Dependent} & & & &
%\multicolumn{1}{l|}{} &% \multicolumn{1}{l|}{}
\\
Policy Output & API Treatment, Prevention, Prog. Res. scales & API &
25.95, 100 & 59.42 & 139 \\
Overall HIV Program & Mean of API indices, save organizational
structure index & API & 36.19, 98.65 & 60.35 & 139 \\
& & & & & \\
\textbf{Independent} & & & & & \\
\textit{Organizational} & & & & & \\
%... [SNIP TABLE CONTENTS HERE]
Regional dummies & Sub-Saharan Africa, E. Asia, S. Asia, L. America,
E. Europe & s & & & \\
\end{longtable}
}}
\end{landscape}
\end{center}
----------
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University
Resident Tutor
John Winthrop House, Harvard University
napaxton AT fas DOT harvard DOT edu
http://www.fas.harvard.edu/~napaxton
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
========================================================================
When you have to stay eight years away from California, you live in a
perpetual state of homesickness.
- Ronald Reagan
The most courageous act is still to think for yourself. Aloud.
-Coco Chanel
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
========================================================================
More information about the MacOSX-TeX
mailing list