Latex用法小计

---通讯作者的邮箱标记怎么加?

\usepackage[misc]{ifsym}

\Letter

---给文字加删除线

\usepackage[normalem]{ulem}

\sout{xxxxx}

---字体加粗

\textbf{xxx}

---设置字体颜色

\textcolor{red}{xxxxx}

---png转eps

CTEX/MiKTeX/miktex/bin目录下,找到bmeps.exe

bmeps image1.png image1.eps

根据需要可以选择不同的option,一般常用-c 或-g.

例如输入bmeps -c example.jpg example.eps,那么将会生成名为example的eps格式的文件。

---段落自动编号

\begin{enumerate} 
\renewcommand{\labelenumi}{(\theenumi)}
\item 采用3自由度的视差平面,表达视差。
\item 初始化的时候,在全视差范围内计算视差值。
\end{enumerate}

结果是:

(1)采用3自由度的视差平面,表达视差。

(2)初始化的时候,在全视差范围内计算视差值。

表格合并1

\begin{table} 
\begin{center}
\begin{tabular}{|c|c|c|}
\hline
\multirow{2}{*}{Method} & \multicolumn{2}{c|}{MAE (rad)}\\
\cline{2-3}
& Period 15 & Period 25  \\
\hline
Ours & 0.0114 & 0.0105\\
\hline
Corrected 3-step PS & 0.0388 & 0.0288\\
\hline
12-step PS & 0.0076 & 0.0073\\
\hline
\end{tabular}
\end{center}
%Strategy 2&0.0128&0.0115\\
%\hline
%Strategy 3&0.0113&0.0106\\
%\hline 
\caption{The phase error for two datasets with different fringe periods. The fringe period of the first column is 15 pixels and the second column is 25 pixels.}
\label{period}
\end{table}

表格合并2

\begin{table*}[h]
    \caption{Optimization summary.}
    \label{tab:summary}
    \begin{tabular}{cccccc}
        \toprule
        \multirow{2}{*}{Design} & \multicolumn{2}{c}{Problem size} & \multirow{2}{*}{CPU time(s)} & \multicolumn{2}{c}{Problem size}\\
        \cline{2-3}  \cline{5-6}
        & Binary variables & Constraint  & & Binary variables & Constraints\\
        \midrule
        OM1 & 199 & 13,017 & 000 & -&-\\
        OM2 & 199 & 1,525 & 000 & -&-\\
        \bottomrule
    \end{tabular}
    \label{tab:my_label}
\end{table*}

Overleaf 多个子图并列

Figures, Subfigures and Tables - Overleaf, Online LaTeX Editor

\begin{figure}
     \centering
     \begin{subfigure}[b]{0.3\textwidth}
         \centering
         \includegraphics[width=\textwidth]{graph1}
         \caption{$y=x$}
         \label{fig:y equals x}
     \end{subfigure}
     \hfill
     \begin{subfigure}[b]{0.3\textwidth}
         \centering
         \includegraphics[width=\textwidth]{graph2}
         \caption{$y=3sinx$}
         \label{fig:three sin x}
     \end{subfigure}
     \hfill
     \begin{subfigure}[b]{0.3\textwidth}
         \centering
         \includegraphics[width=\textwidth]{graph3}
         \caption{$y=5/x$}
         \label{fig:five over x}
     \end{subfigure}
        \caption{Three simple graphs}
        \label{fig:three graphs}
\end{figure}

 

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值