--- sotsuron.sty Mon Jan 7 09:08:09 2002 +++ sotsuron-wide.sty Tue Feb 5 18:17:41 2002 @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \NeedsTeXFormat{pLaTeX2e} -\ProvidesPackage{sotsuron}[2001/11/26 v0.3.2] +\ProvidesPackage{sotsuron-wide}[2001/11/26 v0.3.2] \message{卒論 style 2002/01/07 v0.3.2 by Hiroshi Takekawa} \DeclareOption{bachelor}{\gdef\@thesisprefix{卒業}} \DeclareOption{master}{\gdef\@thesisprefix{修士}} @@ -66,12 +66,20 @@ \pagenumbering{arabic}} \def\acknowledge{\addcontentsline{toc}{chapter}{謝辞}} \def\biblio{\addcontentsline{toc}{chapter}{参考文献}} -\addtolength{\textwidth}{2cm} -\addtolength{\textheight}{3cm} -\addtolength{\topmargin}{-1cm} -\setlength{\headsep}{0mm} -\setlength{\oddsidemargin}{5mm} -\setlength{\evensidemargin}{-10mm} +%\addtolength{\textwidth}{2cm} +%\addtolength{\textheight}{3cm} +%\addtolength{\topmargin}{-1cm} +%\setlength{\headsep}{0mm} +%\setlength{\oddsidemargin}{5mm} +%\setlength{\evensidemargin}{-10mm} +\setlength\@tempdima{\paperwidth} +\addtolength\@tempdima{-\textwidth} +\setlength\oddsidemargin{.6\@tempdima} % original: 0.4 +\addtolength\oddsidemargin{-1in} +\setlength\evensidemargin{\paperwidth} +\addtolength\evensidemargin{-2in} +\addtolength\evensidemargin{-\textwidth} +\addtolength\evensidemargin{-\oddsidemargin} \if@so@narrowitem \def\itemize{% \ifnum \@itemdepth >\thr@@\@toodeep\else
\usepackage{fancyvrb} \begin{figure} \centering \VerbatimInput[numbers=left]{HelloWorld.java} \caption{Hello World のプログラム} \label{fig:hello} \end{figure} 図~\ref{fig:hello}~のプログラムは.../usr/local/share/texmf/doc/latex/fancyvrb/fancyvrb.ps に詳しい説明有り.
--- sotsuron.sty.orig Fri Apr 13 16:12:48 2001 +++ sotsuron.sty Mon Jan 21 15:55:28 2002 @@ -30,10 +30,12 @@ \gdef\@thesisprefix{卒業} \gdef\@draftsuffix{} \ProcessOptions -\def\cover#1#2#3{% +\def\cover#1#2#3#4#5{% \gdef\@covertitle{#1} \gdef\@coverauthor{#2} - \gdef\@coveradvisor{#3}} + \gdef\@coveradvisora{#3} + \gdef\@coveradvisorb{#4} + \gdef\@coveradvisorc{#5}} \gdef\@covertitle{cover macroで設定してください} \def\coverbelong#1{\gdef\@coverbelong{#1}} \gdef\@coverbelong{東京大学工学部計数工学科} @@ -44,7 +46,9 @@ \title{{\Large \@thesisprefix{}論文\@draftsuffix}\vspace{5mm}\\ {\Huge \@covertitle}\vspace{6cm}} \date{\Huge \@coverdate} - \author{{\huge 指導教官} {\Huge \quad\@coveradvisor}\vspace{20mm}\\ + \author{{\huge 指導教官} {\Huge \quad\@coveradvisora}\\ + \phantom{{\huge 指導教官}} {\Huge \quad\@coveradvisorb}\\ + \phantom{{\huge 指導教官}} {\Huge \quad\@coveradvisorc}\vspace{20mm}\\ {\huge \@coverbelong}\vspace{5mm}\\ {\Huge \@coverauthor}\vspace{1cm}} \maketitle\cover コマンドを以下のように用いる.ただし全角アンダースコア _ は 全角スペースで置換すること.
\cover{論文題目}{卒論~太郎}{武市_~正人~{\huge _教授}}{胡__~振江~{\huge 助教授}}{田中~久美子~{\huge _講師}}