[texhax] tables question

M.N.A.Smadi smadim2 at grads.ece.mcmaster.ca
Wed Mar 16 23:40:19 CET 2005


can y pls give specific example on the use of p<width>

m.smadi
Robin Fairbairns wrote:

>>am using this code to make a table. It is show as a table but latex is 
>>not doing the line wrapping in a good way.  The line goes the end of the 
>>pages without ever line wrapping.
>>
>>\begin{table}[hang]
>>\centering
>>\caption{SIP Responses}
>>\begin{tabular}{|l|l||}
>>    \hline
>>\textbf{\bf Class Code}  & {\bf Function}                \\
>>    \hline \hline
>>xx       &  
>>whatevenrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr 
>>   \\
>>
>>    \hline
>>\end{tabular}    
>>\label{tab:sip_responses}
>>\end{table}
>>
>>any ideas on how to make it wrap?
>>    
>>
>
>don't tell it not to wrap, as you did by specifying "l" column type.
>
>p{<width>} column type wraps within the given width.
>
>  
>



More information about the texhax mailing list