Latex入门教程

引言

最近在写论文,用到latex进行编写,latex真是编辑神器,科研工作者 必备啊,在这向唐纳德克努斯先生致敬。当年先生写《计算机程序设计的艺术》,感觉这排版工具用得太不爽了,就手撸一把,Tex就被撸出来了,而且版本号为数字PI的截断表示,听着更牛掰的是悬赏bug, 指数级悬赏bug,还带签名哦。

环境搭建

安装采用[CTEX]http://www.ctex.org/CTeXDownload 或者其他版本的都行,编辑采用Sublime Text 3, 同时安装Markdown Preview、MarkdownEditing、MarkdownHightlighting等插件,让我编辑Markdown的过程中感觉很舒适。

Latex简介

\documentclass[12pt]{article} %声明要使用的类型为article,或者book
\usepackage{xxxx}
\begin{chinesetitle}
\title{Latex入门}
\author{cwlseu}
\date{}
\end{chinesetitle}
\begin{document}
	\maketitle
	\begin{abstract}
This is abstract
\end{abstract}
\section{Introduction}
	\subsection{Research In China}
	\subsection{Research In American}
\section{Method}
	\subsection{Assumption}
	\subsection{Deductive}
	\subsection{Objective}
\section{Experience}
	\subsection{DataSet}
	\subsection{TrainResult}
	\subsection{xxxx}
\section{Discussion}
	\subsection{No}
\begin{acknowledgement}

\end{acknowledgement}
\begin{Reference}
\end{Reference}
这是Latex册是测试,虽然当前不支持Chinese Charater
\end{document}

注释

  1. % 注释,如果想显示%,则 %

  2. Document Class 文件类型

    Predefined Formats(article, report, book)

  3. \footnode{下角标注释}

  4. \newpage

  5. 表格

\documentclass{article}

\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables for horizontal lines

\begin{document}

\begin{table}
    \centering
    \setlength{\tabcolsep}{4pt}
    \begin{tabular}{rl|ccccccccc}
    \hline
    \hline
    \multicolumn{2}{c|}{Component Name} &\multicolumn{9}{c}{StairsNet321} \\
    \hline
    &Deconvolution& & \ding{51} &
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值