From 1ba2ae020aea220436899cf65f5a85c1686940cd Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 7 Jun 2021 03:02:21 +0000
Subject: CTAN sync 202106070302

---
 macros/latex/contrib/bjfuthesis/bjfuthesis.cls | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

(limited to 'macros/latex/contrib/bjfuthesis/bjfuthesis.cls')

diff --git a/macros/latex/contrib/bjfuthesis/bjfuthesis.cls b/macros/latex/contrib/bjfuthesis/bjfuthesis.cls
index ef1690a7b2..641a6e8d4e 100644
--- a/macros/latex/contrib/bjfuthesis/bjfuthesis.cls
+++ b/macros/latex/contrib/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
-- 
cgit v1.2.3

