引言
最近在写论文,用到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}
注释
-
% 注释,如果想显示%,则 %
-
Document Class 文件类型
Predefined Formats(article, report, book)
-
\footnode{下角标注释}
-
\newpage
-
表格
\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} &