emath BBS

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

No.4395  hyou環境、
発言者: H.K
発言日: 2006 02/27 18:51
発言元: 202.11.101.49
いつも初歩的な質問でお世話になっています。
今回の質問も初歩的なものなのですが、
今日を作成するためにhyou環境とarray環境を
試したのですが、どちらもうまくいきません。
見よう見まねで作成したソースなので・・・・・
ご教授ください。
\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}
\usepackage{emathEy}
\usepackage{emathMw}
\begin{document}
\setlength\unitlength{1truecm}
\begin{center}
        {\large 家庭学習課題 数学}
\end{center}
\begin{flushright}
        平成17年2月22日(水)
\vspace{1zw}

             年   組 氏名          
\end{flushright}
★計算は絶対に消さないこと。
\begin{enumerate}
        \item
                下の立体について、底面の形、底面の数、側面の形、側面の数
                をそれぞれ調べ、下の表に書きなさい。

                \begin{array}{|*5{c|}}\hline
                         & 三角柱 & 三角錐 & 四角錐 & 五角錐 &\\\hline
                        底面の形 & & & & &\\\hline
                        底面の数 & & & & &\\\hline
                        側面の形 & & & & &\\\hline
                        側面の数 & & & & &\\\hline
                \end{arreay}
                \begin{hyou}{*5{|C{1zw}}C{1zw}|}\hline
                         & 三角柱 & 三角錐 & 四角錐 & 五角錐 &\\\hline
                        底面の形 & & & & &\\\hline
                        底面の数 & & & & &\\\hline
                        側面の形 & & & & &\\\hline
                        側面の数 & & & & &\\\hline
                \end{hyou}
\end{enumerate}
\end{document}
エラーメッセージは下記の通りです。
This is pTeX, Version 3.141592-p3.1.3 (sjis) (Web2C 7.5.2)
 \write18 enabled.
(./3_1.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/emathE.sty
(c:/usr/local/share/texmf/tex/latex/tools/enumerate.sty)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathEc.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/tex/latex/base/ifthen.sty))
(c:/usr/local/share/texmf/tex/latex/graphics/keyval.sty))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/jquote.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/emathPb.sty)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathPg.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))
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathEy.sty)
(c:/usr/local/share/texmf/ptex/platex/misc/emath/emathMw.sty) (./3_1.aux)
! Missing $ inserted.
<inserted text> 
                $
l.31 ^^I^^I\begin{array}{|*5{c|}}
                                 \hline
? 
! Emergency stop.
<inserted text> 
                $
l.31 ^^I^^I\begin{array}{|*5{c|}}
                                 \hline
No pages of output.
Transcript written on 3_1.log.

▼関連発言

4395:hyou環境、 [H.K] 02/27 18:51
 └4398:Re:hyou環境 [石原 守] 02/27 19:32
  └4400:Re[2]:hyou環境(解決) [H.K] 02/27 19:42<-last

Pass 保存


CGIROOM