名前: 少しだけTeX 日時: 2006-06-12 10:42:00 IPアドレス: 210.139.37.*
カラーを使いたいと思い下記のサンプルを作りました。 %------print.tex--------- \documentclass[14pt]{jsarticle} \usepackage{emathP} \usepackage{emathPp} \usepackage[debug]{emathPs} \usepackage{emathMw} \usepackage[dvips]{graphicx,color} \begin{document} \setlength{\topmargin}{0pt} \iftombow \addtolength{\topmargin}{-1in} \else \addtolength{\topmargin}{-1truein} \fi \pagestyle{empty} \begin{center} \LARGE 数 学 プ リ ン ト \end{center} \begin{flushright} ( )月( )日( ) \vspace{2zw} \Large 氏名_________ \end{flushright} \begin{enumerate} \item 四則の混じった式の計算 \begin{flushleft} \begin{tabular}{r} $ \underline{ -2 \times 6 } +3$ \\ \begin{zahyou*}[ul=1zw](-1,3)(-1.3,-2) \ArrowLine<putstr={[e]{さきにかけ算を計算}}>{(0,0)}{(0,-2)} \end{zahyou*} \\ $= \overline{-12}+3$ \end{tabular} \end{flushleft} \end{enumerate} \end{document} ログは下記の通りです。 ### platex-sjis -sh ayu_hika.tex This is pTeX, Version 3.14159-p3.1.3 (sjis) (Web2C 7.4.5) \write18 enabled. (./ayu_hika.tex pLaTeX2e <2001/09/04>+0 (based on LaTeX2e <2001/06/01> patch level 0) (/usr/local/teTeX/share/texmf/ptex/platex/js/jsarticle.cls Document Class: jsarticle 2003/11/24 okumura ) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathP.sty (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathPp.sty (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathPh.sty (/usr/local/teTeX/share/texmf/tex/latex/eepic/epic.sty Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986 ) (/usr/local/teTeX/share/texmf/tex/latex/eepic/eepic.sty Extension to Epic and LaTeX. Version 1.1e - Released Dec 21, 1999 ) (/usr/local/teTeX/share/texmf/ptex/platex/emath/eclarith.sty eclarith.sty 1.1 --- July 1, 1992 ) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emath.sty (/usr/local/teTeX/share/texmf/ptex/platex/emath/emath2e.sty (/usr/local/teTeX/share/texmf/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/local/teTeX/share/texmf/tex/latex/amsmath/amstext.sty (/usr/local/teTeX/share/texmf/tex/latex/amsmath/amsgen.sty)) (/usr/local/teTeX/share/texmf/tex/latex/amsmath/amsbsy.sty) (/usr/local/teTeX/share/texmf/tex/latex/amsmath/amsopn.sty)) (/usr/local/teTeX/share/texmf/tex/latex/amsfonts/amssymb.sty (/usr/local/teTeX/share/texmf/tex/latex/amsfonts/amsfonts.sty)) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathE.sty (/usr/local/teTeX/share/texmf/tex/latex/tools/enumerate.sty) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathEc.sty (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathC.sty (/usr/local/teTeX/share/texmf/tex/latex/tools/calc.sty) (/usr/local/teTeX/share/texmf/tex/latex/base/ifthen.sty)) (/usr/local/teTeX/share/texmf/tex/latex/graphics/keyval.sty)) (/usr/local/teTeX/share/texmf/ptex/platex/emath/jquote.sty) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathK.sty)))) (/usr/local/teTeX/share/texmf/tex/latex/graphics/graphicx.sty (/usr/local/teTeX/share/texmf/tex/latex/graphics/graphics.sty (/usr/local/teTeX/share/texmf/tex/latex/graphics/trig.sty) (/usr/local/teTeX/share/texmf/tex/latex/config/graphics.cfg) (/usr/local/teTeX/share/texmf/tex/latex/graphics/dvips.def))) (/usr/local/teTeX/share/texmf/tex/latex/graphics/color.sty (/usr/local/teTeX/share/texmf/tex/latex/config/color.cfg) (/usr/local/teTeX/share/texmf/tex/latex/graphics/dvipsnam.def)))) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathPxy.sty) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathPk.sty) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathT.sty (/usr/local/teTeX/share/texmf/tex/latex/tools/array.sty) (/usr/local/teTeX/share/texmf/tex/latex/tools/hhline.sty)) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathPb.sty) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathPg.sty) (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathPsiki.sty (/usr/local/teTeX/share/texmf/ptex/platex/emath/emathLb.sty) ! LaTeX Error: Option clash for package color. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.7 \begin {document} ? \usepackage[dvips]{graphicx,color}に問題ありのようですが、 下記のサンプル %-------test.tex-------------- \documentclass{jarticle} \usepackage[dvips]{graphicx,color} \begin{document} こここは{\color[cmyk]{0.15,0,0.69,0}黄緑色}です。 \end{document} は正常にコンパイルされました。 どこが問題なのでしょうか。 ご教授ください。
この書き込みへの返事: