[OS X TeX] Table in SF family with longtable package

Ross Moore ross at ics.mq.edu.au
Sat Jun 7 07:31:54 CEST 2008


On 07/06/2008, at 3:42 AM, Nathan Paxton wrote:
> 	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


Adjust your coding as follows:

>>
>> \begin{center}
>> 	\begin{landscape}
>> 		\footnotesize  %{  this brace is redundant ...
		   \sffamily
>> 		\singlespacing{
>> 		\begin{longtable}{lp{2in}p{2in}lll}


>  ....

>> 	\end{longtable}
>> }%} ... and remove this closing one, to match
>> 	\end{landscape}
>> \end{center}

If this doesn't work for you, then we need to know
a bit more about the document-class and packages that
you are using.

>
> ----------
> Nathan A. Paxton

Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------






More information about the macostex-archives mailing list