名前: アーベル 日時: 2007-11-27 11:56:44 IPアドレス: 221.121.175.*
コマンド\psfragがうまく使えないのです. 以下のこと教えていただけないでしょうか? まずLaTeXプログラム %%%%%%%%%%%%%%%%%%%ここから%%%%%%%%%全微分.tex%%%%%%%%%%%% \documentclass[12pt,b5paper]{jsbook} %他の部分との関わりで次の文は絶対必要. ところが..... % \usepackage[dvips,dviout,dvipdfm]{graphicx,color} % \usepackage[dvips]{psfrag}%これのみだとうまく出ます. \begin{document} \psfrag{Qab}{$Q(a+\Delta x,b+\Delta y)$} \includegraphics{全微分の図.eps} \end{document} %%%%%%%%%%%%%%%%%%%%ここまで%%%%%%%%%%%%%%%%%%%%%%%%%% pdf画面にギリシャ文字\Deltaを出したいのですが上手く行ったり行かなかったり. DOS上でやったこと. platex 全微分.tex dvipsk 全微分.dvi ps2pdf 全微分.ps \usepackage[dvips,dviout,dvipdfm]{graphicx,color}を使った上でギリシャ文字(要するにLaTeX出力)を出したいのです. 長くなってすいません. %%%%%%%%%%%%%全微分の図.epsの内容%%%%%ここから%%%%%%%%%%%%%%%%%%%%%%%%%%% %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: 27 77 606 456 %%Creator: EPS-draw ver 4.43 %%CreationDate: 2007/11/27 10:19:35 %%Title: 全微分の図.eps %%Pages: 1 %%DocumentSuppliedResources: procset (EPS-draw figure) 2.3 0 %%+ procset (EPS-draw string) 2.3 0 %%DocumentNeededResources: font Symbol %%+ font Times-Roman %%EndComments %%BeginProlog %%BeginResource: procset (EPS-draw figure) 2.3 0 /edrawdict 64 dict def edrawdict begin /L0 [] def /L1 [18 6] def /L2 [3 3] def /L3 [9 6 3 6] def /L4 [9 3 3 3 3 3] def /LineSet { 3 -1 roll 255 div 3 -1 roll 255 div 3 -1 roll 255 div setrgbcolor setlinewidth 0 setdash } def /DrawLine { newpath /Close exch def 3 1 roll moveto { lineto } repeat Close 1 ge { closepath } if Close 2 eq { gsave fill grestore } if stroke } def /DrawCurve { newpath /Close exch def 3 1 roll moveto Close 1 ge { 1 add } if { curveto } repeat Close 1 ge { closepath } if Close 2 eq { gsave fill grestore } if stroke } def /AddArrow { newpath L0 0 setdash 7 -2 roll moveto currentpoint 4 2 roll rmoveto lineto rlineto 1 eq { closepath gsave fill grestore } if stroke } def /DrawEllipse { gsave newpath /Close exch def 8 2 roll 6 1 roll 8 1 roll /Y2 exch def /X2 exch def /Y1 exch def /X1 exch def X1 X2 add 2 div Y1 Y2 add 2 div translate rotate /X1 X1 X2 sub abs 2 div def /Y1 Y1 Y2 sub abs 2 div def /R1 X1 Y1 add 2 div def X1 R1 div Y1 R1 div scale Close 1 eq { 0 0 moveto } if 0 0 R1 5 -2 roll arc Close 1 ge { closepath } if 1 eq { gsave fill grestore } if stroke grestore } def /DrawBox { gsave newpath 6 2 roll 0 setlinejoin /Y2 exch def /X2 exch def /Y1 exch def /X1 exch def X1 X2 add 2 div Y1 Y2 add 2 div translate rotate /X1 X1 X2 sub abs def /Y1 Y1 Y2 sub abs def X1 -2 div Y1 -2 div moveto X1 0 rlineto 0 Y1 rlineto X1 neg 0 rlineto closepath 1 eq { gsave fill grestore } if stroke grestore } def /DrawRoundBox { gsave newpath 7 2 roll /R1 exch def /Y2 exch def /X2 exch def /Y1 exch def /X1 exch def X1 X2 add 2 div Y1 Y2 add 2 div translate rotate /X2 X1 X2 sub abs 2 div def /Y2 Y1 Y2 sub abs 2 div def /X1 X2 neg def /Y1 Y2 neg def X1 Y1 R1 add moveto X1 Y2 X2 Y2 R1 arcto pop pop pop pop X2 Y2 X2 Y1 R1 arcto pop pop pop pop X2 Y1 X1 Y1 R1 arcto pop pop pop pop X1 Y1 X1 Y2 R1 arcto pop pop pop pop 1 eq { gsave fill grestore } if stroke grestore } def end %%EndResource %%BeginResource: procset (EPS-draw string) 2.3 0 edrawdict begin /F0 /Times-Roman def /F1 /Times-Bold def /F2 /Times-Italic def /F3 /Times-BoldItalic def /F4 /Helvetica def /F5 /Helvetica-Bold def /F6 /Helvetica-Oblique def /F7 /Helvetica-BoldOblique def /F8 /Courier def /F9 /Courier-Bold def /F10 /Courier-Oblique def /F11 /Courier-BoldOblique def /F16 /Symbol def /FS /Symbol def /InitStr { 3 -1 roll 255 div 3 -1 roll 255 div 3 -1 roll 255 div setrgbcolor moveto gsave currentpoint translate } def /TransStr { 3 -1 roll rotate exch 100 div exch 100 div scale } def /EndStr { grestore } def /PrintStr { 3 -1 roll findfont 3 -1 roll scalefont setfont show } def /MoveY { currentpoint pop ( ) stringwidth pop 4 div add exch moveto } def /At2 { /X1 currentpoint pop def } def /At1 { currentpoint pop X1 0 moveto 0 MoveY /X1 exch def } def /At0 { X1 currentpoint pop gt { X1 0 moveto } if 0 MoveY } def /CalcSize { gsave newpath 0 0 moveto true charpath flattenpath pathbbox /Y2 exch def /X2 exch def pop pop grestore } def /MoveAcc { X2 dup 3 -1 roll stringwidth pop sub 2 div sub currentpoint pop exch sub currentpoint exch pop Y2 1.1 mul add moveto } def /PrintAcc { dup 4 1 roll PrintStr CalcSize gsave dup 4 1 roll 3 -1 roll findfont 3 -1 roll scalefont setfont MoveAcc show grestore } def end %%EndResource %%EndProlog %%BeginSetup %%IncludeResource: font Times-Roman %%IncludeResource: font Symbol %%EndSetup %%Page: 1 1 gsave 1 setlinecap 1 setlinejoin edrawdict begin % --- Begin Program -------------------------------- % No.0 (Layer 0) ---> Line L0 1 0 0 0 LineSet 71 435 71 88 1 0 DrawLine 71 435 0 -5 -10 5 -10 AddArrow % No.1 (Layer 0) ---> Line L0 1 0 0 0 LineSet 572 134 25 134 1 0 DrawLine 572 134 0 -10 -5 -10 5 AddArrow % No.2 (Layer 0) ---> Line L0 1 0 0 0 LineSet 212 405 54 102 1 0 DrawLine 212 405 0 -9 -7 0 -12 AddArrow % No.3 (Layer 0) ---> String 77 107 0 0 0 InitStr F0 16 (O) PrintStr EndStr % No.4 (Layer 0) ---> String 554 113 0 0 0 InitStr F0 16 (x) PrintStr EndStr % No.5 (Layer 0) ---> String 179 402 0 0 0 InitStr F0 20 (y) PrintStr EndStr % No.6 (Layer 0) ---> String 89 417 0 0 0 InitStr F0 20 (z) PrintStr EndStr % No.7 (Layer 0) ---> Line L2 1 0 0 0 LineSet 293 386 147 107 1 0 DrawLine % No.8 (Layer 0) ---> Line L2 1 0 0 0 LineSet 470 386 323 106 1 0 DrawLine % No.9 (Layer 0) ---> Line L2 1 0 0 0 LineSet 532 173 35 173 1 0 DrawLine % No.10 (Layer 0) ---> Line L2 1 0 0 0 LineSet 565 228 39 228 1 0 DrawLine % No.11 (Layer 0) ---> String 184 160 0 0 0 InitStr F0 19 (P\(a,b\)) PrintStr EndStr % No.12 (Layer 0) ---> String 392 213 0 0 0 InitStr F0 24 (Qab) PrintStr EndStr % --- End Program ---------------------------------- end grestore showpage %%Trailer %%EOF %%%%%%%%%%%%%%%%%ここまで%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
この書き込みへの返事: