diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-30 19:56:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-30 19:56:53 +0000 |
commit | 4539f4d6cf00d7cbc0aa04e5a42341789ba666aa (patch) | |
tree | 3e6e00b01070c4429fb5c12d0af22d7a7b572618 /Master/texmf-dist/tex/latex/bjfuthesis | |
parent | 4bac980322b097c17bfa82ad8d78546db134a194 (diff) |
bjfuthesis (30may21)
git-svn-id: svn://tug.org/texlive/trunk@59396 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bjfuthesis')
-rw-r--r-- | Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls b/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls index cabf2f3ca8e..5395edcc24e 100644 --- a/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls +++ b/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls @@ -17,19 +17,19 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \newcommand*\@iflatexlater{\@ifl@t@r\fmtversion} \@iflatexlater{2020/10/01}{}{\ClassError{bjfuthesis}{The version of LaTeX you installed does not meet the minimum version requirements}} +\RequirePackage{iftex} +\ifXeTeX\else\ClassError{bjfuthesis}{XeLaTeX is required to compile this document}\fi \def\header@text{北京林业大学本科毕业论文} \def\keywords@label@zh{关键词:} \def\keywords@label@en{Keywords: } \def\chartnote@label{注:} -\ProvidesClass{bjfuthesis}[2021/05/29 LaTeX document style for BJFU thesis] +\ProvidesClass{bjfuthesis}[2021/05/30 LaTeX document style for BJFU thesis] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}} \ProcessOptions* \LoadClass[a4paper,oneside,fontset=none]{ctexbook} -\RequirePackage{pdfpages} -\RequirePackage{graphicx} +\RequirePackage{pdfpages,graphicx} \graphicspath{{figures/}} -\RequirePackage{silence} -\RequirePackage{bicaption} +\RequirePackage{silence,bicaption} \DeclareCaptionFormat{bjfucaption}{\textbf{\fontsize{9}{21}\selectfont#1#2#3}} \captionsetup{format=bjfucaption,skip=0pt,labelsep=space} \captionsetup[figure][bi-second]{name=Figure} |