diff options
author | Norbert Preining <norbert@preining.info> | 2021-05-31 03:00:52 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-05-31 03:00:52 +0000 |
commit | 098258765e1921f3e57f38e424272587103189dd (patch) | |
tree | d3b0a1f7a326ceb6c783fe64f5913abe9eb6e673 /macros/latex/contrib/bjfuthesis/bjfuthesis.cls | |
parent | fd9ad0362e70874436480f729796d81aec6912a2 (diff) |
CTAN sync 202105310300
Diffstat (limited to 'macros/latex/contrib/bjfuthesis/bjfuthesis.cls')
-rw-r--r-- | macros/latex/contrib/bjfuthesis/bjfuthesis.cls | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/latex/contrib/bjfuthesis/bjfuthesis.cls b/macros/latex/contrib/bjfuthesis/bjfuthesis.cls index cabf2f3ca8..5395edcc24 100644 --- a/macros/latex/contrib/bjfuthesis/bjfuthesis.cls +++ b/macros/latex/contrib/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} |