latex 语法学习笔记1

overleaf 使用

overleaf 左下角为文章结构
在这里插入图片描述

方便快速定位到tex代码文件的位置

图片的插入与引用

插入

\begin{figure}[t]
	\centering
	\includegraphics[scale=0.25]{intro.png}
	\caption{描述}
	\label{pic-label}
	\vspace{-0.4cm}
\end{figure}

\centering 放置位置剧中
\includegraphics[scale=0.25]{intro.png} 图片名称(同一目录下)及大小
\caption{描述}图片下方的描述
\label{pic-label}图片的引用

引用

Fig. \ref{pic-label}

此处的pic-label 即为图片插入时的图片引用

文献的插入与引用

首先bib文件中加入此格式的代码

@article{cosio2004autonomous,
  title={Autonomous robot navigation using adaptive potential fields},
  author={Cos{\'\i}o, F Arambula and Casta{\~n}eda, MA Padilla},
  journal={Mathematical and Computer Modelling},
  volume={40},
  number={9-10},
  pages={1141--1156},
  year={2004}
}

在tex文件中加入对bib文件和bst文献的支持

\bibliographystyle{IEEEtranS} 
\bibliography{IEEEexample}

最后在tex文件中引用该文献, 此处引用label为 cosio2004autonomous

~\cite{cosio2004autonomous}
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值