Re: picture環境で任意の角度の直線を引きたい

名前: 平田
日時: 2005-05-19 16:10:24
IPアドレス: 61.25.158.*

>>35942 pict2e を tpic special で書き出すように変更するというのはどうでしょう。(できれば ドライバ・オプションとして) とりあえずかなりいい加減なものができました。(線が引けるだけです) \documentclass[]{article} \usepackage{pict2e} \makeatletter \renewcommand\pIIe@moveto[2]{% \@tempdima=#1\multiply\@tempdima by 14% 0.07227pt = 1 mili-inch \@tempdimb=#2\multiply\@tempdimb by 14% \special{pa \strip@pt\@tempdima\space-\strip@pt\@tempdimb}}% \let\pIIe@lineto\pIIe@moveto% \renewcommand\pIIe@strokeGraph{% \@tempdima=\@wholewidth\multiply\@tempdima by 14% \special{pn \strip@pt\@tempdima}% \special{fp}}% \makeatother \begin{document} \begin{picture}(100,100) \linethickness{3pt} \put(20,20){\line(3,1){100}} \end{picture} \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)