LateX使用心得

编程入门 行业动态 更新时间:2024-10-28 08:29:04

使用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}
效果图:

更多推荐

LateX使用心得

本文发布于:2023-06-14 09:48:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1462561.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:使用心得   LateX

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!