発言者: H.K
発言日: 2005 12/08 13:16
発言元: 202.11.101.49
\KAKUkigouを使いたくて、過去記事
No.552 RE[3]:KAKUkigouの標準値を変更したい
を参考にして、下記のソースをコンパイルしました。
最後の方の\Drawlines{\A\O\C}でエラーが発生しますが、
どこに原因があるのか分かりません。
なお、下記ソースも試行錯誤で作成したもので、
pictureやmawarikomiの設定がおかしいと思います。
ご教授お願いいたします。
なお、参考記事にあるサンプルソースは正常に
コンパイルできました。
\documentclass[12pt]{jsarticle}
%\setlength{\topmargin}{60pt}
\iftombow
\addtolength{\topmargin}{-1in}
\else
\addtolength{\topmargin}{-1truein}
\fi
\setlength{\textheight}{43\baselineskip}
\addtolength{\textheight}{\topskip}
\usepackage{emathP}
\usepackage[debug]{emathPs}
\begin{document}
\setlength\unitlength{1truecm}
\begin{center}
{\large 家庭学習課題 数学}
\end{center}
\begin{flushright}
平成17年11月30(水)
\vspace{1zw}
年 組 氏名
\end{flushright}
\pagestyle{empty}
\begin{enumerate}
\item 下の図のように、3点A,B,Cがあるとき
次の線を書きなさい。
\begin{mawarikomi}{100pt}
{
\begin{flushright}
\begin{picture}(5,-10)
\begin{pszahyou*}[ul=10mm]
(-0.5,7)(-0.5,7)
\tenretu{A(2,3)n;B(0,0)n;C(5,0)n}
\kuromaru{\A;\B;\C}
\end{pszahyou*}
\end{picture}
\end{flushright}
}
\begin{edaenumerate}<retusuu=1,gyoukan=1zw>[(1)]
\item 直線BC
\item 線分AC
\end{edaenumerate}
\end{mawarikomi}
\item 下の図の長方形ABCDについて、次の問に答えなさい。
\begin{mawarikomi}{120pt}
{
\begin{picture}(10,5)
\begin{pszahyou*}[ul=10mm]
(0,7)(0,7)
\tenretu{A(0,3)w;B(0,0)w;C(5,0)e;D(5,3)e}
\Drawline{\A\B\C\D\A}
\end{pszahyou*}
\end{picture}
}
\begin{edaenumerate}<retusuu=1,gyoukan=3zw>[(1)]
\item 辺ABと辺DCの位置関係を記号を使って
表しなさい。
\item 辺ADと辺DCの位置関係を記号を使って
表しなさい。
\end{edaenumerate}
\end{mawarikomi}
\item 下の図について、次の問に答えなさい。
%\begin{mawarikomi}{100pt}
%{
\begin{picture}(10,5)
\begin{pszahyou*}[ul=5mm]
(0,10)(-0.5,5)
\def\A{(0.0)}
\def\O{(5,0)}
\def\C{(7,5)}
\def\B{(10,0)}
\Drawlines{\A\O\C}% ここでエラーが発生します。
\KAKUkigou<1>\A\O\B{}
\end{pszahyou*}
\end{picture}
%}
\begin{edaenumerate}<retusuu=1,gyoukan=3zw>[(1)]
\item ァ角を、記号と文字を使って表しなさい。
\item ィの角を、記号と文字を使って表しなさい
\item ァの角が$55\Deg$のとき、ィの角の大きさを
求めなさい。
\end{edaenumerate}
%\end{mawarikomi}
\end{enumerate}
\end{document}
エラーメッセージは下記の通りです。
This is pTeX, Version 3.141592-p3.1.3 (sjis) (Web2C 7.5.2)
\write18 enabled.
(./12_7.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
) (c:/usr/local/share/texmf/ptex/platex/misc/emath/emathP.sty
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPp.sty
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPh.sty
(c:/usr/local/share/texmf/jtex/latex209/tools/epic.sty
Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986
) (c:/usr/local/share/texmf/jtex/latex209/tools/eepic.sty
Extension to Epic and LaTeX. Version 1.1b - Released Febrary 7, 1988
) (c:/usr/local/share/texmf/jtex/latex209/tools/eclarith.sty
eclarith.sty 1.1 --- July 1, 1992
) (c:/usr/local/share/texmf/ptex/platex/misc/emath/emath.sty
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emath2e.sty
(c:/usr/local/share/texmf/tex/latex/amslatex/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/usr/local/share/texmf/tex/latex/amslatex/amstext.sty
(c:/usr/local/share/texmf/tex/latex/amslatex/amsgen.sty))
(c:/usr/local/share/texmf/tex/latex/amslatex/amsbsy.sty)
(c:/usr/local/share/texmf/tex/latex/amslatex/amsopn.sty))
(c:/usr/local/share/texmf/tex/latex/amsfonts/amssymb.sty
(c:/usr/local/share/texmf/tex/latex/amsfonts/amsfonts.sty))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathC.sty
(c:/usr/local/share/texmf/tex/latex/tools/calc.sty))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathE.sty
(c:/usr/local/share/texmf/tex/latex/tools/enumerate.sty)
(c:/usr/local/share/texmf/tex/latex/graphics/keyval.sty)
(c:/usr/local/share/texmf/tex/latex/base/ifthen.sty)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathMw.sty
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathLb.sty))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathK.sty))))
(c:/usr/local/share/texmf/tex/latex/graphics/graphicx.sty
(c:/usr/local/share/texmf/tex/latex/graphics/graphics.sty
(c:/usr/local/share/texmf/tex/latex/graphics/trig.sty)
(c:/usr/local/share/texmf/tex/latex/config/graphics.cfg)
(c:/usr/local/share/texmf/tex/latex/graphics/dvips.def)))
(c:/usr/local/share/texmf/tex/latex/graphics/color.sty
(c:/usr/local/share/texmf/tex/latex/config/color.cfg)
(c:/usr/local/share/texmf/tex/latex/graphics/dvipsnam.def))))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPxy.sty)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPk.sty)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathT.sty
(c:/usr/local/share/texmf/tex/latex/tools/array.sty)
(c:/usr/local/share/texmf/tex/latex/tools/hhline.sty)))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPs.sty
(c:/usr/local/share/texmf/tex/latex/tools/verbatim.sty)
(c:/usr/local/share/texmf/tex/latex/misc/lastpage.sty)) (./12_7.aux)
LaTeX Warning: mawarikomi環境を段落途中に配置しました。 on input line 38.
<./12_71.eps>
Overfull \hbox (18.5524pt too wide) in paragraph at lines 38--38
[]
(c:/usr/local/share/texmf/tex/latex/amsfonts/umsa.fd)
(c:/usr/local/share/texmf/tex/latex/amsfonts/umsb.fd)
LaTeX Warning: mawarikomi環境を段落途中に配置しました。 on input line 55.
<./12_72.eps>
Overfull \hbox (117.1048pt too wide) in paragraph at lines 55--55
[][]
! Illegal unit of measure (pt inserted).
<to be read again>
)
l.78 \Drawlines{\A\O\C}
?
! Emergency stop.
<to be read again>
)
l.78 \Drawlines{\A\O\C}
No pages of output.
Transcript written on 12_7.log.
▼関連発言
│
└◆4102:\KAKUkigouを使いたいのですが [H.K] 12/08 13:16
└◆4103:Re:\KAKUkigouを使いたいのですが [tDB] 12/08 13:33
└◆4104:Re[2]:\KAKUkigouを使いたい(解決) [H.K] 12/08 13:39<-last