我的Latex中文报告模板
哈哈?
終于有了自己latex的匯報模板了。以后匯報都用這個了
\documentclass{article}
\usepackage{latexsym}
\usepackage{graphicx}
\usepackage{CJK,CJKnumb,CJKulem} ? ? ? ? % 中文支持宏包
\usepackage{amsmath} ? ?%數(shù)學(xué)公式包
\usepackage{xcolor}
%%%%%% 設(shè)置字號 %%%%%%
\newcommand{\chuhao}{\fontsize{42pt}{\baselineskip}\selectfont}
\newcommand{\xiaochuhao}{\fontsize{36pt}{\baselineskip}\selectfont}
\newcommand{\yihao}{\fontsize{28pt}{\baselineskip}\selectfont}
\newcommand{\erhao}{\fontsize{21pt}{\baselineskip}\selectfont}
\newcommand{\xiaoerhao}{\fontsize{18pt}{\baselineskip}\selectfont}
\newcommand{\sanhao}{\fontsize{15.75pt}{\baselineskip}\selectfont}
\newcommand{\sihao}{\fontsize{14pt}{\baselineskip}\selectfont}
\newcommand{\xiaosihao}{\fontsize{12pt}{\baselineskip}\selectfont}
\newcommand{\wuhao}{\fontsize{10.5pt}{\baselineskip}\selectfont}
\newcommand{\xiaowuhao}{\fontsize{9pt}{\baselineskip}\selectfont}
\newcommand{\liuhao}{\fontsize{7.875pt}{\baselineskip}\selectfont}
\newcommand{\qihao}{\fontsize{5.25pt}{\baselineskip}\selectfont}
%%%% 設(shè)置 section 屬性 %%%%
\makeatletter
\renewcommand\section{\@startsection{section}{1}{\z@}%
{-1.5ex \@plus -.5ex \@minus -.2ex}%
{.5ex \@plus .1ex}%
{\normalfont\sihao\CJKfamily{hei}}}
\makeatother
%%%% 設(shè)置 subsection 屬性 %%%%
\makeatletter
\renewcommand\subsection{\@startsection{subsection}{1}{\z@}%
{-1.25ex \@plus -.5ex \@minus -.2ex}%
{.4ex \@plus .1ex}%
{\normalfont\xiaosihao\CJKfamily{hei}}}
\makeatother
%%%% 設(shè)置 subsubsection 屬性 %%%%
\makeatletter
\renewcommand\subsubsection{\@startsection{subsubsection}{1}{\z@}%
{-1ex \@plus -.5ex \@minus -.2ex}%
{.3ex \@plus .1ex}%
{\normalfont\xiaosihao\CJKfamily{hei}}}
\makeatother
%%%% 段落首行縮進兩個字 %%%%
\makeatletter
\let\@afterindentfalse\@afterindenttrue
\@afterindenttrue
\makeatother
\setlength{\parindent}{2em} ?%中文縮進兩個漢字位
%%%% 下面的命令重定義頁面邊距,使其符合中文刊物習(xí)慣 %%%%
\addtolength{\topmargin}{-54pt}
\setlength{\oddsidemargin}{0.63cm} ?% 3.17cm - 1 inch
\setlength{\evensidemargin}{\oddsidemargin}
\setlength{\textwidth}{14.66cm}
\setlength{\textheight}{24.00cm} ? ?% 24.62
%%%% 下面的命令設(shè)置行間距與段落間距 %%%%
\linespread{1.4}
% \setlength{\parskip}{1ex}
\setlength{\parskip}{0.5\baselineskip}
\begin{document}
\begin{CJK*}{GBK}{song}
%%%% 定理類環(huán)境的定義 %%%%
\newtheorem{example}{例} ? ? ? ? ? ? % 整體編號
\newtheorem{algorithm}{算法}
\newtheorem{theorem}{定理}[section] ?% 按 section 編號
\newtheorem{definition}{定義}
\newtheorem{axiom}{公理}
\newtheorem{property}{性質(zhì)}
\newtheorem{proposition}{命題}
\newtheorem{lemma}{引理}
\newtheorem{corollary}{推論}
\newtheorem{remark}{注解}
\newtheorem{condition}{條件}
\newtheorem{conclusion}{結(jié)論}
\newtheorem{assumption}{假設(shè)}
%%%% 重定義 %%%%
\renewcommand{\contentsname}{目錄} ?% 將Contents改為目錄
\renewcommand{\abstractname}{摘要} ?% 將Abstract改為摘要
\renewcommand{\refname}{參考文獻} ? % 將References改為參考文獻
\renewcommand{\indexname}{索引}
\renewcommand{\figurename}{圖}
\renewcommand{\tablename}{表}
\renewcommand{\appendixname}{附錄}
\renewcommand{\algorithm}{算法}
\renewcommand{\today}{\number\year 年 \number\month 月 \number\day 日} ?%本人測試成功
%%%% 定義標(biāo)題格式,包括title,author,affiliation,email等 %%%%
\title{隱馬爾可夫模型(HMM)\\讀書筆記}
\author{王浩宇\footnote{電子郵件: wanghaoyu0.0@gmail.com,學(xué)號: S1507113}\\[2ex]
\xiaosihao 中北大學(xué)\\[2ex]
}
\maketitle
\tableofcontents
\newpage
{\Large
\textbf\newline{
隱馬爾可夫模型(HMM)個人理解}
}\newline\\
\section{\refname}
\end{CJK*} ? ? % 結(jié)束中文環(huán)境
\end{document}
總結(jié)
以上是生活随笔為你收集整理的我的Latex中文报告模板的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 一段H264数据的分析
- 下一篇: 201521123023《Java程序设