From 516124d8de871007f2d2443daf2b7faff9f7c2ea Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 11 Jun 2016 23:24:41 +0000 Subject: bxjscls (28may16) git-svn-id: svn://tug.org/texlive/trunk@41394 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls | 25 +++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls') diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls index 35a8c805dc4..3ac22811c68 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls @@ -37,7 +37,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsslide} - [2016/05/01 v1.1c BXJS document classes] + [2016/05/28 v1.1e BXJS document classes] %% このファイルは日本語文字を含みます \RequirePackage{calc} \RequirePackage{keyval} @@ -333,6 +333,15 @@ \bxjs@simplejasetupfalse} \DeclareOption{simplejasetup}{% \bxjs@simplejasetuptrue} +\newif\ifbxjs@bigcode \bxjs@bigcodefalse +\edef\bxjs@tmpa{\expandafter\noexpand\csname\endcsname} +\def\bxjs@tmpb#1 #2#3\@nil{% + \ifx1#2\bxjs@bigcodetrue \fi} +\expandafter\bxjs@tmpb\meaning\bxjs@tmpa1 0\@nil +\DeclareOption{nobigcode}{% + \bxjs@bigcodefalse} +\DeclareOption{bigcode}{% + \bxjs@bigcodetrue} \def\bxjs@setkey{% \expandafter\bxjs@setkey@a\expandafter{\CurrentOption}} \def\bxjs@setkey@a{\bxjs@safe@setkeys{bxjs}} @@ -909,7 +918,17 @@ \let\sectionmark\@gobble \let\subsectionmark\@gobble } -\newcommand*{\subtitle}[1]{\gdef\bxjs@subtitle{#1}} +\newcommand*{\jsSubtitle}[1]{\gdef\bxjs@subtitle{#1}} +\renewcommand*{\title}[1]{\bxjs@decl@subtitle\gdef\@title{#1}} +\AtBeginDocument{\bxjs@decl@subtitle} +\def\bxjs@decl@subtitle{% + \global\let\bxjs@decl@subtitle\relax + \ifx\subtitle\@undefined + \global\let\subtitle\jsSubtitle + \fi} +\def\bxjs@annihilate@subtitle{% + \ifx\subtitle\jsSubtitle \global\let\subtitle\relax \fi + \global\let\jsSubtitle\relax} \def\plainifnotempty{% \ifx \@oddhead \@empty \ifx \@oddfoot \@empty @@ -975,6 +994,7 @@ \global\let\author\relax \global\let\date\relax \global\let\and\relax + \bxjs@annihilate@subtitle }% \else \newcommand{\maketitle}{\par @@ -1009,6 +1029,7 @@ \global\let\author\relax \global\let\date\relax \global\let\and\relax + \bxjs@annihilate@subtitle } \def\@maketitle{% \newpage\null -- cgit v1.2.3