発言者: kimu
発言日: 2010 11/16 01:11
発言元: p3183-ipngn901funabasi.chiba.ocn.ne.jp
いつもお世話になっています。
texでテスト問題を作成しているのですが,2010 kyotoの問題をテストで
引用しようかと考えていたのですが,どうしてもグラフをかこうとすると
エラーが起きてしまいます。どうしたらいいでしょうか?
\documentclass[b4j,landscape,twocolumn,11pt,fleqn]{jarticle}
\usepackage[dvipdfm]{emathP}
\usepackage[papersize]{emathPs}
\usepackage[margin=20mm]{geometry}
\usepackage{type1cm}
\pagestyle{empty}
\usepackage{ruby}%
\usepackage{emathP,graphicx}%
\usepackage{emathOld}%
\usepackage{arhako,itembkbx,emathW}
\usepackage{emathT}
\usepackage[dvipdfm]{emathP}
\usepackage[papersize]{emathPs}
%\usepackage[maskAnstrue]{emathAe}
\usepackage[maskAnsfalse]{emathAe}
%\maskhakotrue
\maskhakofalse
\makeatletter
\def\parall{%
\mathord{\mathchoice
{\@pallal\tf@size}{\@pallal\tf@size}%
{\@pallal\sf@size}{\@pallal\ssf@size}}}%
\def\@pallal#1{%
\vcenter{\hbox{%
\dimen@#1\p@\unitlength.1\dimen@%
\allinethickness{.05\dimen@}%
\path(0,-2)(8,-2)(10,5)(2,5)(0,-2)%
\vrule\@width\dimen@\@height\z@\@depth\z@%
}}}%
\makeatother
\makeatletter
\def\FOO(#1,#2)(#3,#4){%
\def\@Pa{#1}%
\ifnum#1=1\def\@Pa{\relax}\fi%
\ifnum#1=-1\def\@Pa{-}\fi%
\def\@Qa{#3}%
\ifnum#3=1\def\@Qa{\relax}\fi%
\ifnum#3=-1\def\@Qa{-}\fi%
\ISub{#1}{#3}\@Za%
\ISub{#2}{#4}\@Zc%
\ifnum\@Za=1\def\@Za{\relax}%
\else%
\ifnum\@Za=-1\def\@Za{-}\fi%
\fi
%---------------------------------------
$
\begin{array}{@{}rr@{\:=\:}r@{\:}c@{\:}r@{\:}r}%
&\@Pa{}a&+&b\\
-)&\@Qa{}a&+&b\\\hline
&\@Zc&\@Za{}a&&
\end{array}
$
}
\makeatother
\setlength{\topmargin}{-3.2cm}
\setlength{\oddsidemargin}{-1cm}
\setlength{\textwidth}{335mm}
\setlength{\textheight}{320mm}
\normalsize
\setlength{\unitlength}{1mm}
\begin{document}
\let\KaitouTTL\relax
\large
\twocolumn[\hspace{90mm} {\bf \Huge テスト} \hspace{35mm} \
\hspace{-10mm}\begin{minipage}[t]{0.95\linewidth}
\framebox(170,7){
\begin{minipage}[t]{0.95\linewidth}
\hspace{-12mm}
~{\small ○数量・図形などについての知識・理解}
\end{minipage}
}
\vspace{-14mm}
\hspace{130mm}
\begin{minipage}[t]{0.95\linewidth}
\vspace{-11mm}
{ \small($11$題×$2$点=$22$点)}
\end{minipage}
\end{minipage}
\hspace{-6mm}
\begin{enumerate}[\protect\Huge\expandafter\fbox 1]
\vspace{-7mm}
\item~~グラフ
\begin{minipage}{1.1\linewidth}
\begin{pszahyou*}[ul=4mm](-8,8)(-2,8)
\tenretu{A(3,3)(4pt,2pt)[lb];B(-3,3)(-4pt,2pt)[rb];O(0,0)sw;C(-6,0)s}
\def\Fx{X*X/3}
\YGraph\Fx
\Lline\A\B
\Kuromaru\C
\linethickness{.3pt}
\Drawlines{\XMIN\XMAX;\YMIN\YMAX}
\tenretu**{[$x$]XMAX[e];[$y$]YMAX[n]}
\Kuromaru\C
\end{pszahyou*}
\end{minipage}
\end{enumerate}
\end{document}
【エラーの内容】
./テスト.tex(92): Error: ! Argument of \@iminipage has an extra }.
./テスト.tex(92): Error: ! Paragraph ended before \@iminipage was complete.
./テスト.tex(92): Error: ! Extra }, or forgotten \endgroup.
./テスト.tex(92): Error: ! Missing number, treated as zero.
./テスト.tex(92): Error: ! Illegal unit of measure (pt inserted).
./テスト.tex(92): Overfull \hbox (51.68292pt too wide) in paragraph at lines 92--106
./テスト.tex(92): Overfull \hbox (349.1931pt too wide) in paragraph at lines 92--106
./テスト.tex(106): Error: ! Undefined control sequence.
./テスト.tex(111): Error: ! Missing number, treated as zero.
./テスト.tex(111): Error: ! Illegal unit of measure (pt inserted).
./テスト.tex(111): Error: ! Package calc Error: `' invalid at this point.
./テスト.tex(111): Error: ! Undefined control sequence.
./テスト.tex(111): Error: ! Missing number, treated as zero.
./テスト.tex(111): Error: ! Illegal unit of measure (pt inserted).
./テスト.tex(111): Overfull \hbox (1.07137pt too wide) in paragraph at lines 111--111
./テスト.tex(111): Overfull \hbox (22.61281pt too wide) in paragraph at lines 111--111
./テスト.tex(111): Error: ! Paragraph ended before \calc@assign@generic was complete.
./テスト.tex(111): Error: ! Extra }, or forgotten \endgroup.
./テスト.tex(111): Error: ! Missing \endcsname inserted.
./テスト.tex(111): Error: ! Extra \endcsname.
./テスト.tex(111): Overfull \vbox (7.43793pt too high) detected at line 111
./テスト.tex(114): Error: ! LaTeX Error: Lonely \item--perhaps a missing list environment.
./テスト.tex(114): Underfull \hbox (badness 10000) detected at line 114
./テスト.tex(121): Error: ! Undefined control sequence.
./テスト.tex(122): Error: ! Undefined control sequence.
./テスト.tex(131): Error: ! Paragraph ended before \@@ntenretu@sub was complete.
./テスト.tex(132): Error: ! Missing } inserted.
./テスト.tex(132): Error: ! Missing } inserted.
./テスト.tex(132): Overfull \hbox (4.24753pt too wide) detected at line 132
./テスト.tex(132): Error: ! Missing } inserted.
./テスト.tex(132): Error: ! LaTeX Error: \begin{pszahyou*} on input line 118 ended by \end{document}.
./テスト.tex(132): Error: ! You can't use `\end' in internal vertical mode.
./テスト.tex(132): Error: ! LaTeX Error: \begin{pszahyou*} on input line 118 ended by \end{document}.
./テスト.tex(1): Error: ! Emergency stop.
--------------------------------------------------
テスト.tex - 27 error(s), 0 warning(s), 6 overfull box(es), 1 underfull box(es)
よろしくお願いします。
▼関連発言
│
└◆9472:pszahyou [kimu] 11/16 01:11
├◆9473:Re:pszahyou [田中徹] 11/16 03:22
│└◆9474:Re[2]:pszahyou [kimu] 11/16 10:56
│ └◆9475:Re[3]:pszahyou [田中徹] 11/16 13:56
│ └◆9486:Re[4]:pszahyou [kimu] 11/17 00:36
│ └◆9487:Re[5]:pszahyou [田中徹] 11/17 01:26
│ └◆9488:Re[6]:pszahyou [kimu] 11/17 13:33
│ └◆9489:Re[7]:pszahyou [tDB] 11/17 13:39
│ └◆9490:Re[8]:pszahyou [kimu] 11/17 14:14
│ └◆9491:Re[9]:pszahyou [tDB] 11/17 14:25
│ └◆9492:Re[10]:pszahyou [kimu] 11/17 16:52
│ └◆9493:Re[11]:pszahyou [tDB] 11/17 17:02
│ └◆9494:Re[12]:pszahyou [kimu] 11/17 17:11
│ └◆9495:Re[13]:pszahyou [tDB] 11/17 17:18
│ └◆9496:Re[14]:pszahyou [kimu] 11/17 17:27
│ └◆9497:Re[15]:pszahyou [tDB] 11/17 17:38
│ └◆9498:Re[16]:pszahyou [kimu] 11/17 20:30
│ └◆9499:Re[17]:pszahyou [tDB] 11/17 20:41
├◆9500:Re:pszahyou [tDB] 11/17 20:41
│└◆9501:Re[2]:pszahyou [kimu] 11/17 20:43
│ └◆9502:Re[3]:pszahyou [tDB] 11/17 20:48
│ ├◆9503:Re[4]:pszahyou [tDB] 11/17 20:51
│ └◆9504:Re[4]:pszahyou [kimu] 11/17 20:58
│ ├◆9505:Re[5]:pszahyou [kimu] 11/17 21:25
│ └◆9506:Re[5]:pszahyou [tDB] 11/17 22:09
│ └◆9507:Re[6]:pszahyou [kimu] 11/17 23:22
│ ├◆9508:Re[7]:pszahyou [kimu] 11/17 23:38
│ │└◆9510:Re:dviout.def [tDB] 11/18 08:53
│ └◆9509:Re:perl との連携 [tDB] 11/18 08:53
│ └◆9511:Re[2]:perl との連携 [kimu] 11/18 13:41
│ └◆9512:Re[3]:perl との連携 [tDB] 11/18 13:59
│ └◆9513:Re[4]:perl との連携 [kimu] 11/18 16:50
│ └◆9514:Re[5]:perl との連携 [tDB] 11/18 16:56
│ └◆9515:Re[6]:perl との連携 [kimu] 11/18 19:18
│ └◆9516:Re[7]:perl との連携 [tDB] 11/18 20:09
│ └◆9517:Re[8]:perl との連携 [kimu] 11/18 21:02
│ └◆9518:Re[9]:perl との連携 [tDB] 11/18 21:06
│ └◆9519:Re[10]:perl との連携 [kimu] 11/18 21:28
│ └◆9520:Re[11]:perl との連携 [tDB] 11/18 21:36
└◆9521:Re[11]:perl との連携 [tDB] 11/18 21:37
└◆9522:Re[12]:perl との連携 [kimu] 11/18 21:41
└◆9523:Re[13]:perl との連携 [tDB] 11/18 22:01
├◆9524:Re[14]:perl との連携 [kimu] 11/18 22:22
│└◆9525:Re[15]:perl との連携 [tDB] 11/18 22:45
└◆9529:Re[14]:perl との連携 [kimu] 11/23 22:46
└◆9530:Re[15]:perl との連携 [tDB] 11/24 16:49
└◆9531:Re[16]:perl との連携 [kimu] 11/29 00:53
├◆9532:Re[17]:perl との連携 [田中徹] 11/29 01:34
└◆9533:Re[17]:perl との連携 [tDB] 11/30 16:48<-last