diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls index 3d0d5aaa0c8..cc7bddecedc 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsslide} - [2020/04/04 v2.0a BXJS document classes] + [2020/05/28 v2.1 BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsslide} \newif\ifjsc@needsp@tch @@ -435,6 +435,18 @@ \bxjs@oldfontcommandsfalse} \DeclareOption{oldfontcommands}{% \bxjs@oldfontcommandstrue} +\DeclareOption{winjis}{% + \ClassWarningNoLine\bxjs@clsname + {This class does not support `winjis' option}% +} +\DeclareOption{mingoth}{% + \ClassWarningNoLine\bxjs@clsname + {This class does not support `mingoth' option}% +} +\DeclareOption{jis}{% + \ClassWarningNoLine\bxjs@clsname + {This class does not support `jis' option}% +} \DeclareOption*{% \def\bxjs@next{\bxjs@safe@setkeys{bxjs}}% \expandafter\bxjs@next\expandafter{\CurrentOption}} @@ -614,6 +626,10 @@ \bxjs@declare@bool@option{simple-ja-setup}{simplejasetup} \DeclareOption{nosimplejasetup}{\setkeys{bxjs}{simple-ja-setup=false}} \DeclareOption{simplejasetup}{\setkeys{bxjs}{simple-ja-setup=true}} +\newif\ifbxjs@strong@cmd \bxjs@strong@cmdtrue +\let\bxjs@kv@strongcmd@true\bxjs@strong@cmdtrue +\let\bxjs@kv@strongcmd@false\bxjs@strong@cmdfalse +\define@key{bxjs}{strong-cmd}[true]{\bxjs@set@keyval{strongcmd}{#1}{}} \let\bxjs@org@removeelement\@removeelement \def\@removeelement#1#2#3{% \def\reserved@a{#2}% @@ -907,6 +923,16 @@ \ifbxjs@fix@at@cmd \def\@{\bxjs@SE{}} \fi +\ifbxjs@strong@cmd\jsAtEndOfClass{% + \ifx\strong\@undefined\ifx\strongenv\@undefined + \DeclareRobustCommand{\strongenv}{\bxjs@strong@font}% + \DeclareTextFontCommand{\strong}{\strongenv}% + \@ifdefinable{\strongfontdeclare}{\bxjs@protected\def\strongfontdeclare#1{% + \bxjs@strong@font@declare@a#1,\@nil}}% + \def\bxjs@strong@font@declare@a#1,#2\@nil{\def\bxjs@strong@font{#1}}% + \def\bxjs@strong@font{\bfseries}% + \fi\fi +}\fi \def\bxjs@tmpa{\def\set@fontsize##1##2##3} \expandafter\bxjs@tmpa\expandafter{% \set@fontsize{#1}{#2}{#3}% |