入门学习使用overleaf和latex
1.下载对应的latex论文模板1.1以Transactions on Cybernetics为例
https://i-blog.csdnimg.cn/direct/36ac5de7fc7d4d529fc1a8c803b9b595.png
https://i-blog.csdnimg.cn/direct/8c208936352f42eea38eb26f63a2bd6b.png
https://i-blog.csdnimg.cn/direct/45a67c85081b492ca2ad77f4f2d5ec16.png
https://i-blog.csdnimg.cn/direct/09c4f3652e1445e39b409210b39fe0bb.png
https://i-blog.csdnimg.cn/direct/31241c0637e749f9b2dbcb462d42da89.png
至于其他论文的模板,可以去对应的官网搜刮下载,但是一定要是latex格式的
2.overleaf平台的使用
2.1overleaf平台的先容
一个可以对latex格式的论文举行在线文字编辑的网站,方便快捷
overleaf官网点这里
2.2overleaf平台模板文件的上传
2.2.1上传模板文件
https://i-blog.csdnimg.cn/direct/872dd06c22d64dfca2cfe93b9de7240e.png
https://i-blog.csdnimg.cn/direct/364a3a8f69a64e64b05647391eff626a.png
最后上传成功表现如下界面即可
https://i-blog.csdnimg.cn/direct/227d7d9b0653461c98b4cc1e7a7b0f6e.png
2.3latex语法的学习
#####2.3.1以tex结尾的文件就是我们现在打开的文件
https://i-blog.csdnimg.cn/direct/d637543ab91f44799406e180d0af0c5a.png
2.3.2 分段(如下图表现)
https://i-blog.csdnimg.cn/direct/d0103da01c1b4f4f87b060b325e0abd9.png
2.3.3 其他
\section{内容}表现罗马数字的分段,好比I IV如许的大段落
\subsection{内容}表现大段落下的子部分A/B
公式的誊写:访问网站公式编辑网站写好后复制到论文即可
\begin{equation} ----\end{equation}
表格的誊写:访问网站在线表格编辑写好好复制到论文即可
图片的插入: 论文中以\begin{figure} \end{figure}为起始和结束
2.3.4简单latex实操
\documentclass{article}
\title{First documeent}
\author{keke cs}
\date{\today}
\begin{document}
\maketitle
\begin{abstract}
This is a simple paragraph at the beginning of the document. A brief introdution to the main subject
\end{abstract}
\section{Introduction}
Introduction Introduction IntroductionIntroduction Introduction Introduction
\section{Method}
Method Method Method Method Method Method Method Method Method
\subsection{Method1}
Method1 Method1 Method1 Method1 Method1 Method1 Method1
\section{Experiment}
ExperimentExperiment Experiment Experiment Experiment
\end{document}
结果表现如下图右侧,表现如何起标题,如何分段落以及小段落
https://i-blog.csdnimg.cn/direct/a14d808b5b1a436499e39a0327546ad7.png
2.3.5 换行符和换页符
换行符:
空行 \par 下一个段落主动首行缩进
\ \newline \hfill\break 下一个段落不会首行缩进
分页符
\newpage :下一个段落主动分配到下一页
https://i-blog.csdnimg.cn/direct/f7c3b1d3455c4afba8e40cda257915f5.png
2.3.6左右居中对齐
\begin{center}
\end{center}
\begin{flushleft}
\end{flushleft}
\begin{flushright}
\end{flushright}
https://i-blog.csdnimg.cn/direct/0a5e4a269996452aa9a33fb1523ef33a.png
2.3.7 字体设置
见下图左侧和右侧的对应关系,设置字体的大小
https://i-blog.csdnimg.cn/direct/a05e10765fa24eda965ffb034b8f7990.png
2.3.8插入固定位置图片
https://i-blog.csdnimg.cn/direct/7c0f54488d3f435aae511b9938ff2a02.png
\documentclass{article}
\usepackage{graphicx} # 导入使用图表的包
\usepackage{adjustbox}
\graphicspath{ {./images/} }
\begin{document}
As the sun began to dip below the horizon, casting long shadows across the rolling hills, the sky transformed into a breathtaking canvas of vibrant oranges, deep purples, and soft pinks, while a gentle breeze whispered through the trees, carrying the faint scent of blooming flowers and the promise of a peaceful evening.
\includegraphics{fig1.png}
There's a picture of a galaxy above
\includegraphics{fig1.png}
\includegraphics{fig1.png}
\begin{center}
\includegraphics{fig1.png}
\end{center}
\includegraphics{fig1} # 这里使用必须导入\usepackage{adjustbox}
\includegraphics{fig1}
\includegraphics{fig1}
\end{document}
2.3.9文字困绕图片
https://i-blog.csdnimg.cn/direct/9671aa6dc06d4cf092b9eae7704dd929.png
\begin{wrapfigure}{r}{0.25\textwidth}
\includegraphics{fig1.png}
\end{wrapfigure}
2.3.10图片加标题和图片引用
https://i-blog.csdnimg.cn/direct/68de1effb377444288412067c65a4df3.png
https://i-blog.csdnimg.cn/direct/be9c3c09d62044858f654b99b1bcb3ee.png
2.3.11插入表格
表现效果图
https://i-blog.csdnimg.cn/direct/39a6d3c258ce45abbf6622f6fdd17150.png
代码实现
\documentclass{article}
\usepackage{array}
\usepackage{multirow}
\begin{document}
\begin{center}
\begin{tabular}{c c c}
cell1 & cell2 & cell3\\
cell4 & cell5 & cell6\\
cell7 & cell8 & cell9\\
\end{tabular}
\end{center}
\begin{center}
\begin{tabular}{|c | c | c |}
\hline
cell1 & cell2 & cell3\\
cell4 & cell5 & cell6\\
cell7 & cell8 & cell9\\
\hline
\end{tabular}
\end{center}\
\begin{center}
\begin{tabular}{||c | c | c ||}
\hline
cell1 & cell2 & cell3\\
cell4 & cell5 & cell6\\
cell7 & cell8 & cell9\\
\hline
\end{tabular}
\end{center}
\begin{center}
\begin{tabular}{| m{3cm} | m{1cm} | m{1cm} <{\centering} |}
\hline
cell1 & cell2 & cell3\\
cell4 & cell5 & cell6\\
cell7 & cell8 & cell9\\
\hline
\end{tabular}
\end{center}
\begin{center}
\begin{tabular}{| m{3cm} | m{3cm} | m{3cm} |}
\hline
\multicolumn{2}{|c|}{Country List} & s\\
\hline
cell1 & cell2 & cell3\\
cell4 & cell5 & cell6\\
cell7 & cell8 & cell9\\
\hline
\end{tabular}
\end{center}
\begin{center}
\begin{tabular}{|c | c | c |}
\hline
col1 & col2 & col3 \\
\hline
\multirow{3}{2cm}{Mutiply row}
& cell2 & cell3\\
& cell5 & cell6\\
& cell8 & cell9\\
\hline
\end{tabular}
\end{center}
\end{document}
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]