%%% This file was generated by mgp.el (Ver.0.90). %%% Document source: file "sample.mgp" \documentclass[a4paper,landscape]{article} \input{mgp.sty} \begin{document} \parbox{\hsize}{ \normalfont \huge \nl \nl \nl \normalfont \centering {MagicPoint\nl} \normalfont \nl \nl \large {Keio University\nl} {Yoshifumi Nishida\nl} \normalsize {nishida{\makeatletter@\makeatother}sfc.wide.ad.jp\nl} \nl \large {Type SPC key!!\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}How to Use \nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\Large \mgpi{2}{$\Box$}forward page-$>$ press mouse1 button \nl} {\Large \mgpi{2}{$\Box$}backward page-$>$ press mouse3 button \nl} {\Large \mgpi{2}{$\Box$}quit -$>$ press q key \nl} {\mgpi{1}{}\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Command Line Option \nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\mgpi{4}{-h:}display usage.\nl} {\mgpi{4}{-g:}geometry. Set the size of window, and placement.\nl} {\mgpi{4}{-o:}Do not override window manager.\nl} {\mgpi{4}{-b:}bgcolor. Set background color to bgcolor. (default: black)\nl} {\nl} \nl {\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Place text whereever you like!\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \LARGE \centering {\mgpi{1}{}center\nl} {\mgpi{1}{}\nl} {\mgpi{1}{}\nl} \raggedright {\mgpi{1}{}left\nl} {\mgpi{1}{}\nl} \raggedleft {\mgpi{1}{}right\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Use any font size as you like!\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\mgpi{1}{}\nl} \centering \Huge {\mgpi{1}{}Hello World\nl} \huge {\mgpi{1}{}Hello World\nl} \Large {\mgpi{1}{}Hello World\nl} \large {\mgpi{1}{}Hello World\nl} \normalsize {\mgpi{1}{}Hello World\nl} \tiny {\mgpi{1}{}Hello World\nl} \tiny {\mgpi{1}{}Hello World\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Font is selectable\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\mgpi{1}{}\nl} \large \centering {\mgpi{1}{}\nl} \normalfont {\mgpi{1}{}This is times-medium-r\nl} {\mgpi{1}{}\nl} \normalfont\itshape {\mgpi{1}{}This is times-medium-i\nl} {\mgpi{1}{}\nl} \normalfont\bfseries {\mgpi{1}{}This is times-bold-r\nl} {\mgpi{1}{}\nl} \normalfont\bfseries\itshape {\mgpi{1}{}This is times-bold-i\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Control can be mixed\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\mgpi{1}{}\nl} \normalfont \large {\mgpi{1}{}This is a\normalfont \LARGE Test\normalfont \Large message\nl} \normalfont \Large {\mgpi{1}{}\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Automatic folding of long line!\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \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} {\large \mgpi{6}{$\bullet$}This is the next line. Even if the indentation changes, I can handle this! Yey!\nl} {\Large \mgpi{2}{$\Box$}You can also connect the line using backslash. Yes, UNIX tradition.\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Place inline images!\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\normalfont \Large \centering \nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Special effects!\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\mgpi{1}{}\nl} \LARGE \centering {\mgpi{1}{}test message\nl} {\mgpi{1}{}\nl} {\mgpi{1}{}test message\nl} {\mgpi{1}{}\nl} {\mgpi{1}{}test message\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Pause\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\Large \mgpi{2}{$\Box$}tap space bar (twice) to proceed.\nl} {\mgpi{1}{}\nl} \centering {\mgpi{1}{}Happy hacking!\nl} {\mgpi{1}{}Happy hacking!\nl} {\mgpi{1}{}Happy hacking!\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Grab command output into foils\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\Large \mgpi{2}{$\Box$}ls -l /kernel /bsd\nl} {\mgpi{1}{}\nl} \normalsize {\mgpi{5}{}\nl} {\Large \mgpi{2}{$\Box$}echo "this is test" | rev\nl} {\mgpi{5}{}\nl} {\mgpi{5}{}this is test\nl} {\mgpi{5}{}\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Subprocess (multimedia!)\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\mgpi{1}{}\nl} {\Large \mgpi{2}{$\Box$}Invoke xanim/mpegplay for multimedia presentation! :-)\nl} {\mgpi{1}{}\nl} {\Large \mgpi{2}{$\Box$}No duplicated subprocess for one declaration.\nl} {\Large \mgpi{2}{$\Box$}Geometry can be presentation-screen relative.\nl} {\Large \mgpi{2}{$\Box$}xeyes will vanish if you switch the page.\nl} {\mgpi{1}{}\nl} } \newpage \parbox{\hsize}{ \normalfont \raggedright \tiny \nl \huge {\mgpi{1}{}Have a nice day!\nl} \tiny \mgpb{10}{0}{100} {\mgpi{1}{}\nl} \normalfont \Large {\Large \mgpi{2}{$\Box$}Visit\nl} {\large \mgpi{6}{$\bullet$}\normalfont http://www.mew.org/mgp/\nl} \normalfont {\Large \mgpi{2}{$\Box$}for upcoming information.\nl} } \newpage \end{document}