横向并列两个图片

\begin{figure}

\begin{minipage}{0.49\linewidth}

  \centering

  \includegraphics[width=6.5cm]{Simulation_Figures/Fig1_eps}

  \caption{The average outage probability versus $\gamma$}

  \label{Fig1}

\end{minipage}

\begin{minipage}{0.49\linewidth}

  \centering

  \includegraphics[width=6.5cm]{Simulation_Figures/Fig2_eps}

  \caption{Resource allocation among CSBSs for different algorithms}

  \label{Fig2}

  \end{minipage}

\end{figure}

其中 0.49\linewidth 控制双栏中每一栏的宽度

指定图片的大小 \includegraphics[width=4cm, height=3cm]{xxx.eps}

显示效果:
LaTeX 一些用法实例(并列图片、并列表格、算法代码示例、页眉太长、下划线,等)-LMLPHP

竖向并列多个图片

\begin{figure}

\centering

\subfigure[During the day]

{

\label{Fig8a}

\begin{minipage}[b]{0.5\textwidth}

\includegraphics[width=3.0in,height=3.0in]{Simulation_figures/Fig8a_pdf}

\end{minipage}

}

\subfigure[At night]

{

\label{Fig8a}

\begin{minipage}[b]{0.5\textwidth}

\includegraphics[width=3.0in,height=3.0in]{Simulation_figures/Fig8b_pdf}

\end{minipage}

}

\caption{Tidal effect} \label{Fig8}

\end{figure}

显示效果:

LaTeX 一些用法实例(并列图片、并列表格、算法代码示例、页眉太长、下划线,等)-LMLPHP

并列两个表格

\begin{table}

\begin{minipage}{0.5\linewidth}

\center

\caption{CQET}

\begin{tabular}{|l|l|l|}

\hline

{SN} &  {Channel ID} & {Channel Quality}  \\

\hline

1 & $N$ & $Q_1^i$  \\

2 & $N-1$ & $Q_2^i$  \\

3 & $N-2$ & $Q_3^i$  \\

\dots & \dots & \dots  \\

$K_i$ & $N-K_i+1$ & $Q_{K_i}^i$  \\

\hline

\end{tabular}

\label{CQET}

\end{minipage}

\begin{minipage}{0.5\linewidth}

\center

\caption{SIT}

\begin{tabular}{|l|l|}

\hline

{Parameters} &  {Description}\\

\hline

$N_D^i$ & No. of total required channels\\

$N_{Init}^i$ & No. of initial service channels\\

$N_N^i$ & No. of still needed channels\\

$N_A^i$ & No. of available channels\\

$N_S^i$ & No. of current serving channels\\

$K_i$ & No. of current serving users\\

$PL_A^i$ & $N_D^i/N_S^i$\\

$PL_B^i$ & $N_D^i/K_i$\\

\hline

\end{tabular}

\label{SIT}

\end{minipage}

\end{table}

显示效果:

LaTeX 一些用法实例(并列图片、并列表格、算法代码示例、页眉太长、下划线,等)-LMLPHP

输入下划线,双下划线,波浪线,删除线,斜删除线

\usepackage{ulem}

....

\uline{我是一个兵}  下划线
\uuline{我是一个兵}  双下划线
\uwave{我是一个兵} 波浪线
\sout{我是一个兵} 删除线
\xout{我是一个兵} 斜删除线

算法伪代码


未完 ......

点击访问原文(进入后根据右侧标签,快速定位到本文)

05-11 14:42