[LON-CAPA-users] <tex>-block / LON-CAPA question re multirow multicolumn mutirow sort of table

Stuart Raeburn raeburn at msu.edu
Mon Jun 1 13:34:09 EDT 2015


> I'd send a screenshot if this list allowed it.

You can send a screenshot to this list, but you need to ensure that  
the combined size of message and screenshot are under 100 KB.

Alternatively you can include a link to a screenshot which you have  
posted elsewhere (at some publicly-accessible web site).

Stuart Raeburn
LON-CAPA Academic Consortium

Quoting Raymond Batchelor <batchelo at sfu.ca>:

> Hi All,
> I'm having a little difficulty in recalling or finding how to   
> properly generate a table like the following...
> <tex>
> \begin{tabular}{|c|c|c|c|c|}
> \hline
> \multirow{2}{*}{Expt.}&\multicolumn{3}{c}\ Concentration (mol$\cdot   
> $L$^{-1}$) \ &Initial Rate\\
> &[CO$_2$]$_0$&[F$^-$]$_0$&[Mn$_2$F$_2$]$_0$&(Mol$\cdot $L$^{-1}\cdot  
>  $min$^{-1}$)\\ \hline
> 1&0.2&0.4&0.4&0.128\\ \hline
> 2&0.2& 0.4&0.1&0.008\\ \hline
> \end{tabular}\</tex>
> The above works 'fine', except that there are no cell borders   
> immediately below or to the immediate right of the ''cell" created   
> by \multicolumn{3}{c}\ Concentration (mol$\cdot $L$^{-1}$) \
> Not sure what I need to add to this LaTeX to make those particular   
> borders appear in LON-CAPA.
> I'd send a screenshot if this list allowed it.
> Thanks!!
> :-)
> --
> Ray

More information about the LON-CAPA-users mailing list