LateX使用心得

1 篇文章 0 订阅
1 篇文章 0 订阅

使用overleaf对论文进行排版:

1.首页添加页脚:

在\maketitle后添加:(显示为不加任何标记的页脚)
\newcommand\blfootnote[1]{%
\begingroup
\renewcommand\thefootnote{}\footnote{#1}%
\addtocounter{footnote}{-1}%
\endgroup
}
\blfootnote{\#indicates equal contributions\
**indicates corresponding author}
\footrule

效果:
在这里插入图片描述
注意:*前加*才能显示出来,#前加\才能正常显示

2.段前添加·(点)

\begin{itemize}
\item XXXXX
\item XXXXXXX
\end{itemize}

3.字体加粗:

\textbf{Hello} world
效果:
在这里插入图片描述

4.公式:

句中用: $ x_{n}^{i} $
在这里插入图片描述
单独一行用:
\begin{equation}
x_{n}^{i}
\end{equation}

两行:
\begin{equation}
f(x)=\left{
\begin{array}{cc}
0.5x^{2}\quad& x<1 \
|x|-0.5\quad&otherwise
\end{array}
\right
\end{equation}
效果:
在这里插入图片描述

5.表格:

三线表:
\begin{table}
\caption{Name of table}
\begin{center}
{\begin{tabular}{cc}

\hline
input & output \
\hline
1 & 3 \
2 & 4\
\hline
\end{tabular}
\end{center}
\tabnote{This is note of the table. }
\end{table}

效果:
在这里插入图片描述

6.图片:

单张图:
\begin{figure}
\centering
\includegraphics[width=\textwidth]{pic1.png}
\caption{This is picture caption}
\label{fig:my_label}
\end{figure}
效果:
在这里插入图片描述
多张图:
\begin{figure}[ht]
\centering
\begin{subfigure}[t]{0.22\textwidth}
\centering
\includegraphics[width=1\textwidth]{fig1.png}
\subcaption{(1)}
\end{subfigure}
\quad
\begin{subfigure}[t]{0.22\textwidth}
\centering
\includegraphics[width=1\textwidth]{fig2.png}
\subcaption{(2)}
\end{subfigure}
\quad
\begin{subfigure}[t]{0.22\textwidth}
\centering
\includegraphics[width=1\textwidth]{fig3.png}
\subcaption{(3)}
\end{subfigure}
\end{figure}
效果图:
在这里插入图片描述

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值