Commit 2ff6c1c7 by xiaotong

add headers

parent 5127eea5
% !Mode:: "TeX:UTF-8"
% !TEX encoding = UTF-8 Unicode
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% CHAPTER 1 % CHAPTER 1
......
This source diff could not be displayed because it is too large. You can view the blob instead.
% !Mode:: "TeX:UTF-8"
% !TEX encoding = UTF-8 Unicode
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% CHAPTER 3 % CHAPTER 3
......
% !Mode:: "TeX:UTF-8"
% !TEX encoding = UTF-8 Unicode
@article{nagao1984framework, @article{nagao1984framework,
title={A framework of a mechanical translation between Japanese and English by analogy principle}, title={A framework of a mechanical translation between Japanese and English by analogy principle},
author={Nagao, Makoto}, author={Nagao, Makoto},
...@@ -117,7 +120,7 @@ ...@@ -117,7 +120,7 @@
publisher={Elsevier} publisher={Elsevier}
} }
@book{茆诗松2011概率论与数理统计教程, @book{mao-prob-book-2011,
title={概率论与数理统计教程: 第二版}, title={概率论与数理统计教程: 第二版},
author={茆诗松 and 程依明 and 濮晓龙 and 平装 and 查看清 and 单书目}, author={茆诗松 and 程依明 and 濮晓龙 and 平装 and 查看清 and 单书目},
year={2011}, year={2011},
...@@ -153,22 +156,12 @@ ...@@ -153,22 +156,12 @@
publisher={Wiley Online Library} publisher={Wiley Online Library}
} }
@article{brown1990statistical, @book{liuke-markov-2004,
title={A statistical approach to machine translation},
author={Brown, Peter F and Cocke, John and Della Pietra, Stephen A and Della Pietra, Vincent J and Jelinek, Frederick and Lafferty, John and Mercer, Robert L and Roossin, Paul S},
journal={Computational linguistics},
volume={16},
number={2},
pages={79--85},
year={1990}
}
@book{刘克2004实用马尔可夫决策过程,
title={实用马尔可夫决策过程}, title={实用马尔可夫决策过程},
author={刘克}, author={刘克},
volume={3}, volume={3},
year={2004}, year={2004},
publisher={清华大学出版社有限公司} publisher={清华大学出版社}
} }
@book{resnick1992adventures, @book{resnick1992adventures,
...@@ -304,4 +297,4 @@ year={2015} ...@@ -304,4 +297,4 @@ year={2015}
volume={1}, volume={1},
year={1972}, year={1972},
publisher={Prentice-Hall Englewood Cliffs, NJ} publisher={Prentice-Hall Englewood Cliffs, NJ}
} }
\ No newline at end of file
% !Mode:: "TeX:UTF-8"
% !TEX encoding = UTF-8 Unicode
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Legrand Orange Book % The Legrand Orange Book
% LaTeX Template % LaTeX Template
...@@ -15,7 +18,7 @@ ...@@ -15,7 +18,7 @@
% %
% Compiling this template: % Compiling this template:
% This template uses biber for its bibliography and makeindex for its index. % This template uses biber for its bibliography and makeindex for its index.
% When you first open the template, compile it from the command line with the % When you first open the template, compile it from the command line with the
% commands below to make sure your LaTeX distribution is configured correctly: % commands below to make sure your LaTeX distribution is configured correctly:
% %
% 1) pdflatex main % 1) pdflatex main
...@@ -24,7 +27,7 @@ ...@@ -24,7 +27,7 @@
% 4) pdflatex main x 2 % 4) pdflatex main x 2
% %
% After this, when you wish to update the bibliography/index use the appropriate % After this, when you wish to update the bibliography/index use the appropriate
% command above and make sure to compile with pdflatex several times % command above and make sure to compile with pdflatex several times
% afterwards to propagate your changes to the document. % afterwards to propagate your changes to the document.
% %
% This template also uses a number of packages which may need to be % This template also uses a number of packages which may need to be
...@@ -98,8 +101,8 @@ ...@@ -98,8 +101,8 @@
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% CHAPTERS % CHAPTERS
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
%\include{Chapter1/chapter1} \include{Chapter1/chapter1}
%\include{Chapter2/chapter2} \include{Chapter2/chapter2}
\include{Chapter3/chapter3} \include{Chapter3/chapter3}
...@@ -108,6 +111,9 @@ ...@@ -108,6 +111,9 @@
% BIBLIOGRAPHY % BIBLIOGRAPHY
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
%\bibliographystyle{apalike}
%\bibliography{bibliography}
%\chapter*{Bibliography} %\chapter*{Bibliography}
%\addcontentsline{toc}{chapter}{\textcolor{ocre}{Bibliography}} % 增加一个标题 %\addcontentsline{toc}{chapter}{\textcolor{ocre}{Bibliography}} % 增加一个标题
%\printbibliography[heading=bibempty] %\printbibliography[heading=bibempty]
......
% !Mode:: "TeX:UTF-8"
% !TEX encoding = UTF-8 Unicode
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Legrand Orange Book % The Legrand Orange Book
% Structural Definitions File % Structural Definitions File
...@@ -6,7 +9,7 @@ ...@@ -6,7 +9,7 @@
% Original author: % Original author:
% Mathias Legrand (legrand.mathias@gmail.com) with modifications by: % Mathias Legrand (legrand.mathias@gmail.com) with modifications by:
% Vel (vel@latextemplates.com) % Vel (vel@latextemplates.com)
% %
% This file was downloaded from: % This file was downloaded from:
% http://www.LaTeXTemplates.com % http://www.LaTeXTemplates.com
% %
...@@ -72,7 +75,6 @@ ...@@ -72,7 +75,6 @@
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
\usepackage[style=numeric,citestyle=numeric,sorting=nyt,sortcites=true,autopunct=true,babel=hyphen,hyperref=true,abbreviate=false,backref=true,backend=biber]{biblatex} \usepackage[style=numeric,citestyle=numeric,sorting=nyt,sortcites=true,autopunct=true,babel=hyphen,hyperref=true,abbreviate=false,backref=true,backend=biber]{biblatex}
%\bibliography{Biblio-Database.bib}
\addbibresource{bibliography.bib} % BibTeX bibliography file \addbibresource{bibliography.bib} % BibTeX bibliography file
\defbibheading{bibempty}{} \defbibheading{bibempty}{}
...@@ -146,7 +148,7 @@ ...@@ -146,7 +148,7 @@
[0em] % Left indentation [0em] % Left indentation
{\addvspace{15pt}\large\sffamily\bfseries} % Spacing and font options for chapters {\addvspace{15pt}\large\sffamily\bfseries} % Spacing and font options for chapters
{\color{ocre}\contentslabel[\Large\thecontentslabel]{1.25cm}\color{ocre}} % Chapter number {\color{ocre}\contentslabel[\Large\thecontentslabel]{1.25cm}\color{ocre}} % Chapter number
{} {}
{\color{ocre}\normalsize\sffamily\bfseries\;\titlerule*[.5pc]{.}\;\thecontentspage} % Page number {\color{ocre}\normalsize\sffamily\bfseries\;\titlerule*[.5pc]{.}\;\thecontentspage} % Page number
% Section text styling % Section text styling
...@@ -258,7 +260,7 @@ ...@@ -258,7 +260,7 @@
\makeatother \makeatother
% Defines the theorem text style for each type of theorem to one of the three styles above % Defines the theorem text style for each type of theorem to one of the three styles above
\newcounter{dummy} \newcounter{dummy}
\numberwithin{dummy}{section} \numberwithin{dummy}{section}
\theoremstyle{ocrenumbox} \theoremstyle{ocrenumbox}
\newtheorem{theoremeT}[dummy]{Theorem} \newtheorem{theoremeT}[dummy]{Theorem}
...@@ -291,7 +293,7 @@ leftmargin=0cm, ...@@ -291,7 +293,7 @@ leftmargin=0cm,
rightmargin=0cm, rightmargin=0cm,
innerbottommargin=5pt]{tBox} innerbottommargin=5pt]{tBox}
% Exercise box % Exercise box
\newmdenv[skipabove=7pt, \newmdenv[skipabove=7pt,
skipbelow=7pt, skipbelow=7pt,
rightline=false, rightline=false,
...@@ -343,7 +345,7 @@ innerbottommargin=5pt]{cBox} ...@@ -343,7 +345,7 @@ innerbottommargin=5pt]{cBox}
% Creates an environment for each type of theorem and assigns it a theorem text style from the "Theorem Styles" section above and a colored box from above % Creates an environment for each type of theorem and assigns it a theorem text style from the "Theorem Styles" section above and a colored box from above
\newenvironment{theorem}{\begin{tBox}\begin{theoremeT}}{\end{theoremeT}\end{tBox}} \newenvironment{theorem}{\begin{tBox}\begin{theoremeT}}{\end{theoremeT}\end{tBox}}
\newenvironment{exercise}{\begin{eBox}\begin{exerciseT}}{\hfill{\color{ocre}\tiny\ensuremath{\blacksquare}}\end{exerciseT}\end{eBox}} \newenvironment{exercise}{\begin{eBox}\begin{exerciseT}}{\hfill{\color{ocre}\tiny\ensuremath{\blacksquare}}\end{exerciseT}\end{eBox}}
\newenvironment{definition}{\begin{dBox}\begin{definitionT}}{\end{definitionT}\end{dBox}} \newenvironment{definition}{\begin{dBox}\begin{definitionT}}{\end{definitionT}\end{dBox}}
\newenvironment{example}{\begin{exampleT}}{\hfill{\tiny\ensuremath{\blacksquare}}\end{exampleT}} \newenvironment{example}{\begin{exampleT}}{\hfill{\tiny\ensuremath{\blacksquare}}\end{exampleT}}
\newenvironment{corollary}{\begin{cBox}\begin{corollaryT}}{\end{corollaryT}\end{cBox}} \newenvironment{corollary}{\begin{cBox}\begin{corollaryT}}{\end{corollaryT}\end{cBox}}
...@@ -365,7 +367,7 @@ innerbottommargin=5pt]{cBox} ...@@ -365,7 +367,7 @@ innerbottommargin=5pt]{cBox}
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
%调整各级标题的段前段后间距 %调整各级标题的段前段后间距
\makeatletter \makeatletter
\renewcommand{\@seccntformat}[1]{\llap{\textcolor{ocre}{\csname the#1\endcsname}\hspace{1em}}} \renewcommand{\@seccntformat}[1]{\llap{\textcolor{ocre}{\csname the#1\endcsname}\hspace{1em}}}
\renewcommand{\section}{\@startsection{section}{1}{\z@} \renewcommand{\section}{\@startsection{section}{1}{\z@}
{-4ex \@plus -1ex \@minus -.4ex} {-4ex \@plus -1ex \@minus -.4ex}
{1ex \@plus.2ex } {1ex \@plus.2ex }
...@@ -377,7 +379,7 @@ innerbottommargin=5pt]{cBox} ...@@ -377,7 +379,7 @@ innerbottommargin=5pt]{cBox}
\renewcommand{\subsubsection}{\@startsection {subsubsection}{3}{\z@} \renewcommand{\subsubsection}{\@startsection {subsubsection}{3}{\z@}
{-3ex \@plus -0.1ex \@minus -.4ex} {-3ex \@plus -0.1ex \@minus -.4ex}
{.4ex \@plus.2ex } {.4ex \@plus.2ex }
{\normalfont\small\sffamily\bfseries}} {\normalfont\small\sffamily\bfseries}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@} \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}
{-2ex \@plus-.2ex \@minus .2ex} {-2ex \@plus-.2ex \@minus .2ex}
{.1ex} {.1ex}
...@@ -418,7 +420,7 @@ innerbottommargin=5pt]{cBox} ...@@ -418,7 +420,7 @@ innerbottommargin=5pt]{cBox}
\begin{tikzpicture}[remember picture,overlay]% \begin{tikzpicture}[remember picture,overlay]%
\node at (current page.north west){\begin{tikzpicture}[remember picture,overlay]% \node at (current page.north west){\begin{tikzpicture}[remember picture,overlay]%
\fill[ocre!20](0cm,0cm) rectangle (\paperwidth,-\paperheight); \fill[ocre!20](0cm,0cm) rectangle (\paperwidth,-\paperheight);
\node[anchor=north] at (4cm,-3.25cm){\color{ocre!40}\fontsize{220}{100}\sffamily\bfseries\thepart}; \node[anchor=north] at (4cm,-3.25cm){\color{ocre!40}\fontsize{220}{100}\sffamily\bfseries\thepart};
\node[anchor=south east] at (\paperwidth-1cm,-\paperheight+1cm){\parbox[t][][t]{8.5cm}{ \node[anchor=south east] at (\paperwidth-1cm,-\paperheight+1cm){\parbox[t][][t]{8.5cm}{
\printcontents{l}{0}{\setcounter{tocdepth}{1}}% The depth to which the Part mini table of contents displays headings; 0 for chapters only, 1 for chapters and sections and 2 for chapters, sections and subsections \printcontents{l}{0}{\setcounter{tocdepth}{1}}% The depth to which the Part mini table of contents displays headings; 0 for chapters only, 1 for chapters and sections and 2 for chapters, sections and subsections
}}; }};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论