iwase/itoniki2 の履歴(No.3) - PukiWiki

<< 2024.4 >>
[iwase/itoniki2]
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

アニュアルレポートを毎年書かないと行けないことになっている。 ナンバリングを自分で振れと言うことなのだが、それでは変更の度に間違いも起きやすいし(特に私)マクロを作っている。 見るとすぐ分かるように、バッティングしないようマクロ自体に自分の名前を入れている。

\makeatletter
\newcounter{IWASECOUNT}
\newcounter{IWASESECT}
\setcounter{IWASECOUNT}{1}
\setcounter{IWASESECT}{1}
\newenvironment{iwaselist}{\setcounter{IWASECOUNT}{1}\list{(\roman{IWASECOUNT})~}{\usecounter{IWASECOUNT}%
\setlength{\rightmargin}{0mm}\setlength{\leftmargin}{0mm}
\ifnum \@listdepth=\@ne \topsep.25\normalbaselineskip\else\topsep\z@\fi 
\itemsep.0\normalbaselineskip 
\itemindent0zw\labelwidth1zw\labelsep0zw\listparindent1zw 
\addtolength{\itemindent}{3.5mm} 
}}{\endlist} 
\newenvironment{iwasebib}{\setcounter{IWASECOUNT}{1}\list{\bf \arabic{IWASECOUNT}.~}{\usecounter{IWASECOUNT}%
\setlength{\rightmargin}{0mm}\setlength{\leftmargin}{0mm}
\ifnum \@listdepth=\@ne \topsep.0\normalbaselineskip\else\topsep\z@\fi
\itemsep\z@\parsep\z@\itemindent0zw\labelwidth1zw\labelsep0zw\listparindent1zw
\addtolength{\itemindent}{3.5mm}
}}{\endlist}
\newcommand{\iwasesection}[1]{\par\medskip\noindent{\bf \Alph{IWASESECT}. #1}\addtocounter{IWASESECT}{1}}
\makeatother

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS