\toi

名前: 任五郎
日時: 2003-01-12 20:43:59
IPアドレス: 61.201.213.*

以下のソースで \toi を使っていますが、 1,2,3,4,5,6となっている大問番号を 1,2,3a,3b,4,5としてみたいわけです。 どのようにしたらよいのでしょうか。 ご教示願います。 以下はそのソースです。 \documentclass[b4j,12pt]{jarticle} \usepackage{amsmath,amssymb} \newcounter{toi} \newcounter{subtoi}[toi] \newcounter{subsubtoi}[subtoi] \def\toi{\refstepcounter{toi} \makebox[2zw][r]{\fbox{\Large\sf\arabic{toi}}\hspace{1zw}}\hangindent=1zw} \def\subtoi{\refstepcounter{subtoi} \makebox[3.4zw][r]{(\arabic{subtoi})\hspace{1zw}}\hangindent=2.4zw} \def\arraystretch{2.05} \pagestyle{empty} \textwidth=230mm \textheight=330mm \oddsidemargin=-1.2cm \topmargin=-1.2cm \setlength{\columnseprule}{0.4pt} \setlength{\columnsep}{2zw} \makeatletter \renewcommand{\thesection}{\fbox{\arabic{section}}} \renewcommand{\thesubsection}{\fbox{\thesection.\arabic{subsection}}} \renewcommand{\theequation}{\section.\arabic{equation}} \renewcommand{\labelenumi}{$(\arabic{enumi})$} \newcommand{\circlenum}[1]{{\ooalign{% \hfill$\scriptstyle#1$\hfill\crcr$\bigcirc$}}} \@addtoreset{equation}{section} \makeatother \begin{document} \lineskiplimit=2.0ex \normallineskiplimit=\lineskiplimit \lineskip=\lineskiplimit \normallineskip=\lineskiplimit \begin{center} {\Large\bf 2学期末試験 問題用紙} \end{center} \toi 次の問いに答えよ. {\bf ただし, 答えのみ記せ.} (配点 12) \vfill \toi 次の問いに答えよ. {\bf ただし, 答えのみ記せ.} (配点 12) \vfill \toi 次の問いに答えよ. {\bf ただし, 答えのみ記せ.} (配点 8) \vfill \toi 次の問いに答えよ. (配点 10) \vfill \toi 次の数列の極限を求めよ. (配点 25) \vfill \toi 次の関数の極限を求めよ. (配点 25) \vfill \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)