名前: 紙と筆 日時: 2002-09-26 14:54:02 IPアドレス: 131.112.109.*
>>11243 それでは、適当な文章を… ---------------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % こんなかんじのいいかげんな文章 (test.tex) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[ pdf, colorBG, slideColor, distiller, myslide]{prosper} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\usepackage{pst-all} \usepackage{pstricks} \usepackage{pst-node} \usepackage{pst-3d} \usepackage{pst-char} \usepackage{pst-fill} \usepackage{pst-grad} \usepackage{pst-plot} \usepackage{pst-text} \usepackage{eepic} \usepackage{ascmac} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{eucal} \usepackage{mathrsfs} \usepackage{graphicx} \usepackage{color} \input{colordvi} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} \bf%{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide}{} \begin{center} \begin{pspicture}(8,7) \rput(4.5,6){\psshadow[Tshadowsize=1.5] {\fontsize{.3in}{.3in}\selectfont 適当な題名}} \rput(4.5,0.7){\Sepia 適当な名前} \end{pspicture} \end{center} \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide}{} \begin{pspicture}(8.0,3.6) \rput(4,3.0){\ovalnode[framesep=4mm,linecolor=gris4]{A}{\fontsize{8pt}{8pt}\selectfont ほげ1}} \rput(1.7,1.8){\ovalnode[framesep=4mm,linecolor=gris4]{B}{\fontsize{8pt}{8pt}\selectfont ほげ2}} \rput(1.7,0.5){\ovalnode[framesep=4mm,linecolor=gris4]{C}{\fontsize{8pt}{8pt}\selectfont ほげ3}} \rput(6.3,1.8){\ovalnode[framesep=4mm,linecolor=gris4]{D}{\fontsize{8pt}{8pt}\selectfont ほげ4}} \rput(6.3,0.5){\ovalnode[framesep=4mm,linecolor=gris4]{E}{\fontsize{8pt}{8pt}\selectfont ほげ5}} \ncdiag[angleA=270,angleB=90]{->}{B}{C} \ncdiag[angleA=270,angleB=90]{->}{D}{E} \ncarc[arcangle=10]{<-}{B}{A} \ncarc[arcangle=10]{->}{A}{D} \rput(1,2.7){\fontsize{6pt}{6pt}\selectfont 手法1} \rput(7,2.7){\fontsize{6pt}{6pt}\selectfont 手法2} \psline[linestyle=dashed,linearc=0.5,linecolor=gris4](6.3,2.8)(3.8,2)(3.8,0.1) \end{pspicture} \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide}{} \begin{pspicture}(8.0,3.8) \rput(0.6,3.8){\footnotesize\bf mode 1} \rput(2.0,3.0){ \ovalnode[framesep=0mm,linecolor=gris4]{A}{\tiny $\begin{array}{c}\dot{x}=A_1x+b_1u+a_1\\x\in {\cal S}_1\end{array}$} \pscurve{->}(-.25,0.4)(0.75,.3)(0.00,.1) } \rput(5.8,2.7){\footnotesize\bf mode 2} \rput(5.8,1.8){ \ovalnode[framesep=0mm,linecolor=gris4]{B}{\tiny $\begin{array}{c}\dot{x}=A_2x+b_2u+a_2\\x\in {\cal S}_2\end{array}$} \pscurve{->}(-.5,-.4)(-.1,-.83)(-.9,-.48) } \rput(0.6,1.3){\footnotesize\bf mode 3} \rput(2.2,0.4){ \ovalnode[doubleline=true,framesep=0mm,linecolor=gris4]{C}{\tiny $\begin{array}{c}\dot{x}=A_3x+b_3u+a_3\\x\in {\cal S}_3\end{array}$} \pscurve{->}(0.,0.06)(.65,-.1)(-.3,-.3) } \ncarc{->}{A}{B} \ncarc{->}{B}{A} \ncarc{->}{B}{C} \ncarc{->}{C}{B} \ncarc[arcangle=30]{->}{A}{C} \ncarc[arcangle=30]{->}{C}{A} \end{pspicture} \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide}{モデル予測制御} \begin{center} \begin{pspicture}(8.0,4.2) % 1 \rput(1.0,3.4){\psaxes[labels=none,tickstyle=top,linecolor=gris4](5,.6) \rput(-.6,.3){\bf\scriptsize step 1} \rput(.15,.6){$u$} \rput(5,.3){$T$} \rput(0,-.2){$0$} \psplot[linecolor=red,linewidth=1.5pt]{0}{1}{.3} \psplot[linecolor=red,linewidth=1.5pt]{1}{2}{.4} \psplot[linewidth=1.5pt]{2}{3}{.25} \psplot[linewidth=1.5pt]{3}{4}{.1} \psplot[linewidth=1.5pt]{4}{5}{-.1} \cnode[linewidth=.1pt](1,0){.06}{A} \rput(2.5,-.35){\tiny 状態量のフィードバック} } % 2 \rput(2.0,2.0){\psaxes[labels=none,tickstyle=top,linecolor=gris4](5,.6) \rput(-1.6,.3){\bf\scriptsize step 2} \rput(.15,.6){$u$} \rput(5,.3){$T$} \rput(0,-.2){$0$} \psplot{0}{1}{.4} \psplot[linecolor=red,linewidth=1.5pt]{1}{2}{.25} \psplot[linewidth=1.5pt]{2}{3}{.1} \psplot[linewidth=1.5pt]{3}{4}{-.1} \psplot[linewidth=1.5pt]{4}{5}{-.05} \cnode[linewidth=.1pt](0,0){.06}{B} \cnode[linewidth=.1pt](1,0){.06}{C} \rput(2.5,-.35){\tiny 状態量のフィードバック} } % 3 \rput(3.0,0.6){\psaxes[labels=none,tickstyle=top,linecolor=gris4](5,.6) \rput(-2.6,.3){\bf\scriptsize step 3} \rput(.15,.6){$u$} \rput(5,.3){$T$} \rput(0,-.2){$0$} \psplot[linewidth=1.5pt]{0}{1}{.25} \psplot[linecolor=red,linewidth=1.5pt]{1}{2}{.1} \psplot[linewidth=1.5pt]{2}{3}{-.1} \psplot[linewidth=1.5pt]{3}{4}{-.05} \psplot[linewidth=1.5pt]{4}{5}{-.03} \cnode[linewidth=.1pt](0,0){.06}{D} } % \rput(.4,.5){$\vdots$} \ncarc[arcangle=-40,linestyle=dashed,linecolor=gris4]{->}{A}{B} \ncarc[arcangle=-40,linestyle=dashed,linecolor=gris4]{->}{C}{D} \psframe[linewidth=.1pt](6.5,2.95)(8,3.75) \rput(7,3.5){\tiny\bf 最適解 \psline[linewidth=1.5pt](0,.05)(.5,.05)} \rput(7,3.2){\tiny\bf ~入力~~ \psline[linecolor=red,linewidth=1.5pt](0,.05)(.5,.05)} \end{pspicture} \end{center} \end{slide} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{slide}{こんにちわ赤ちゃん} わたしがままよ \end{slide} \end{document} ---------------------------------------------------------------------- 後はスタイル ---------------------------------------------------------------------- %============================================================================== % Style File for Prosper %============================================================================== \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{PPRmyslide}[2000/04/18] \IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} \RequirePackage{semhelv} % Colors \newgray{gris1}{.40} \newgray{gris2}{.85} \newgray{gris3}{.30} \newgray{gris4}{.25} \newgray{gris5}{.90} \newrgbcolor{lightblue}{.30 .86 .89} \newrgbcolor{dodgerblue}{.12 .56 .99} \ifinColor \def\colA{blue} \def\colB{black} \global\let\colC=\lightblue \ifcolorBG \global\let\colD=\white \else \global\let\colD=\black \fi \else \def\colA{white} \def\colB{lightgray} \global\let\colC=\blue \global\let\colD=\black \fi % fonts \FontTitle{% \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\Sepia}{% \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\Sepia} \FontText{% \usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont\black}{% \usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont\black} \def\labelitemi{\ensuremath{\blacktriangleright}} \newcommand{\slidetitle}[1]{% %\rput[rb](12.0,3.6){% \rput[rb](11.8,3.6){% \parbox{10.5cm}{\fontTitle{#1}}}} \LogoPosition{-.7,-.1} % theme \def\TWRFrame#1{% \psframe[linestyle=none,fillstyle=gradient, gradbegin=blue, gradend=gris2,gradmidpoint=0.9]% (-1.2,-1.4)(-0.9,8.8) \psframe[linestyle=none,fillstyle=gradient, gradbegin=blue, gradend=gris2,gradmidpoint=0.2]% (-1.2,4)(-0.65,8.8) \psframe[linestyle=none,fillstyle=gradient, gradbegin=gris2,gradend=blue,gradmidpoint=0.4]% (-1.2,7.8)(0.9,8.8) \psframe[linestyle=none,fillstyle=gradient, gradbegin=gris2,gradend=blue,gradmidpoint=0.2]% (-1.2,7)(0.4,8.8) \psframe[linestyle=none,fillstyle=gradient, gradbegin=blue, gradend=gris2,gradmidpoint=0.2]% (-1.2,6.2)(-0.2,8.8) \psframe[linestyle=none,fillstyle=gradient,gradangle=80, gradbegin=gris1,gradend=gris5,gradmidpoint=0.7]% (-1.2,7)(11.6,7.1) \PutLogo % Mandatory {#1}} \myitem{1}{\footnotesize \red ◇} \myitem{2}{\footnotesize \yellow ○} \myitem{3}{\footnotesize \green △} \NewSlideStyle{t}{5.4,3.0}{TWRFrame} \PDFCroppingBox{10 40 594 820} \renewpagestyle{GenericPageStyle}{\hfill }{\hfill% \ifisDraft% {\@colorFoot\tiny \textbf{\jobname.tex}~--~\@Title~--~\@Author~--~\number\day/\number\month/\number\year~--~\timenow~--~p.\thepage\ifallPages/\realpageref{last@page}\fi}% \else% \ifshowVersion% {\@colorFoot\tiny \textbf{\jobname.tex}~--~\@Title~--~\@Author~--~\number\day/\number\month/\number\year~--~\timenow~--~p.\thepage\ifallPages/\realpageref{last@page}\fi}% \else% %{\@colorFoot\tiny \@cartouche~--~p.\thepage\ifallPages/\realpageref{last@page}\fi} \fi\fi% }% \def\@addBookmarkOnSlide#1{} \endinput ---------------------------------------------------------------------- # Makefile test: platex test.tex dvips test.dvi ps2pdf test.ps acroread test.pdf ---------------------------------------------------------------------- document の方の pst-all を有効にすると pst-tree でエラーが 出てしまっているような気がします。 また、使い方が変だというところがあれば、教えてください。 あと、dvips の話ですが、いつもはファイルを分けて Distiller でくっつけたりしてます。
この書き込みへの返事: