[Overleaf] -带你初识Latex神器.快速上手.更新中...

网站

国外版overleaf

在这里插入图片描述

Overleaf 中文版

在这里插入图片描述

国内版overleaf
这个国内版是作者直接使用overleaf 源码搭建的方便国内用户使用的一个网站(不太推荐使用,目前已有overleaf 中文版,还是比较稳定的,国外版使用过程不太稳定!)
在这里插入图片描述

界面布局

在这里插入图片描述现在有中文版,入门起来会方便很多;

引用部分

引用文件夹是

在这里插入图片描述

引用格式:

引用可以直接在谷歌上搜索,然后在他的引用部分直接复制之后插入到这个文件下
在这里插入图片描述在正文直接用 \cite{引用}

公式

  • 公式方法

    1. \begin{}
      \end{}
      参数使用equation, gather, align
    1. 直接使用 将公式包裹在里面需要使用\tag{}
      eg 这 是 公 式 ( 自 定 义 编 号 ) \mathbf{这是公式} \tag{$自定义编号$} ()
      在这里插入图片描述

数学公式

  • LaTex的几种数学符号字体以及相关说明

\mathrm is the normal upright Roman font

\mathnormal is the normal math italic font: a \mathnormal{a} a and a a a give the same result

\mathcal is the special calligraphic font for uppercase letters only

\mathbf gives upright Roman boldface letters

\mathsf gives upright sans serif letters

\mathit gives text italic letters: d i f f e r e n t ≠ d i f f e r e n t different\ne\mathit{different} different=different

\mathtt gives upright letters from the typewriter type font

  • 公式编号问题解决

% 1 使用$$$$ 写公式 \qual(2)添加编号
% 添加编号使用\tag{ 编 号 编号 }

% 2.使用\begin{equation*} \end{equation*} 应该会自动编号或者指定编号、这里注意equation后面是否带 ∗ * 号,带 ∗ * 号表示自动编号

% 3.使用\tag{ x x xx xx}自定义编号

双栏长公式分行

\setlength{\arraycolsep}{0.0em}
\begin{eqnarray}
插入公式  \nonumber 换行不编号
\label{Eq11}
\end{eqnarray}
\setlength{\arraycolsep}{5pt}


插入图片

  • 插入有序号的多张图片

\begin{figure}[htbp]
\centering

\subfigure[pic1.]{
\begin{minipage}[t]{0.25\linewidth}
\centering
\includegraphics[width=1in]{111.eps}
%\caption{fig1}
\end{minipage}%
}%
\subfigure[pic2.]{
\begin{minipage}[t]{0.25\linewidth}
\centering
\includegraphics[width=1in]{111.eps}
%\caption{fig2}
\end{minipage}%
}%
                 %这个回车键很重要 \quad也可以
\subfigure[pic3.]{
\begin{minipage}[t]{0.25\linewidth}
\centering
\includegraphics[width=1in]{111.eps}
%\caption{fig2}
\end{minipage}
}%
\subfigure[pic4.]{
\begin{minipage}[t]{0.25\linewidth}
\centering
\includegraphics[width=1in]{111.eps}
%\caption{fig2}
\end{minipage}
}%

\centering
\caption{ pics}
\end{figure}

公式部分

  • 若要将图片独占整个文档,需要在\begin{figure} 后面添加一个KaTeX parse error: Undefined control sequence: \* at position 1: \̲*̲ 号,好友如果插入多张图片需要去掉自动编号FIgure ,可以在\caption 后面添加$* $号即可;

  • 对于公式之后另起一段去掉行首空格

\noindent 
  • 对于公式后不要另起一段

由于使用一行来写公式之后习惯多敲几下回车
造成之后的内容自成一段// latex 规定两个回车相当于另起一段
所以不使用上面的方法,就要避免过多的回车;

数学公式把下标置于文本正下方:

wenben\limits_{m}
把下标放在右下角:
wenben_{m}

其他部分

  • 图片是使用 adobe pdf 编辑进行裁剪之后将页面组织保存下来成pdf 之后导入到overleaf 上。
  • 遇到需求直接上网搜索即可

bib

  • bib 参考文献使用方括号 非小括号
    知乎
  • 直接在documentclass[ ]选项中添加natbib选项;comma 表示用逗号进行分隔;
    把\usepackage[suqare]{natbib}删掉。然后把抬头改成
    \documentclass[authoryear,preprint,review,12pt,square,comma]{elsarticle}

Updating…

posted @ 2022-05-02 19:40  jucw  阅读(650)  评论(0编辑  收藏  举报