| 1 |
%%% This file was generated by mgp.el (Ver.0.90). |
| 2 |
%%% Document source: file "sample.mgp" |
| 3 |
\documentclass[a4paper,landscape]{article} |
| 4 |
\input{mgp.sty} |
| 5 |
\begin{document} |
| 6 |
\parbox{\hsize}{ |
| 7 |
\normalfont \huge \nl |
| 8 |
\nl |
| 9 |
\nl |
| 10 |
\normalfont \centering {MagicPoint\nl} |
| 11 |
\normalfont \nl |
| 12 |
\nl |
| 13 |
\large {Keio University\nl} |
| 14 |
{Yoshifumi Nishida\nl} |
| 15 |
\normalsize {nishida{\makeatletter@\makeatother}sfc.wide.ad.jp\nl} |
| 16 |
\nl |
| 17 |
\large {Type SPC key!!\nl} |
| 18 |
} |
| 19 |
\newpage |
| 20 |
\parbox{\hsize}{ |
| 21 |
\normalfont \raggedright \tiny \nl |
| 22 |
\huge {\mgpi{1}{}How to Use \nl} |
| 23 |
\tiny \mgpb{10}{0}{100} |
| 24 |
{\mgpi{1}{}\nl} |
| 25 |
\normalfont \Large {\Large \mgpi{2}{$\Box$}forward page-$>$ press mouse1 button \nl} |
| 26 |
{\Large \mgpi{2}{$\Box$}backward page-$>$ press mouse3 button \nl} |
| 27 |
{\Large \mgpi{2}{$\Box$}quit -$>$ press q key \nl} |
| 28 |
{\mgpi{1}{}\nl} |
| 29 |
} |
| 30 |
\newpage |
| 31 |
\parbox{\hsize}{ |
| 32 |
\normalfont \raggedright \tiny \nl |
| 33 |
\huge {\mgpi{1}{}Command Line Option \nl} |
| 34 |
\tiny \mgpb{10}{0}{100} |
| 35 |
{\mgpi{1}{}\nl} |
| 36 |
\normalfont \Large {\mgpi{4}{-h:}display usage.\nl} |
| 37 |
{\mgpi{4}{-g:}geometry. Set the size of window, and placement.\nl} |
| 38 |
{\mgpi{4}{-o:}Do not override window manager.\nl} |
| 39 |
{\mgpi{4}{-b:}bgcolor. Set background color to bgcolor. (default: black)\nl} |
| 40 |
{\nl} |
| 41 |
\nl |
| 42 |
{\nl} |
| 43 |
} |
| 44 |
\newpage |
| 45 |
\parbox{\hsize}{ |
| 46 |
\normalfont \raggedright \tiny \nl |
| 47 |
\huge {\mgpi{1}{}Place text whereever you like!\nl} |
| 48 |
\tiny \mgpb{10}{0}{100} |
| 49 |
{\mgpi{1}{}\nl} |
| 50 |
\normalfont \LARGE \centering {\mgpi{1}{}center\nl} |
| 51 |
{\mgpi{1}{}\nl} |
| 52 |
{\mgpi{1}{}\nl} |
| 53 |
\raggedright {\mgpi{1}{}left\nl} |
| 54 |
{\mgpi{1}{}\nl} |
| 55 |
\raggedleft {\mgpi{1}{}right\nl} |
| 56 |
} |
| 57 |
\newpage |
| 58 |
\parbox{\hsize}{ |
| 59 |
\normalfont \raggedright \tiny \nl |
| 60 |
\huge {\mgpi{1}{}Use any font size as you like!\nl} |
| 61 |
\tiny \mgpb{10}{0}{100} |
| 62 |
{\mgpi{1}{}\nl} |
| 63 |
\normalfont \Large {\mgpi{1}{}\nl} |
| 64 |
\centering \Huge {\mgpi{1}{}Hello World\nl} |
| 65 |
\huge {\mgpi{1}{}Hello World\nl} |
| 66 |
\Large {\mgpi{1}{}Hello World\nl} |
| 67 |
\large {\mgpi{1}{}Hello World\nl} |
| 68 |
\normalsize {\mgpi{1}{}Hello World\nl} |
| 69 |
\tiny {\mgpi{1}{}Hello World\nl} |
| 70 |
\tiny {\mgpi{1}{}Hello World\nl} |
| 71 |
} |
| 72 |
\newpage |
| 73 |
\parbox{\hsize}{ |
| 74 |
\normalfont \raggedright \tiny \nl |
| 75 |
\huge {\mgpi{1}{}Font is selectable\nl} |
| 76 |
\tiny \mgpb{10}{0}{100} |
| 77 |
{\mgpi{1}{}\nl} |
| 78 |
\normalfont \Large {\mgpi{1}{}\nl} |
| 79 |
\large \centering {\mgpi{1}{}\nl} |
| 80 |
\normalfont {\mgpi{1}{}This is times-medium-r\nl} |
| 81 |
{\mgpi{1}{}\nl} |
| 82 |
\normalfont\itshape {\mgpi{1}{}This is times-medium-i\nl} |
| 83 |
{\mgpi{1}{}\nl} |
| 84 |
\normalfont\bfseries {\mgpi{1}{}This is times-bold-r\nl} |
| 85 |
{\mgpi{1}{}\nl} |
| 86 |
\normalfont\bfseries\itshape {\mgpi{1}{}This is times-bold-i\nl} |
| 87 |
} |
| 88 |
\newpage |
| 89 |
\parbox{\hsize}{ |
| 90 |
\normalfont \raggedright \tiny \nl |
| 91 |
\huge {\mgpi{1}{}Control can be mixed\nl} |
| 92 |
\tiny \mgpb{10}{0}{100} |
| 93 |
{\mgpi{1}{}\nl} |
| 94 |
\normalfont \Large {\mgpi{1}{}\nl} |
| 95 |
\normalfont \large {\mgpi{1}{}This is a\normalfont \LARGE Test\normalfont \Large message\nl} |
| 96 |
\normalfont \Large {\mgpi{1}{}\nl} |
| 97 |
} |
| 98 |
\newpage |
| 99 |
\parbox{\hsize}{ |
| 100 |
\normalfont \raggedright \tiny \nl |
| 101 |
\huge {\mgpi{1}{}Automatic folding of long line!\nl} |
| 102 |
\tiny \mgpb{10}{0}{100} |
| 103 |
{\mgpi{1}{}\nl} |
| 104 |
\normalfont \Large {\Large \mgpi{2}{$\Box$}Hello, this is MagicPoint. I can properly handle the folding opeation of very long line, of course english word-wise. The source code of this line is made up by a single line.\nl} |
| 105 |
{\large \mgpi{6}{$\bullet$}This is the next line. Even if the indentation changes, I can handle this! Yey!\nl} |
| 106 |
{\Large \mgpi{2}{$\Box$}You can also connect the line using backslash. Yes, UNIX tradition.\nl} |
| 107 |
} |
| 108 |
\newpage |
| 109 |
\parbox{\hsize}{ |
| 110 |
\normalfont \raggedright \tiny \nl |
| 111 |
\huge {\mgpi{1}{}Place inline images!\nl} |
| 112 |
\tiny \mgpb{10}{0}{100} |
| 113 |
{\mgpi{1}{}\normalfont \Large \centering \nl} |
| 114 |
} |
| 115 |
\newpage |
| 116 |
\parbox{\hsize}{ |
| 117 |
\normalfont \raggedright \tiny \nl |
| 118 |
\huge {\mgpi{1}{}Special effects!\nl} |
| 119 |
\tiny \mgpb{10}{0}{100} |
| 120 |
{\mgpi{1}{}\nl} |
| 121 |
\normalfont \Large {\mgpi{1}{}\nl} |
| 122 |
\LARGE \centering {\mgpi{1}{}test message\nl} |
| 123 |
{\mgpi{1}{}\nl} |
| 124 |
{\mgpi{1}{}test message\nl} |
| 125 |
{\mgpi{1}{}\nl} |
| 126 |
{\mgpi{1}{}test message\nl} |
| 127 |
} |
| 128 |
\newpage |
| 129 |
\parbox{\hsize}{ |
| 130 |
\normalfont \raggedright \tiny \nl |
| 131 |
\huge {\mgpi{1}{}Pause\nl} |
| 132 |
\tiny \mgpb{10}{0}{100} |
| 133 |
{\mgpi{1}{}\nl} |
| 134 |
\normalfont \Large {\Large \mgpi{2}{$\Box$}tap space bar (twice) to proceed.\nl} |
| 135 |
{\mgpi{1}{}\nl} |
| 136 |
\centering {\mgpi{1}{}Happy hacking!\nl} |
| 137 |
{\mgpi{1}{}Happy hacking!\nl} |
| 138 |
{\mgpi{1}{}Happy hacking!\nl} |
| 139 |
} |
| 140 |
\newpage |
| 141 |
\parbox{\hsize}{ |
| 142 |
\normalfont \raggedright \tiny \nl |
| 143 |
\huge {\mgpi{1}{}Grab command output into foils\nl} |
| 144 |
\tiny \mgpb{10}{0}{100} |
| 145 |
{\mgpi{1}{}\nl} |
| 146 |
\normalfont \Large {\Large \mgpi{2}{$\Box$}ls -l /kernel /bsd\nl} |
| 147 |
{\mgpi{1}{}\nl} |
| 148 |
\normalsize {\mgpi{5}{}\nl} |
| 149 |
{\Large \mgpi{2}{$\Box$}echo "this is test" | rev\nl} |
| 150 |
{\mgpi{5}{}\nl} |
| 151 |
{\mgpi{5}{}this is test\nl} |
| 152 |
{\mgpi{5}{}\nl} |
| 153 |
} |
| 154 |
\newpage |
| 155 |
\parbox{\hsize}{ |
| 156 |
\normalfont \raggedright \tiny \nl |
| 157 |
\huge {\mgpi{1}{}Subprocess (multimedia!)\nl} |
| 158 |
\tiny \mgpb{10}{0}{100} |
| 159 |
{\mgpi{1}{}\nl} |
| 160 |
\normalfont \Large {\mgpi{1}{}\nl} |
| 161 |
{\Large \mgpi{2}{$\Box$}Invoke xanim/mpegplay for multimedia presentation! :-)\nl} |
| 162 |
{\mgpi{1}{}\nl} |
| 163 |
{\Large \mgpi{2}{$\Box$}No duplicated subprocess for one declaration.\nl} |
| 164 |
{\Large \mgpi{2}{$\Box$}Geometry can be presentation-screen relative.\nl} |
| 165 |
{\Large \mgpi{2}{$\Box$}xeyes will vanish if you switch the page.\nl} |
| 166 |
{\mgpi{1}{}\nl} |
| 167 |
} |
| 168 |
\newpage |
| 169 |
\parbox{\hsize}{ |
| 170 |
\normalfont \raggedright \tiny \nl |
| 171 |
\huge {\mgpi{1}{}Have a nice day!\nl} |
| 172 |
\tiny \mgpb{10}{0}{100} |
| 173 |
{\mgpi{1}{}\nl} |
| 174 |
\normalfont \Large {\Large \mgpi{2}{$\Box$}Visit\nl} |
| 175 |
{\large \mgpi{6}{$\bullet$}\normalfont http://www.mew.org/mgp/\nl} |
| 176 |
\normalfont {\Large \mgpi{2}{$\Box$}for upcoming information.\nl} |
| 177 |
} |
| 178 |
\newpage |
| 179 |
|
| 180 |
\end{document} |