日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

我的Latex中文报告模板

發布時間:2023/12/10 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 我的Latex中文报告模板 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

哈哈?

終于有了自己latex的匯報模板了。以后匯報都用這個了


\documentclass{article}
\usepackage{latexsym}
\usepackage{graphicx}
\usepackage{CJK,CJKnumb,CJKulem} ? ? ? ? % 中文支持宏包
\usepackage{amsmath} ? ?%數學公式包
\usepackage{xcolor}


%%%%%% 設置字號 %%%%%%
\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}
%%%% 設置 section 屬性 %%%%
\makeatletter
\renewcommand\section{\@startsection{section}{1}{\z@}%
{-1.5ex \@plus -.5ex \@minus -.2ex}%
{.5ex \@plus .1ex}%
{\normalfont\sihao\CJKfamily{hei}}}
\makeatother


%%%% 設置 subsection 屬性 %%%%
\makeatletter
\renewcommand\subsection{\@startsection{subsection}{1}{\z@}%
{-1.25ex \@plus -.5ex \@minus -.2ex}%
{.4ex \@plus .1ex}%
{\normalfont\xiaosihao\CJKfamily{hei}}}
\makeatother


%%%% 設置 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} ?%中文縮進兩個漢字位




%%%% 下面的命令重定義頁面邊距,使其符合中文刊物習慣 %%%%
\addtolength{\topmargin}{-54pt}
\setlength{\oddsidemargin}{0.63cm} ?% 3.17cm - 1 inch
\setlength{\evensidemargin}{\oddsidemargin}
\setlength{\textwidth}{14.66cm}
\setlength{\textheight}{24.00cm} ? ?% 24.62


%%%% 下面的命令設置行間距與段落間距 %%%%
\linespread{1.4}
% \setlength{\parskip}{1ex}
\setlength{\parskip}{0.5\baselineskip}


\begin{document}
\begin{CJK*}{GBK}{song}


%%%% 定理類環境的定義 %%%%
\newtheorem{example}{例} ? ? ? ? ? ? % 整體編號
\newtheorem{algorithm}{算法}
\newtheorem{theorem}{定理}[section] ?% 按 section 編號
\newtheorem{definition}{定義}
\newtheorem{axiom}{公理}
\newtheorem{property}{性質}
\newtheorem{proposition}{命題}
\newtheorem{lemma}{引理}
\newtheorem{corollary}{推論}
\newtheorem{remark}{注解}
\newtheorem{condition}{條件}
\newtheorem{conclusion}{結論}
\newtheorem{assumption}{假設}




%%%% 重定義 %%%%
\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 日} ?%本人測試成功
%%%% 定義標題格式,包括title,author,affiliation,email等 %%%%
\title{隱馬爾可夫模型(HMM)\\讀書筆記}
\author{王浩宇\footnote{電子郵件: wanghaoyu0.0@gmail.com,學號: S1507113}\\[2ex]
\xiaosihao 中北大學\\[2ex]
}
\maketitle
\tableofcontents
\newpage




{\Large
\textbf\newline{
隱馬爾可夫模型(HMM)個人理解}
}\newline\\


\section{\refname}








\end{CJK*} ? ? % 結束中文環境
\end{document}

總結

以上是生活随笔為你收集整理的我的Latex中文报告模板的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。