diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-28 21:59:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-28 21:59:10 +0000 |
commit | c937607e765ab21df28a0a8c03d3f44a500cd519 (patch) | |
tree | a338fe8358c534c8e2b99b3fb89ea27dd54cdeb5 /Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls | |
parent | fef8de7833455d23e5df0d2c77a7c79e52d14e5a (diff) |
bxjscls (28may20)
git-svn-id: svn://tug.org/texlive/trunk@55320 c570f23f-e606-0410-a88d-b1316a301751
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}% |