summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex')
-rw-r--r--Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex130
1 files changed, 77 insertions, 53 deletions
diff --git a/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex b/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex
index d8409a0d4e4..63f6062269d 100644
--- a/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex
+++ b/Master/texmf-dist/doc/latex/fduthesis/fduthesis-en.tex
@@ -6,7 +6,7 @@
%%
%% fduthesis.dtx
%%
-%% Copyright (C) 2017, 2018 by Xiangdong Zeng <xdzeng96@gmail.com>
+%% Copyright (C) 2017--2019 by Xiangdong Zeng <xdzeng96@gmail.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -41,41 +41,27 @@
%% fduthesis.pdf,
%% fduthesis-en.pdf,
%% fduthesis-code.pdf,
-%% latexmkrc,
-%% latexmkrc-en,
%% and README.md.
%%
\PassOptionsToPackage{scheme=plain, linespread=1.1}{ctex}
\documentclass{fdudoc}
-\hypersetup
- {
- pdftitle = {fduthesis: LaTeX Thesis Template for Fudan University},
- pdfauthor = {Xiangdong Zeng}
- }
-\ctexset
- {
- section = {name = {}, format+ = \raggedright},
- subsubsection/tocline = {\CTEXnumberline{#1}#2}
- }
+\hypersetup{
+ pdftitle = {fduthesis: LaTeX Thesis Template for Fudan University},
+ pdfauthor = {Xiangdong Zeng}}
+\ctexset{
+ section = {name = {}, format+ = \raggedright},
+ subsubsection/tocline = {\CTEXnumberline{#1}#2}}
\pagestyle{headings}
-\renewcommand*\expstar{\hyperlink{expstar}{$\mfrake$}}
-\renewcommand*\rexpstar{\hyperlink{rexpstar}{$\mfrakc$}}
-\newcommand\FSID{{\xeCJKsetup{PunctStyle=banjiao}。}}
-\newcommand\FSFW{{\xeCJKsetup{PunctStyle=banjiao}.}}
-\IndexPrologue{\section{Index}}
-\def\IndexLayout{%
- \setlength\IndexMin{0.5\textheight}%
- \ctexset{section/numbering=false}%
- \StopSpecialIndexModule}
-\def\indexname{Index}
-\let\usage\relax
+\def\FSID{{\xeCJKsetup{PunctStyle=banjiao}。}}
+\def\FSFW{{\xeCJKsetup{PunctStyle=banjiao}.}}
+\AtBeginDocument{\def\QED{\blacksquare}}
\title{\textcolor{MaterialIndigo800}{%
\textbf{The \textsf{fduthesis} Class \\
\LaTeX{} Thesis Template for Fudan University}}}
\author{Xiangdong Zeng}
-\date{\today \quad v0.7b%
- \thanks{\url{https://github.com/Stone-Zeng/fduthesis}.}}
+\date{2019/03/17\quad v0.7c%
+ \thanks{\url{https://github.com/stone-zeng/fduthesis}.}}
\begin{document}
@@ -100,8 +86,8 @@
\tableofcontents
\newgeometry{
- left = 1.75 in,
- right = 1.00 in,
+ left = 1.65 in,
+ right = 0.80 in,
top = 1.25 in,
bottom = 1.00 in
}
@@ -152,7 +138,7 @@ divided into the following three types:
If you want to read the implementation part, please turn to the
Chinese version. Any issues or feature requests can be submitted
-in the \href{https://github.com/Stone-Zeng/fduthesis/issues}%
+in the \href{https://github.com/stone-zeng/fduthesis/issues}%
{GitHub repository}.
\section{Installation}
@@ -187,14 +173,14 @@ manually, the recommended way is to use the TDS ZIP file:
Although not recommended, you may generate the whole template
from source code as well:
\begin{itemize}
- \item Open the project's \href{https://github.com/Stone-Zeng/fduthesis}%
+ \item Open the project's \href{https://github.com/stone-zeng/fduthesis}%
{homepage}, click ``Clone or download'' and choose
``Download ZIP'' to download \file{fduthesis-master.zip}.
If you have git program on your computer, you can also
clone the repository directly:
\begin{shellexample}[gobble=5,alsoletter={.},%
morekeywords={git,clone}]
- git clone https://github.com/Stone-Zeng/fduthesis.git
+ git clone https://github.com/stone-zeng/fduthesis.git
\end{shellexample}
\item Extract files, and get into the \file{source} directory.
Run the following command to generate all the components:
@@ -323,10 +309,6 @@ or
latexmk -lualatex thesis
\end{shellexample}
-Note that you should not put the profile \file{latexmkrc} in
-your working directory. This file is meant to generate the
-user's guide.
-
\subsection{Options of the template}
You can specify some \emph{template options} when loading
@@ -370,8 +352,8 @@ At two-sided mode, left headers on the even pages (left hand)
in \emph{main body} will show the title of chapters, while the
right headers on the odd pages (right hand) will show the
title of sections. Headers in \emph{front matter} have the
-same style, but they will only show the title as
-``\textit{Contents}'', ``\textit{Abstract}'', etc.
+same style, but they will only show the title as ``Contents'',
+``Abstract'', etc.
At one-sided mode, both left and right headers on \emph{all}
pages in main body will be shown. The text is the title of
@@ -438,9 +420,8 @@ methods:
\fdusetup{
style = {cjk-font = adobe, font-size = -4},
info = {
- title = {关于光产生和转变的一个启发性观点},
- title* = {On a Heuristic Viewpoint Concerning the Production
- and Transformation of Light},
+ title = {论动体的电动力学},
+ title* = {On the Electrodynamics of Moving Bodies},
author = {阿尔伯特·爱因斯坦},
author* = {Albert Einstein},
department = {物理学系}
@@ -453,9 +434,8 @@ or
\fdusetup{
style/cjk-font = adobe,
style/font-size = -4,
- info/title = {关于光产生和转变的一个启发性观点},
- info/title* = {On a Heuristic Viewpoint Concerning the Production
- and Transformation of Light},
+ info/title = {论动体的电动力学},
+ info/title* = {On the Electrodynamics of Moving Bodies},
info/author = {阿尔伯特·爱因斯坦},
info/author* = {Albert Einstein},
info/department = {物理学系}
@@ -475,20 +455,65 @@ Note that you may \emph{not} put spaces around ``|/|''.
See the following details.
\end{function}
-\begin{function}[updated=2017-09-23]{style/font}
+\begin{function}[updated=2019-03-05]{style/font}
\begin{fdusyntax}[gobble=4,emph={[1]font}]
- font = (*<libertinus|lm|palatino|(times)|none>*)
+ font = (*<garamond|libertinus|lm|palatino|(times)|times*|none>*)
\end{fdusyntax}
- Set the western fonts (including math fonts).
+ Set fonts (including math fonts). The details can be found in table~\ref{tab:font}.
\end{function}
-\begin{function}[rEXP,updated=2017-09-23]{style/cjk-font}
+\begin{table}[ht]
+\begin{threeparttable}
+ \caption{Font configuration}
+ \label{tab:font}
+ \centering
+ \begin{tabular}{ccccc}
+ \toprule
+ & \strong{Roman} & \strong{Sans-serif} & \strong{Monospaced} & \strong{Math} \\
+ \midrule
+ |garamond| & EB Garamond & Libertinus Sans & LM Mono\tnote{a} & Garamond Math \\
+ |libertinus| & Libertinus Serif & Libertinus Sans & LM Mono & Libertinus Math \\
+ |lm| & LM Roman & LM Sans & LM Mono & LM Math \\
+ |palatino| & TG Pagella\tnote{b} & Libertinus Sans & LM Mono & TG Pagella Math \\
+ |times| & XITS & TG Heros & TG Cursor & XITS Math \\
+ |times*|\tnote{c} & Times New Roman & Arial & Courier New & XITS Math \\
+ \bottomrule
+ \end{tabular}
+ \begin{tablenotes}
+ \item[a] ``LM'' is the abbreviation of Latin Modern.
+ \item[b] ``TG'' is the abbreviation of TeX Gyre.
+ \item[c] Here, Times New Roman, Arial and Courier New are commercial fonts. They are
+ installed on Windows and macOS by default.
+ \end{tablenotes}
+\end{threeparttable}
+\end{table}
+\begin{function}[rEXP,updated=2019-03-05]{style/cjk-font}
\begin{fdusyntax}[gobble=4,emph={[1]cjk-font}]
- cjk-font = (*<adobe|(fandol)|founder|mac|windows|none>*)
+ cjk-font = (*<adobe|(fandol)|founder|mac|sinotype|sourcehan|windows|none>*)
\end{fdusyntax}
- Set CJK (Chinese, Japanese and Korean) fonts.
+ Set CJK (Chinese, Japanese and Korean) fonts. The details can be found in
+ table~\ref{tab:cjk-font}.
\end{function}
+\begin{table}[ht]
+ \caption{CJK font configuration}
+ \label{tab:cjk-font}
+ \centering
+ \begin{tabular}{cccc}
+ \toprule
+ & \strong{Roman (song)} & \strong{Sans-serif (hei)} & \strong{Monospaced (fang)} \\
+ \midrule
+ |adobe| & Adobe Song Std & Adobe Heiti Std & Adobe Fangsong Std \\
+ |fandol| & FandolSong & FandolHei & FandolFang \\
+ |founder| & FZShuSong-Z01 & FZHei-B01 & FZFangSong-Z02 \\
+ |mac| & Songti SC & Heiti SC & STFangsong \\
+ |sinotype| & STSong & STHeiti & STFangsong \\
+ |sourcehan| & Source Han Serif SC & Source Han Sans SC & --- \\
+ |windows| & SimSun & SimHei & FangSong \\
+ \bottomrule
+ \end{tabular}
+\end{table}
+
When you choose \kvopt{font}{none} or \kvopt{cjk-font}{none},
\cls{fduthesis} will disable the default western/CJK font
settings. You may use \cs{setmainfont}, \cs{setCJKmainfont}
@@ -657,7 +682,7 @@ will be helpful:
\begin{function}[added=2018-01-25]{style/bib-resource}
\begin{fdusyntax}[gobble=4,emph={[1]bib-resource}]
- bib-resource = (*\marg{bib file(s)}*)
+ bib-resource = (*\marg{bib file\symbol{"28}s\symbol{"29}}*)
\end{fdusyntax}
Specify the bibliography database (usually in \file{.bib}
format). If using more than one files, the file names should
@@ -713,7 +738,7 @@ will be helpful:
the corresponding English items.
\end{function}
-\begin{function}[added=2018-02-01]{info/degree}
+\begin{function}[added=2018-02-01,updated=2019-03-12]{info/degree}
\begin{fdusyntax}[gobble=4,emph={[1]degree}]
degree = (*<(academic)|professional>*)
\end{fdusyntax}
@@ -950,7 +975,7 @@ the position of QED symbol correct.
\end{function}
Actually, the pre-defined math environments are just defined
-with \cs{newtheorem} and \cs{newtheorem*}:
+with \cs{new\-the\-o\-rem} and \cs{new\-the\-o\-rem*}:
\begin{latexexample}[gobble=1,deletetexcs={\newtheorem},
morekeywords={\newtheorem,\newtheorem*}]
\newtheorem*{proof}{proof}
@@ -1071,7 +1096,6 @@ different packages dependency. Details are as follows:
\item \pkg{graphicx}
\item \pkg{longtable}
\item \pkg{caption}
- \item \pkg{natbib}
\item \pkg{xcolor}
\item \pkg{hyperref}
\end{itemize}