LaTex简单入门使用

推荐比较好的几个网站:

  1. 如何实现MathType公式转换LaTeX代码:
  2. 图片里的公式转换LaTeX代码
  3. 表格转换LaTeX代码

自己用过的模板:

公式、图片、表格、算法在代码中没有给例子,但相应的宏包都写好了

\RequirePackage{fix-cm}
\documentclass[smallextended]{svjour3}%论文模板,根据自己的期刊找自己的模板,
\smartqed
\usepackage{graphicx,amsmath}
\usepackage{subfigure}
\usepackage{caption}
\usepackage{slashbox}
\usepackage{makecell}
%\usepackage[a4paper,left=3cm,right=3cm]{geometry}%页面布局
\usepackage{indentfirst}%段落缩进
\usepackage[lined,boxed,ruled]{algorithm2e}%伪代码
\usepackage[bookmarks=true,colorlinks,linkcolor=black]{hyperref}%输出的PDF带书签
\usepackage[numbers]{natbib}%参考文献标号

\graphicspath{{./FIG/}}%论文需要的所有图片都放在FIG文件夹下

\begin{document}%文章从这开始
\title{your title}%标题
\author{First Author \and Second Author}%作者
\institute{F. Author \at
              first address \\
              Tel.: +123-45-678910\\
              Fax: +123-45-678910\\
              \email{fauthor@example.com}
              }%作者信息
\maketitle

\begin{abstract}%摘要&关键词
You can write your own abstract here.
\keywords{First keyword \and Second keyword \and More}
\end{abstract}

\section{Introduction}
\label{sec:1}%标签
You can write your own introduction here.

\section{Related work}
\label{sec:2}
You can write your own related work here.

\section{***}%一级标题
\label{sec:3}
You can write your own text here.
\subsection{***}%二级标题
\label{sec:3.1}
You can write your own text here.
\subsubsection{***}%三级标题
\label{sec:3.1.1}
You can write your own text here.

\bibliographystyle{spbasic}%参考文献,具体根据自己的期刊模板
\bibliography{ref}%把自己的参考文献都整理到ref.bib文件中
\end{document}

运行生成的PDF:

生成的PDF

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值