LaTeX表格和图片排版(设置宽度和高度)

1、表格排版

\begin{table*}[!htp]
\begin{floatrow}
\begin{minipage}{0.31\linewidth}
\centering
\renewcommand\arraystretch{1.09}
\ttabbox{\caption{Basic feature}}{%
\begin{tabular}{|c|c|c|c|}
  \hline
  Type & Kenel & stride & Output
  \\
  \hline
  1 & 3x3 & 1x1 & 64 \\
  2 & 3x3 & 1x1 & 64\\
  \hline
  3 & 3x3 & 1x1 & 128\\
  4 & 3x3 & 1x1 & 128\\
  \hline
\end{tabular}}
\end{minipage}

\begin{minipage}{0.33\linewidth}
\centering
\renewcommand\arraystretch{1.52}
\ttabbox{\caption{Rough Classifier}}{%
\begin{tabular}{|c|c|c|c|}
  \hline
  Type & Kenel & stride & Output
  \\
  \hline
  1 & 3x3 & 1x1 & 512\\
  2 & 3x3 & 1x1 & 512\\
  3 & 3x3 & 1x1 & 512\\
  \hline
  Fcn & - & - & 4096 \\
  Fcn & - & - & 4096\\
  \hline
\end{tabular}}
\end{minipage}

\begin{minipage}{0.31\linewidth}
\centering
\renewcommand\arraystretch{1.99}
\ttabbox{\caption{Decolorization Network}}{%
\begin{tabular}{|c|c|c|c|}
  \hline
  Type & Kenel & stride & Output
  \\
  \hline
  1 & 1x1 & 1x1 & 21 \\
  \hline
  2 & 1x1 & 1x1 & 21\\
  \hline
\end{tabular}}
\end{minipage}
\end{floatrow}
\end{table*}

2、图片排版

\begin{figure}[!htb]
\centering 
\begin{minipage}[t]{0.15\textwidth}
\subfigure[] { \label{fig:a}     \includegraphics[width=0.5in]{images/8} }
\end{minipage}
\begin{minipage}[t]{0.15\textwidth} 
\subfigure[] { \label{fig:b}     \includegraphics[width=0.5in]{images/9} }   
\end{minipage} 
\begin{minipage}[t]{0.15\textwidth} 
\subfigure[] { \label{fig:c}     \includegraphics[width=0.5in]{images/10} }  
\end{minipage}
\begin{minipage}[t]{0.15\textwidth}    
\subfigure[] { \label{fig:d}     \includegraphics[width=0.5in]{images/11} }
\end{minipage}
\begin{minipage}[t]{0.15\textwidth}
\subfigure[] { \label{fig:e}     \includegraphics[width=0.5in]{images/12} }
\end{minipage}
\begin{minipage}[t]{0.15\textwidth}  
\subfigure[] { \label{fig:f}     \includegraphics[width=0.5in]{images/13} }     
\end{minipage}
\caption{ Comparison with the state-of-the-arts.}
\end{figure}

8、9、10、11、12、13分别为.png格式的图片

你可能感兴趣的:(Latex)