latex整理

1、表格换行

主文件添加

\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}}

\begin{table}
  \centering
  \begin{tabular}{|c|c|c|}
  \hline
1 & \tabincell{c}{the first line \\ the next\\the next\\ last} & \tabincell{c}{one \\ one}\\
\hline
2 & \tabincell{c}{hello\\ aha\\ ok \\yes \\en} & \tabincell{c}{two \\ two \\ two} \\
\hline
\end{tabular}
  \caption{longtitle}
\end{table}

2、摄氏度

$^{\circ}$C

3、同行多图

\begin{figure*}[ht!]
    \begin{minipage}[t]{0.33\linewidth}
    \centering
    \includegraphics[width=0.95\textwidth]{img/Erg4CAQOvsCHICttl}
    \caption{The consumed energy comparisons for SAQWR.} \label{fig:consumedenergycomparisonsforSAQWR}
    \end{minipage}
%\hspace{1ex}
\begin{minipage}[t]{0.33\linewidth}
    \centering
    \includegraphics[width=0.95\textwidth]{img/Erg4CAQOvsCHICttl}
    \caption{The consumed energy comparisons for MAQWR.} \label{fig:consumedenergycomparisonsforMAQWR}
\end{minipage}
%\hspace{1ex}
\begin{minipage}[t]{0.33\linewidth}
    \centering
    \includegraphics[width=0.95\textwidth]{img/Erg4CAQOvsCHICttl}
    \caption{The consumed energy comparisons for MAQSR.} \label{fig:consumedenergycomparisonsforMAQSR}
\end{minipage}
\end{figure*}



4、同列多图

\begin{figure}
\centering
    \subfigure[fig1 caption...]{
    \begin{minipage}[b]{0.4\textwidth}
    \includegraphics[width=0.9\textwidth]{img/Erg4CAQOvsCHICDiffLamda} \\
    \end{minipage}
    }
    
    \subfigure[fig2 caption...]{
    \begin{minipage}[b]{0.4\textwidth}
    \includegraphics[width=0.9\textwidth]{img/Erg4CAQOvsCHICDiffLamda} \\
    \end{minipage}
    }
\label{fig:csd}
\end{figure}


5、添加作者

5.1 无图类型可为:

\footnotesize \text{ } \\
\textbf{xxx} is a professor ..... \\
\textbf{xxx} is a student .... \\ 



或者

\begin{IEEEbiographynophoto}{John Doe}
Biography text here.
\end{IEEEbiographynophoto}



5.2 有图类型

\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{img/imagename}}]{xxx}
is a professor ....
\end{IEEEbiography}

\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{img/imagename}}]{xxx}
is a student .....
\end{IEEEbiography}






  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值