[LON-CAPA-users] Question about printing a table with an image in it
    Uma Ravat 
    ravat1 at illinois.edu
       
    Thu Sep 10 21:55:50 EDT 2015
    
    
  
Hello,
I'm trying to print a table with an image next to it. .
I used <web></web> and <tex></tex> to format the tables for web and pdf
print out. The web version looks good, but the pdf(latex) version does not
compile and throws an error that the .pnf file is not found.
Any ideas on how to proceed?
If I take the image out of the <tex> tag and use <img TeXwrap="parpic"  >
the pdf prints fine, but then the picture is below the table rather than
next to the table.
Best,
Uma
<tex>
\begin{minipage}{0.5\textwidth}
\begin{tabular}{|l|l|l|}
\hline
{\bf names} & {\bf \% Area} & {\bf Height} \\
\hline
  0--$w1[$v1]       &   $area1[$v1]            &    Box 1          \\
\hline
  $w1[$v1]--$w2[$v1]          &    $area2[$v1]           &    Box
2          \\
\hline
  $w2[$v1]--$w3[$v1]          &    $area3[$v1]           &     Box
3         \\
\hline
  $w3[$v1]--$w4[$v1]          &     $area4[$v1]          &      Box
4        \\
\hline
  $w4[$v1]--28          &           $area5[$v1]    &      Box 5       \\
\hline
\end{tabular}
\end{minipage}
\begin{minipage}{0.3\textwidth}
\includegraphics[width=6cm]{/priv/uiuc/ravat1/image/hist1.png}
\end{minipage}
</tex>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20150910/35ec5d4c/attachment.html>
    
    
More information about the LON-CAPA-users
mailing list