emath BBS

新規発言一覧最新記事過去一覧検索HOME

No.7042  enumrectboxを用いて問題作成
発言者: みー
発言日: 2008 01/30 13:31
発言元: 123.222.36.138
いつも勉強させていただいてます。みーです。
enumrectboxで問題を囲みその解答を巻末にまとめて表示するような形を作りたいのですが,
エラーになってしまいます。
番号のつけ方が問題なのかと思うのですが,何かよい対処法はあるでしょうか?

-例題1 ○○○---------------------------
| 問題文                               |
| (1)....                              |
| (2)....                              |
---------------------------------------


-----------------解答------------------
| 例題1                                |
| (1)....                              |
| (2)....                              |
----------------------------------------

という形を作りたいです。
自分で作ったソースとログファイルを載せておきます。

以下ソース
\documentclass[b5paper,10pt,papersize]{jsarticle}
\usepackage{emathP}
\usepackage{emathPb}
\usepackage{emathAe}
\usepackage{itembkbx}
\usepackage{emathEy}
\begin{document}
\begin{center}
{\huge 理系数学課題}
\end{center}
\begin{flushright}
\today 実施\quad
氏名\underline{\hspace{15zw}}
\end{flushright}
\openKaiFile
\resetcounter{rectboxenum}
\def\labelrectboxenum{例題\arabic{rectboxenum}.~}
\begin{enumrectbox}[item=無理関数,rectboxoval=10pt]
\kaitou{\setKaienum{edaenumerate<gyoukan=\vfill>}}
\begin{enumerate}
\item 次の関数$y=\sqrt{2x-3}$と$y=x-3$のグラフの共有点の座標を求めよ。\kaitou{$\left(6,~3\right)$}
\item aiueo\kaitou{kakikukeko}
\end{enumerate}
\end{enumrectbox}
\newpage
\begin{enumrectbox}[item=逆関数,rectboxoval=10pt]
\begin{enumerate}
\item 小問1\kaitou{解答1}
\item 小問2\kaitou{解答2}
\end{enumerate}
\end{enumrectbox}
\closeKaiFile
\vfill
\begin{itembox}{【解答】}
\inputKaiFile
\end{itembox}
\end{document}

以下ログファイル
This is pTeX, Version 3.141592-p3.1.3 (sjis) (Web2C 7.5.2) (format=platex 2003.11.8)  30 JAN 2008 12:56
\write18 enabled.
**1.28.tex
(./1.28.tex
pLaTeX2e <2001/09/04>+0 (based on LaTeX2e <2001/06/01> patch level 0)
(c:/usr/local/share/texmf/ptex/platex/js/jsarticle.cls
Document Class: jsarticle 2003/11/24 okumura
LaTeX Info: Redefining \sffamily on input line 306.
LaTeX Info: Redefining \ttfamily on input line 309.
\symmincho=\mathgroup4
LaTeX Font Info:    Overwriting symbol font `mincho' in version `bold'
(Font)                  JY1/mc/m/n --> JY1/gt/m/n on input line 317.
LaTeX Info: Redefining \mathrm on input line 319.
LaTeX Info: Redefining \mathbf on input line 320.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 9.60999pt on input line 368.
LaTeX Font Info:    Font shape `JT1/mc/m/n' will be
(Font)              scaled to size 9.60999pt on input line 368.
\fullwidth=\dimen118
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 7.68799pt on input line 486.
LaTeX Font Info:    Font shape `JT1/mc/m/n' will be
(Font)              scaled to size 7.68799pt on input line 486.
\c@part=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\@abstractbox=\box41
\c@figure=\count87
\c@table=\count88
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\@lnumwidth=\dimen119
\bibindent=\dimen120
LaTeX Info: Redefining \TeX on input line 1391.
LaTeX Info: Redefining \LaTeX on input line 1413.
LaTeX Info: Redefining \LaTeXe on input line 1434.
\heisei=\count89
) (c:/usr/local/share/texmf/ptex/platex/misc/emath/emathP.sty
Package: emathP 2007/08/21 v 0.71

(c:/usr/local/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(c:/usr/local/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks15
)
(c:/usr/local/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)

(c:/usr/local/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(c:/usr/local/share/texmf/tex/latex/config/graphics.cfg)
Package graphics Info: Driver file: dvips.def on input line 80.

(c:/usr/local/share/texmf/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\Gin@req@height=\dimen121
\Gin@req@width=\dimen122
)
(c:/usr/local/share/texmf/tex/latex/graphics/color.sty
Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)

(c:/usr/local/share/texmf/tex/latex/config/color.cfg)
Package color Info: Driver file: dvips.def on input line 125.

(c:/usr/local/share/texmf/tex/latex/graphics/dvipsnam.def
File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPxy.sty
Package: emathPxy 2007/10/18 v 0.41

(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPh.sty
Package: emathPh 2007/10/24 v 3.20

(c:/usr/local/share/texmf/ptex/platex/misc/emath/epic.sty
Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986
\@@multicnt=\count90
\d@lta=\count91
\@delta=\dimen123
\@@delta=\dimen124
\@gridcnt=\count92
\@joinkind=\count93
\@dotgap=\dimen125
\@ddotgap=\dimen126
\@x@diff=\count94
\@y@diff=\count95
\x@diff=\dimen127
\y@diff=\dimen128
\@dotbox=\box42
\num@segments=\count96
\num@segmentsi=\count97
\@datafile=\read1
) (c:/usr/local/share/texmf/ptex/platex/misc/emath/eepic.sty
Extension to Epic and LaTeX. Version 1.1e - Released Dec 21, 1999
\@gphlinewidth=\count98
\@eepictcnt=\count99
\@tempdimc=\dimen129
\maxovaldiam=\dimen130
\@filltype=\box43
) (c:/usr/local/share/texmf/ptex/platex/misc/emath/emath.sty
Package: emath 2007/11/03 v1.88p 初等数学マクロパッケージ

(c:/usr/local/share/texmf/ptex/platex/misc/emath/emath2e.sty
(c:/usr/local/share/texmf/tex/latex/amslatex/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43

For additional information on amsmath, use the `?' option.
(c:/usr/local/share/texmf/tex/latex/amslatex/amstext.sty
Package: amstext 2000/06/29 v2.01

(c:/usr/local/share/texmf/tex/latex/amslatex/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen131
))
(c:/usr/local/share/texmf/tex/latex/amslatex/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen132
)
(c:/usr/local/share/texmf/tex/latex/amslatex/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count100
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count101
\leftroot@=\count102
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count103
\DOTSCASE@=\count104
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box44
\strutbox@=\box45
\big@size=\dimen133
LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
\macc@depth=\count105
\c@MaxMatrixCols=\count106
\dotsspace@=\muskip10
\c@parentequation=\count107
\dspbrk@lvl=\count108
\tag@help=\toks17
\row@=\count109
\column@=\count110
\maxfields@=\count111
\andhelp@=\toks18
\eqnshift@=\dimen134
\alignsep@=\dimen135
\tagshift@=\dimen136
\tagwidth@=\dimen137
\totwidth@=\dimen138
\lineht@=\dimen139
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(c:/usr/local/share/texmf/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2002/01/22 v2.2d

(c:/usr/local/share/texmf/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup5
\symAMSb=\mathgroup6
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 132.
))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathC.sty
Package: emathC 2007/10/15 v0.50

(c:/usr/local/share/texmf/tex/latex/tools/calc.sty
Package: calc 1998/07/07 v4.1b Infix arithmetic (KKT,FJ)
\calc@Acount=\count112
\calc@Bcount=\count113
\calc@Adimen=\dimen140
\calc@Bdimen=\dimen141
\calc@Askip=\skip46
\calc@Bskip=\skip47
LaTeX Info: Redefining \setlength on input line 59.
LaTeX Info: Redefining \addtolength on input line 60.
\calc@denominator=\count114
)
(c:/usr/local/share/texmf/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
\c@tempcnta=\count115
\templa=\dimen142
\emath@toks@=\toks21
\Sett@width=\dimen143
\EMcalc@A=\dimen144
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathE.sty
Package: emathE 2007/09/06 v0.98 拡張enumerate

(c:/usr/local/share/texmf/tex/latex/tools/enumerate.sty
Package: enumerate 1999/03/05 v3.00 enumerate extensions (DPC)
\@enLab=\toks22
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathEc.sty
Package: emathEc 2007/08/03 v0.03
\kizami@ti=\count116
\syoki@ti=\count117
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/jquote.sty
Package: jquote 2006/07/30 v0.03
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathK.sty)
\c@Enumi=\count118
\c@Enumii=\count119
\c@Enumiii=\count120
\c@Enumiv=\count121
\tkn@Enum@ang=\toks23
\tkn@Enum@opt=\toks24
\emtokena=\toks25
))
\templb=\dimen145
\templc=\dimen146
\tempboxa=\box46
\tempboxb=\box47
\EMc@hizyosuu=\count122
\EMc@syou=\count123
\EMc@zyo@amari=\count124
\GCM=\count125
\zyo@@c=\count126
\hizyo@@c=\count127
\wari@@cnt=\count128
\wari@@cmax=\count129
\gyou@@c=\count130
\hidari@@p=\count131
\migi@@p=\count132
LaTeX Info: Redefining \to on input line 1635.
\renritu@hidariyohaku=\dimen147
\@ltxlinelen=\dimen148
\fileophndl=\read2
)
LaTeX Info: Redefining \color on input line 130.
\@tempdimd=\dimen149
\DHS@seq=\toks26
\yasen@toks=\toks27
\tenretu@namae=\toks28
\namae@opt=\toks29
\@tmpla=\dimen150
LaTeX Info: Redefining \Deruta on input line 7791.
)
\xunitlength=\dimen151
\yunitlength=\dimen152
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPk.sty
Package: emathPk 2007/11/01 v 1.05
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathT.sty
Package: emathT 2007/10/29 v0.47

(c:/usr/local/share/texmf/tex/latex/tools/array.sty
Package: array 1998/05/13 v2.3m Tabular extension package (FMi)
\col@sep=\dimen153
\extrarowheight=\dimen154
\NC@list=\toks30
\extratabsurround=\skip48
\backup@length=\skip49
)
(c:/usr/local/share/texmf/tex/latex/tools/hhline.sty
Package: hhline 1994/05/23 v2.03 Table rule package (DPC)
)
\hyouretuhaba=\dimen155
\emT@w=\dimen156
\emT@h=\dimen157
\emT@@h=\dimen158
\emT@d=\dimen159
\emT@@d=\dimen160
\emT@r=\dimen161
\arrayrulewidthb=\dimen162
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPb.sty
Package: emathPb 2007/10/30 v 0.17β
\rectbox@item@box=\box48
\rectbox@bitem@box=\box49
\c@rectboxenum=\count133
\rectb@x=\box50
\mekureb@x=\box51
\kakomiwaku@out=\write3
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPg.sty
Package: emathPg 2006/08/26 v 0.04
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPsiki.sty
Package: emathPsiki 2006/11/17 v 0.02α

(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathLb.sty
Package: emathLb 2007/07/11 v 0.07
)
(c:/usr/local/share/texmf/tex/latex/tools/verbatim.sty
Package: verbatim 2001/03/12 v1.5p LaTeX2e package for verbatim enhancements
\every@verbatim=\toks31
\verbatim@line=\toks32
\verbatim@in@stream=\read3
)
\Sikipic@hndl=\write4
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/bekutorukata.sty
Package: bekutorukata 2007/06/28 v0.02
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPp.sty
Package: emathPp 2007/10/23 v 0.65

(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPl.sty
Package: emathPl 2007/10/18 v 0.03
\pl@out=\write5
\pl@in=\read4
)))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathAe.sty
\c@kaitou@syorihou=\count134
Package: emathAe 2007/10/13 v0.59

(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathR.sty
Package: emathR 2007/10/18 v0.17 read source files.
\sub@texfile=\read5
\w@sub@texfile=\write6
)
\enum@fmti=\toks33
\enum@fmtii=\toks34
\enum@fmtiii=\toks35
\enum@fmtiv=\toks36
\Ae@tokena=\toks37
\Kai@Midasi=\toks38
\kaitou@out=\write7
\hint@out=\write8
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/itembkbx.sty
Package: itembkbx 2007/05/19 v 0.19β

(c:/usr/local/share/texmf/ptex/platex/misc/emath/eclbkbox.sty
\bk@bxb=\box52
\bk@bxa=\box53
\bk@lcnt=\count135
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/itembbox.sty
Package: itembbox 2006/07/19 v 0.20

(c:/usr/local/share/texmf/ptex/platex/base/ascmac.sty
(c:/usr/local/share/texmf/ptex/platex/base/tascmac.sty
\@savetbaselineshift=\dimen163
\@saveybaselineshift=\dimen164
\scb@x=\box54
\scscb@x=\box55
\@bw=\dimen165
\@nbox=\box56
\@nbody=\box57
\@scw=\dimen166
\@itemh=\dimen167
\@iboxpos=\toks39
\@iboxstr=\box58
\@bwsp=\box59
\@@bwsp=\box60
\@bcal=\count136
\shaderule=\dimen168
))
\iboxpos@=\toks40
\sc@itemb@x=\box61
\sc@itemb@x@=\box62
\@itemw=\dimen169
\shaderule=\dimen170
\dblboxrule=\dimen171
\dblboxrulein=\dimen172
\dblboxsep=\dimen173
)
\linesep=\dimen174
\itembkbx@dima=\dimen175
)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathEy.sty
Package: emathEy 2007/10/25 v0.15 横並び enumerate
\eda@box=\box63
\ed@beta@box=\box64
\c@edamon@suu=\count137
\edaenum@wdth=\dimen176
\edaenum@wdth@=\dimen177
\leftmargin@org@s=\dimen178
\edaitemindent=\dimen179
\betaitemindent=\dimen180
\beta@linewidth=\dimen181
\eda@linewidth=\dimen182
\pre@edasep=\dimen183
\post@edasep=\dimen184
\preedaenumskip=\dimen185
\postedaenumskip=\dimen186
\yokoenum@wd=\dimen187
) (./1.28.aux)
\openout1 = `1.28.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for JY1/mc/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for JT1/mc/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 19.9311pt on input line 9.
LaTeX Font Info:    Font shape `JT1/mc/m/n' will be
(Font)              scaled to size 19.9311pt on input line 9.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 6.72699pt on input line 13.
LaTeX Font Info:    Font shape `JY1/mc/m/n' will be
(Font)              scaled to size 4.805pt on input line 13.
LaTeX Font Info:    Try loading font information for U+msa on input line 13.

(c:/usr/local/share/texmf/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info:    Try loading font information for U+msb on input line 13.

(c:/usr/local/share/texmf/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
)
\openout7 = `1.28.k1'.


! Undefined control sequence.
<write> \string \setcounter {Aeans}{\theAeprob 
                                               -1}\string \begin {Aeans}
l.19 ...\setKaienum{edaenumerate<gyoukan=\vfill>}}
                                                  
? 
[1

] (./1.28.k1

! LaTeX Error: No counter 'Aeans' defined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1 \setcounter{Aeans}{-1}
                          \begin{Aeans}
? 

! LaTeX Error: Environment Aeans undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1 \setcounter{Aeans}{-1}\begin{Aeans}
                                       
? 

! LaTeX Error: \begin{minipage} on input line 36 ended by \end{Aeans}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.3 \end{Aeans}
               
? 
) [2] (./1.28.aux) ) 
Here is how much of TeX's memory you used:
 7889 strings out of 95597
 82115 string characters out of 1191919
 238798 words of memory out of 1500001
 10896 multiletter control sequences out of 10000+50000
 10939 words of font info for 50 fonts, out of 600000 for 2000
 19 hyphenation exceptions out of 2000
 61i,5n,40p,303b,428s stack positions out of 1500i,500n,5000p,200000b,5000s

Output written on 1.28.dvi (2 pages, 2900 bytes).

▼関連発言

7042:enumrectboxを用いて問題作成 [みー] 01/30 13:31
 └7043:Re:enumrectboxを用いて問題作成 [tDB] 01/30 17:12
  ├7044:Re[2]:enumrectboxを用いて問題作成 [みー] 01/30 22:17
  └7047:Re[2]:enumrectboxを用いて問題作成 [tDB] 01/31 17:09
   ├7050:Re[3]:enumrectboxを用いて問題作成 [みー] 02/01 14:20
   └7054:Re[3]:enumrectboxを用いて問題作成 [みー] 02/04 23:17
    └7056:Re[4]:enumrectboxを用いて問題作成 [tDB] 02/05 11:52
     └7057:Re[5]:enumrectboxを用いて問題作成 [みー] 02/05 16:10<-last

Pass 保存


CGIROOM