summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-11 23:24:41 +0000
committerKarl Berry <karl@freefriends.org>2016-06-11 23:24:41 +0000
commit516124d8de871007f2d2443daf2b7faff9f7c2ea (patch)
tree5de64c5c008213f7bd5e4f3da02cfe1f0f847b66 /Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
parenta411266ac05ce46c420c480330d94e07ac8021fc (diff)
bxjscls (28may16)
git-svn-id: svn://tug.org/texlive/trunk@41394 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls')
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls25
1 files changed, 23 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
index 6a592e42ed4..5c56383c0ec 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bxjsarticle}
- [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}}
@@ -911,7 +920,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
@@ -977,6 +996,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}%
\else
\newcommand{\maketitle}{\par
@@ -1011,6 +1031,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bxjs@annihilate@subtitle
}
\def\@maketitle{%
\newpage\null