300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > Latex 写论文排版方法(vscode)

Latex 写论文排版方法(vscode)

时间:2022-06-30 03:15:21

相关推荐

Latex 写论文排版方法(vscode)

目录

1. Latex 基本概念2. 文本2.1 文本环境与数学格式2.2 latex特殊符号2.3 带缩进的小黑点3. 公式3.1 插入3.2 引用4. 表格4.1 插入4.2 引用5. 图片5.1 插入5.2 引用6. 文献引用

1. Latex 基本概念

LATEX 源代码以一个 \documentclass 命令作为开头,它指定了文档使用的文档类。document 环境当中的内容是文档正文。

在 \documentclass 和 \begin{document} 之间的位置称为导言区。在导言区中常会使用

\usepackage 命令调用宏包,还会进行文档的全局设置。

\documentclass{...} % ... 为某文档类% 导言区\begin{document}% 正文内容\end{document}% 此后内容会被忽略

\documentclass[⟨options⟩]{⟨class-name⟩},其中 ⟨class-name⟩ 为文档类的名称,如 LATEX 提供的 article, report, book,在其基础上派

生的一些文档类如支持中文排版的 ctexart / ctexrep / ctexbook,或者有其它功能的一些文档类,

如 moderncv / beamer 等。LATEX 提供的基础文档类见表 1.1,其中前三个习惯上称为“标准文

档类”。

可选参数 ⟨options⟩ 为文档类指定选项,以全局地规定一些排版的参数,如字号、纸张大小、单双面等等。比如调用 article 文档类排版文章,指定纸张为 A4 大小,基本字号为 11pt,双面排版:\documentclass[11pt,twoside,a4paper]{article}

2. 文本

2.1 文本环境与数学格式

在正文中latex 中的文字为文本环境,如果想插入数学符号或公式需要转换成数学格式。通常用$.....$[行内]$$.....$$[行间]如果有 % 需要在前加 \ 即\%

2.2 latex特殊符号

2.3 带缩进的小黑点

\begin{itemize}\item[$\bullet$] We present..\item[$\bullet$] We...\item[$\bullet$] We ...\end{itemize}

3. 公式

3.1 插入

在公式部分可借助网站latex公式在线编辑器

网站可以直接编写公式,也可以识别图片

3.2 引用

定义实例公式如下:

\begin{equation} \label{test} x^2 + y^2 = z^2\end{equation}

引用格式:\ref{test}

As Eq. ( \ref{test} ) shows, ....

4. 表格

4.1 插入

在公式部分可借助网站 和 https://www.latex-/

网站可以直接画出相应表格,也可以识别图片

4.2 引用

定义实例表格如下:

\begin{table}\caption{Recall performance on CVUSA.}\label{tab1}\vspace{-1em} % 调整与上文的间距\centering\begin{tabular}{lllll} \toprule\textbf{Methods} & \textbf{r@1} & \textbf{r@5} & \textbf{r@10} & \textbf{r@1\%} \\ \midruleWorkman \textit{et al}.\cite{12} & - & - & - & 34.3 \\Zhai \textit{et al}. \cite{4} & - & - & - & 43.2 \\Vo and Hays\cite{17} & - & - & - & 63.7 \\CVM-NET\cite{18} & 22.47& 49.98& 63.18& 93.62 \\Liu \& Li\cite{5}& 40.79& 66.82& 76.36& 96.12 \\Regmi and Shah\cite{24}& 48.75& - & 81.27& 95.98 \\Siam-FCANet34\cite{25} & - & - & - & 98.30 \\CVFT \cite{3}& 61.43& 84.69& 90.49& 99.02 \\\bottomrule\end{tabular}\vspace{-1em} % 调整与下文的间距\end{table}

引用格式:\ref{tab1}

As seen in Table \ref{tab1}, the second baseline has the worst recall

5. 图片

5.1 插入

5.2 引用

定义实例图片如下:

\begin{figure}\vspace{-1em}\centering\includegraphics[width=\textwidth]{fig1.pdf}\caption{Architecture of our framework. This framework contains three fundamental components...} \vspace{-1em}\label{fig1}\end{figure}

引用格式:~\ref{fig1}

As shown in Fig.~\ref{fig1}, the process...

6. 文献引用

在项目文件目录下创建一个bibtex.bib文件,在这里将文章所用到的参考文献的bibtex 导入,具体可在谷歌学术中找到对应文献的引用格式。建立参考文献数据库,引用的时候调用所需要的参考文献。

@inproceedings{1,title={Where am i looking at? joint location and orientation estimation by cross-view matching},author={Shi, Yujiao and Yu, Xin and Campbell, Dylan and Li, Hongdong},booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},pages={4064--4072},year={}}@article{2,title={Cross-view image synthesis using geometry-guided conditional gans},author={Regmi, Krishna and Borji, Ali},journal={Computer Vision and Image Understanding},volume={187},pages={102788},year={},publisher={Elsevier}}@inproceedings{3,title={Optimal feature transport for cross-view image geo-localization},author={Shi, Yujiao and Yu, Xin and Liu, Liu and Zhang, Tong and Li, Hongdong},booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},volume={34},number={07},pages={11990--11997},year={}}@inproceedings{4,title={Predicting ground-level scene layout from aerial imagery},author={Zhai, Menghua and Bessinger, Zachary and Workman, Scott and Jacobs, Nathan},booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},pages={867--875},year={}}@inproceedings{5,title={Lending orientation to neural networks for cross-view geo-localization},author={Liu, Liu and Li, Hongdong},booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},pages={5624--5633},year={}}@inproceedings{6,title={Vehicle ego-localization by matching in-vehicle camera images to an aerial image},author={Noda, Masafumi and Takahashi, Tomokazu and Deguchi, Daisuke and Ide, Ichiro and Murase, Hiroshi and Kojima, Yoshiko and Naito, Takashi},booktitle={Asian Conference on Computer Vision},pages={163--173},year={},organization={Springer}}

引用格式:\cite{X}

{X},X 为bibtex.bib文件 中的label, 例如可用\cite{3}

待补充

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。