1. 程式人生 > >我的Latex中文報告模板

我的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}{\

[email protected]}%
{-1.5ex \@plus -.5ex \@minus -.2ex}%
{.5ex \@plus .1ex}%
{\normalfont\sihao\CJKfamily{hei}}}
\makeatother


%%%% 設定 subsection 屬性 %%%%
\makeatletter
\renewcommand\subsection{\@startsection{subsection}{1}{\[email protected]}%
{-1.25ex \@plus -.5ex \@minus -.2ex}%
{.4ex \@plus .1ex}%
{\normalfont\xiaosihao\CJKfamily{hei}}}
\makeatother


%%%% 設定 subsubsection 屬性 %%%%
\makeatletter
\renewcommand\subsubsection{\@startsection{subsubsection}{1}{\
[email protected]
}%
{-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{電子郵件:
[email protected]
,學號: S1507113}\\[2ex]
\xiaosihao 中北大學\\[2ex]
}
\maketitle
\tableofcontents
\newpage




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


\section{\refname}








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

相關推薦

Latex中文報告模板

哈哈  終於有了自己latex的彙報模板了。以後彙報都用這個了 \documentclass{article} \usepackage{latexsym} \usepackage{graphicx} \usepackage{CJK,CJKnumb,CJKulem}    

的Xelatex 中文報告模板

下面貼一個我常用的xelatex 排版中文簡短報告的模板: 功能 支援以下效果: 各級標題採用MS word 效果 美化程式碼插入(程式碼檔名,邊框,行號) 支援MATLAB程式碼高亮 支援使用基本字型(楷體,宋體,黑體) 中文自動斷行 首行縮排兩個

LATEX中文簡歷模板製作

每到求職季,一份高大上的簡歷非常重要,相信大部分的同學還在使用word製作簡歷,當然一份精心製作的word簡歷也是非常優秀的.在這裡我們採用強大的latex編輯器進行簡歷排版,網上很多的Latex簡歷採用的是moderncv巨集包進行製作,但是因為modernc

Latex中文簡歷模板

今天用Latex排版了一箇中文的簡歷,感覺還行 採用的是moderncv的模板,所以需要 moderncv.cls檔案(自己搜尋一下吧),並且用Xelatex編譯. 另有一個小問題不知如何修改,就是“基本資訊”的上面有一行空白。 後來經常有人告訴我,新版的CTEX編譯通

最喜歡的模板jade(pug)學習和使用

font lock erro des 個性 ted -o org index 由於版權問題,現已改名pug.但無須擔心,幾乎沒什麽區別.就算依然使用jade也不會有太大影響. 慢慢遷移過渡即可 # 官網 https://pugjs.org # github https:

python - HTMLTestRunner 測試報告模板設置

sting -a back copy mixin rbo not http tde python - HTMLTestRunner 測試報告模板設置 優化模板下載地址: http://download.csdn.net/download/chinayyj2010/100

【轉】性能測試報告模板 V1.0

行程 3.1 進程 壓力測試 分析 每一個 觀測 試用 資源 1. 測試項目概述與測試目的 1.1 項目概述   本部分主要是針對即將進行壓力測試的對象(接口、模塊、進程或系統)進行概要的說明,讓人明白該測試對象的主要功能與作用及相關背景。 1.2 測試目標   簡要列出進

python 報告模板生成筆記一

python 報告模板生成筆記一unittest HTMLTestRunner HTMLTestRunner time (unittest.TestCase): (): () (): () (): () ()

性能測試報告模板QQ群 522720170

性能測試模板 小強測試品牌 測試幫日記 點擊鏈接加入QQ群 522720170(免費公開課、視頻應有盡有):https://jq.qq.com/?_wv=1027&k=5C08ATe1. 測試概要1.1. 系統簡介簡述本項目的背景介紹 針對迎接2008奧運,對用戶新開發的帶有200

性能測試 案例+報告 模板

指標 結果 情況 body 時間 改進 並發用戶 以及 nbsp 1. 性能測試案例 案例名稱 測試步驟 描述 預期結果 性能測試-登錄(身份驗證) 步驟1 計算性能測試

測試用例模板+缺陷報告模板

等價類劃分 驗收 size open 實施 標題 項目 修復 嚴重 測試用例模板   用例編號,模塊名,優先級,測試標題,預置條件,步驟描述,測試數據,預期結果,測試結果,版本號,測試人員 缺陷報告模板   bugID,模塊名,嚴重程度,優先級,bug類型,bug標題,前置

LaTex中文編譯(無需特殊編輯器)

LaTex中文編譯(無需特殊編輯器) 本文記錄了用Latex編寫中文文件的方法,非常簡單。更新於2018.10.18。 \documentclass[UTF8]{article} \usepackage{CTEX} \begin{document} ... \end{docume

在Ubuntu下使用visual studio code 使用LaTeX,中文支援的配置教程

Latex的排版總是很好,用習慣了之後還是很喜歡的,現在就總結網上的教程結合自己的實驗,來介紹如何配置Ubuntu下的visual studio code的latex中文支援環境. 首先,我們在命令視窗下安裝一些東西.下面這0部分的內容來自Ubuntu下Latex安裝及中文配置 0 安裝La

所理解的模板方法模式

一個 模板方法 通過 echo lasso bstr fun opera concrete 定義 在父類中定義處理流程的框架,在子類中實現具體處理的模式就稱為模板方法模式 參與角色 抽象類(AbstractClass) 抽象類不僅負責實現模板方法,還負責聲明在模板方法中所

如何在linux下配置完整的latex中文支援

首先,安裝TexLive。如果系統版本太舊不能用軟體包管理器安裝或升級,請之TexLive網站下載最新的texlive光碟映象安裝。(比如從科大映象ftp://mirrors.ustc.edu.cn/CTAN/systems/texlive/Images/下載)。手動安裝的TexLive(預設裝在/

Appium+python HTML測試報告(2)——一份報告模板

轉載自部落格園作者Findyou,https://www.cnblogs.com/findyou/p/6925733.html [專案地址] https://github.com/findyou/HTMLTestRunnerCN/tree/dev   適用於python3: 下載地

ubuntu16.04配置Latex+中文字型

Latex安裝 先前通過apt的方式裝過texlive包(sudo apt-get install texlive-full)。此次通過查閱texlive的官網,重新選擇了安裝方式,具體是下載並使用官方提供的一個安裝器(install-tl,內含安裝的主指令碼和相關配置檔案)。在安裝

介面測試用例和報告模板

一、介面用例模板 提到測試用例,我們知道,其中最重要的兩個要素就是: 測試步驟 預期結果  其實對於介面測試也同樣如此,介面測試的步驟中,最重要的是將實現向介面傳送預設請求,結果則要關注響應資訊及後續處理。 所以介面測試用例編排可以考慮下列兩種形式:  

的高精度模板

高中學的是vector<int>實現的高精度,很不好寫。今天學習了字串陣列實現的高精度,直接用陣列下標作為位移量,感覺比較自然。就拿它作為今後的模板了。該模板主要來自於大佬https://blog.csdn.net/u013615904/article/details/43373601,

latex 中文標籤亂碼(winedt 8.1)

1.安裝gbk2uni  參照: http://jingyan.baidu.com/article/48206aeadf2b4c216bd6b372.html 2.照做,發現“cannot run” 後來,還是得在..\WinEdt\Bin 新增 .bat和 .exe.