diff options
author | Norbert Preining <preining@logic.at> | 2013-05-16 02:18:57 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2013-05-16 02:18:57 +0000 |
commit | 19b005c959f203ce4d711b907232d99db73425ef (patch) | |
tree | 078ac1cf6e47fc7bdaf30f09e46c6498cb53a0ec /Master/texmf-dist/tex/platex/jsclasses/okumacro.sty | |
parent | 1eeddeb5fda4ad1da5d856e403810b2cb1836f25 (diff) |
fix encoding
git-svn-id: svn://tug.org/texlive/trunk@30500 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex/jsclasses/okumacro.sty')
-rw-r--r-- | Master/texmf-dist/tex/platex/jsclasses/okumacro.sty | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/platex/jsclasses/okumacro.sty b/Master/texmf-dist/tex/platex/jsclasses/okumacro.sty index 0efc60a5e28..cc042f57c62 100644 --- a/Master/texmf-dist/tex/platex/jsclasses/okumacro.sty +++ b/Master/texmf-dist/tex/platex/jsclasses/okumacro.sty @@ -53,7 +53,7 @@ \hbox to \dimen1{\kanjistrut\hfil\unhbox1\hfil}}}\hskip\kanjiskip\relax} \def\kenten#1{% \ifvmode\leavevmode\else\hskip\kanjiskip\fi - \setbox1=\hbox to \z@{$B!&(B\hss}% + \setbox1=\hbox to \z@{・\hss}% \ht1=.63zw \@kenten#1\end} \def\@kenten#1{% @@ -67,7 +67,7 @@ \kanjiskip=0pt plus 1fil minus 1fil \xkanjiskip=\kanjiskip #2}} -\newcommand{\$BMK(B}{{\@tempcnta=\year \@tempcntb=\month +\newcommand{\曜}{{\@tempcnta=\year \@tempcntb=\month \ifnum \@tempcntb<3 \advance \@tempcnta by -1 \advance \@tempcntb by 12 @@ -87,11 +87,11 @@ \divide \@tempcntb by 7 \multiply \@tempcntb by 7 \advance \@tempcnta by -\@tempcntb - \ifcase \@tempcnta $BF|(B\or $B7n(B\or $B2P(B\or $B?e(B\or $BLZ(B\or $B6b(B\or $BEZ(B\fi}} -\def\$B0';"(B{\noindent $BGR7<(B\hspace{1zw}\ifcase\month\or - $B874((B\or $B=U4((B\or $BAa=U(B\or $BM[=U(B\or $B?7NP(B\or $B8~=k(B\or - $BLT=k(B\or $B;D=k(B\or $B=i=)(B\or $BCg=)(B\or $BHU=)(B\or $B=iE_(B\fi - $B$N8u!$$^$9$^$9$4@61I$N$3$H$H$*4n$S?=$7>e$2$^$9!#(B} + \ifcase \@tempcnta 日\or 月\or 火\or 水\or 木\or 金\or 土\fi}} +\def\挨拶{\noindent 拝啓\hspace{1zw}\ifcase\month\or + 厳寒\or 春寒\or 早春\or 陽春\or 新緑\or 向暑\or + 猛暑\or 残暑\or 初秋\or 仲秋\or 晩秋\or 初冬\fi + の候,ますますご清栄のこととお喜び申し上げます。} \def\myallowbreak{\@ifnextchar\egroup{}{\penalty\exhyphenpenalty}{}} \begingroup \catcode`\-=\active @@ -112,7 +112,7 @@ \chardef\{=`\{ \chardef\}=`\} \chardef\_=`\_ - \def\\{\char"5C\penalty\exhyphenpenalty{}}% $B%P%C%/%9%i%C%7%e(B + \def\\{\char"5C\penalty\exhyphenpenalty{}}% バックスラッシュ \spaceskip=.32em plus.16em minus.09em \frenchspacing \noautoxspacing @@ -123,8 +123,8 @@ \newcommand{\asciibar}{% \makebox[0.525em]{\rule[-0.2ex]{0.15ex}{0.7ex}\kern-0.15ex \rule[0.8ex]{0.15ex}{0.7ex}}} -\def\$B!]!](B{$B!=(B\kern-.5zw$B!=(B\kern-.5zw$B!=(B} -\def\$B!=!=(B{$B!=(B\kern-.5zw$B!=(B\kern-.5zw$B!=(B} +\def\--{―\kern-.5zw―\kern-.5zw―} +\def\――{―\kern-.5zw―\kern-.5zw―} \newcommand{\removept}[2]{% \edef#2{\expandafter\@removePT\the#1}} {\catcode`p=12 \catcode`t=12 \gdef\@removePT#1pt{#1}} @@ -269,7 +269,7 @@ \vrule\hfill \vbox\bgroup \vskip15pt - \def\thempfootnote{\arabic{mpfootnote}}% $B5SCm$r;;MQ?t;z$K(B + \def\thempfootnote{\arabic{mpfootnote}}% 脚注を算用数字に \begin{minipage}{\linewidth}}{% \end{minipage}\vskip15pt \egroup\hfill\vrule @@ -282,7 +282,7 @@ \newenvironment{screen}[1][1]% {\def\screensc@le{#1}\@scw=\linewidth \advance \@scw by -20pt \setbox\scb@x=\hbox\bgroup\begin{minipage}[b]{\@scw}}% - % $B$^$?$O(B \setbox\scb@x=\vbox\bgroup\advance \linewidth by -20pt \relax + % または \setbox\scb@x=\vbox\bgroup\advance \linewidth by -20pt \relax {\end{minipage}\egroup \dimen0=\linewidth \removept{\dimen0}{\hsPT}% \divide \dimen0 by 2 \removept{\dimen0}{\hhsPT}% @@ -303,20 +303,20 @@ \newenvironment{EXAMPLE}{\begin{flushleft}\EXAMPLEWIDTH=\linewidth }{\end{flushleft}} \newenvironment{IN}{% - \makebox[35pt][l]{\small\fbox{$BF~NO(B}}% + \makebox[35pt][l]{\small\fbox{入力}}% \advance \linewidth by -35pt \begin{minipage}[t]{\linewidth}}{% \end{minipage}\\[6pt]} \newenvironment{OUT}{% - \makebox[35pt][l]{\small\fbox{$B=PNO(B}}% + \makebox[35pt][l]{\small\fbox{出力}}% \advance \linewidth by -35pt \begin{minipage}[t]{\linewidth}}{% \end{minipage}} \newcommand{\INEX}{\medbreak\noindent - \framebox[\columnwidth][l]{\small\hskip2zw $BF~NO(B}\nobreak + \framebox[\columnwidth][l]{\small\hskip2zw 入力}\nobreak \begin{quote}\small} \newcommand{\OUTEX}{\end{quote} - \framebox[\columnwidth][l]{\small\hskip2zw $B=PNO(B}\nobreak + \framebox[\columnwidth][l]{\small\hskip2zw 出力}\nobreak \begin{quotation}\small} \newcommand{\ENDEX}{\end{quotation}\bigbreak} \newcommand{\ENDEXC}[1]{\end{quotation}\nobreak @@ -329,10 +329,10 @@ \advance\@tempcnta-\c@page \ifnum\@tempcnta=0 \else - \ifnum\@tempcnta=1 $B!J<!%Z!<%8!K(B + \ifnum\@tempcnta=1 (次ページ) \else - \ifnum\@tempcnta=-1 $B!JA0%Z!<%8!K(B - \else $B!J(B\pageref{#1}$B%Z!<%8!K(B + \ifnum\@tempcnta=-1 (前ページ) + \else (\pageref{#1}ページ) \fi \fi \fi @@ -351,7 +351,7 @@ \hbox{\hbox to \shaderule{\copy0\hss}\kern \z@ \vrule\@width\wd0\@height\z@\@depth\shaderule\hskip-\shaderule \vrule\@width\shaderule\@height\dimen0}} -\def\sankoumark{{\small $B!z(B}} +\def\sankoumark{{\small ★}} \newenvironment{sankou}{\vspace{3pt}% \begin{list}{}{% \setlength{\leftmargin}{3zw}% @@ -365,7 +365,7 @@ \setlength{\partopsep}{0pt}% \setlength{\listparindent}{0zw}% }\item[\sankoumark]\small}{\end{list}} -\def\toimark{{\small\bf $B!ZLd![(B}} +\def\toimark{{\small\bf 【問】}} \newenvironment{toi}{\vspace{3pt}% \begin{list}{}{% \setlength{\leftmargin}{3zw}% @@ -398,7 +398,7 @@ \newcommand{\5}{\penalty50 } % \penalty\exhyphenpenalty \newcommand{\ANGLE}[1]{% $\langle$\kern0pt\nobreak{#1}\kern0pt\nobreak$\rangle$} -\newcommand{\$B3t(B}{\hspace{\kanjiskip}\<$B!J3t!K(B\<\hspace{\kanjiskip}} +\newcommand{\株}{\hspace{\kanjiskip}\<(株)\<\hspace{\kanjiskip}} \@ifundefined{widebaselines}{}{% \let\endmathdisplaysave=\endmathdisplay \def\endmathdisplay{\widebaselines\endmathdisplaysave}} |