summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bjfuthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-06 20:49:57 +0000
committerKarl Berry <karl@freefriends.org>2021-06-06 20:49:57 +0000
commit3053cbcdca1dd476fb927ee09e1a8ef4094f2416 (patch)
tree50dfaa8a87495728fd3f7eac16c70b00cff906f9 /Master/texmf-dist/tex/latex/bjfuthesis
parent10e09e01b238ad80b81ecddc9b0f915eb23b79fc (diff)
bjfuthesis (6jun21)
git-svn-id: svn://tug.org/texlive/trunk@59491 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bjfuthesis')
-rw-r--r--Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls19
1 files changed, 7 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls b/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls
index ef1690a7b2c..641a6e8d4e7 100644
--- a/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls
+++ b/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls
@@ -23,12 +23,14 @@
\def\keywords@label@zh{关键词:}
\def\keywords@label@en{Keywords: }
\def\chartnote@label{注:}
-\ProvidesClass{bjfuthesis}[2021/06/05 A thesis class for Beijing Forestry University]
+\ProvidesClass{bjfuthesis}[2021/06/06 A thesis class for Beijing Forestry University]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
\ProcessOptions*
\LoadClass[a4paper,oneside,fontset=none]{ctexbook}
\RequirePackage{pdfpages,graphicx}
\graphicspath{{figures/}}
+\RequirePackage[style=gb7714-2015]{biblatex}
+\addbibresource{bibliography.bib}
\RequirePackage{silence,bicaption}
\DeclareCaptionFormat{bjfucaption}{\textbf{\fontsize{9}{21}\selectfont#1#2#3}}
\captionsetup{format=bjfucaption,skip=0pt,labelsep=space}
@@ -41,12 +43,14 @@
\setlength\footskip{10mm}
\setlength\textwidth{155mm}
\setlength\oddsidemargin{4.6mm}
+\setlength\bibitemsep{0pt}
\setlength{\fboxsep}{0pt}
\setlength{\fboxrule}{1pt}
\setmainfont{Times New Roman}
\setCJKmainfont[AutoFakeBold]{SimSun}
\setCJKmonofont{SimSun}
\newCJKfontfamily\kaiti{KaiTi}
+\renewcommand*{\bibfont}{\fontsize{10.5}{21}\selectfont}
\linespread{1}
\emergencystretch=1em
\RequirePackage{amssymb}
@@ -69,8 +73,6 @@
\renewcommand\headrulewidth{.5pt}
\fancypagestyle{plain}{\fancyhead[C]{\fontsize{9}{12}\selectfont\header@text}\renewcommand\headrulewidth{.5pt}}
\renewcommand\floatpagefraction{1}
-\RequirePackage[style=gb7714-2015]{biblatex}
-\addbibresource{bibliography.bib}
\RequirePackage{titlesec}
\titleformat{\chapter}{\centering\fontsize{16}{30}\bfseries}{\thechapter}{.5em}{}
\titleformat{\section}{\fontsize{14}{37}\bfseries}{\thesection}{.5em}{}
@@ -87,7 +89,6 @@
\renewcommand\topfraction{1}
\renewcommand\bottomfraction{1}
\renewcommand\textfraction{0}
-\RequirePackage{xpatch}
\RequirePackage[hidelinks]{hyperref}
\letbibmacro{oldtitle}{title}
@@ -111,10 +112,10 @@
}
{}
{\printtext[booktitle]{\bibtitlefont%
- \printfield[titlecase]{booktitle}\printtext{[C]}%
+ \printfield[titlecase]{booktitle}\printtext{[C]} %
\setunit{\subtitlepunct}%
\printfield[titlecase]{booksubtitle}}%
- \newunit%标点换成下一句
+ \newunit
\setunit{\subtitlepunct}}%
\printfield{booktitleaddon}}{\usebibmacro{oldbooktitle}}}
\DeclareBibliographyDriver{inproceedings}{%
@@ -124,8 +125,6 @@
\setunit{\printdelim{nametitledelim}}\newblock
\usebibmacro{title}\printtext{[A]}
\unspace
-% \nobreak
-% \setunit{[A]}
\usebibmacro{in:}%
\usebibmacro{editor}%
\newunit\newblock
@@ -133,10 +132,6 @@
\newunit\newblock
\usebibmacro{event+venue+date}%
\newunit\newblock
-% \iffieldundef{maintitle}
- % {\printfield{volume}%
- % \printfield{part}}
- % {}%
\newunit
\printfield{volumes}%
\newunit\newblock