Newsgroups: fj.comp.texhax
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!news.u-tokyo.ac.jp!newssinet!euclides.josai.ac.jp!yamasaki
From: yamasaki@euclides.josai.ac.jp (Masayuki Yamasaki)
Subject: Re: Put char at the beginning of every line
Message-ID: <D7qALM.84n@euclides.josai.ac.jp>
Lines: 60
Sender: yamasaki@euclides.josai.ac.jp (Masayuki Yamasaki)
Organization: Josai University
X-Newsreader: mnews [version 1.17] 1994-01/27(Thu)
Distribution: fj
Date: Fri, 28 Apr 1995 04:46:33 GMT
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:6180
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=6180&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B;3:j!w>k@>?t3X!!$H?=$7$^$9!#(B

$B@D>B(B $B=(;y$5$s(Baonuma@ginnan.issp.u-tokyo.ac.jp$B$N(B

>> $B3F9T$N:G=i$K!"J8;z$^$?$O%^!<%/$rF~$l$kJ}K!$r65$($F2<$5$$!#(B

$B$H$$$&5-;v$r8+$F!"$R$H$D%"%$%G%"$,$"$C$?$N$G!"(BplainTeX $BMQ$K=q$$$?(B
$B$b$N$r@D>B$5$s$KAw$j$^$7$?!#%a!<%k$r$d$j$H$j$7$J$,$i!"Fs?M$G>/$7(B
$B$:$D2~NI$7$^$7$?$,!"$"$^$j?JJb$7$J$/$J$C$F$7$^$C$?$N$G!"$3$3$i(B
$B$"$?$j$G0lEY8x3+!J$H$$$&$[$I$G$b$J$$$+(B(^^;$B!K$7$^$9!#(B

$B0zMQItJ,$G$"$^$j$`$:$+$7$$$3$H$r$7$F$$$J$1$l$P!"$&$^$/$$$-$^$9!#(B
LaTeX $BMQ$O@D>B$5$s$N$H$3$m$K$"$j$^$9$N$G!"Ld$$9g$o$;$F$_$F2<$5$$!#(B

$B8e$m$K(B %% $B$r$D$1$?9T$OE,Ev$K<+J,MQ$K%+%9%?%^%$%:$7$F$/$@$5$$!#(B
$B%^%/%mL>!&%\%C%/%9L>$J$I$bF1MM$G$9!#(B

$B$b$7GO</$J$3$H$r$d$C$F$$$?$i!">P$C$F$d$C$F2<$5$$!#(B

---- sample.tex for plainTeX----
%%%% definitins %%%%
\splittopskip=0pt

\newbox\citebox
\newbox\tempciteboxa
\newbox\citesymbol
\def\begincite#1{
\setbox\citesymbol=\hbox{#1\enskip} %%
\setbox\citebox=\vbox\bgroup
\advance\hsize by -\wd\citesymbol} %%

\def\endcite{%
\egroup
\medbreak
\loop\ifvbox\citebox
\setbox\tempciteboxa=\vsplit\citebox to 6.9444pt
\hbox{\copy\citesymbol\vbox{\unvbox\tempciteboxa}}
\repeat
\medbreak}

%%%% sample usage %%%%
%\noindent
This is a sample!  This is a sample!  This is a sample!  This is a sample!
This is a sample!  This is a sample!  This is a sample!  This is a sample!

\begincite{\tt >>}
   \TeX{} is an accessible and effective tool 
   for typesetting written documents.
   Users at all levels of experience, 
   however, sometimes require help not readily available. 

   \bigbreak %%% Yes, it is a bug!  This break will disappear in the output.

   \halign{#\hfil&\quad#\hfil\cr
      Horizontal lists&Chapter 14\cr
      Vertical lists&Chapter 15\cr
      Math lists&Chapter 17\cr}
\endcite
\bye
---- end of sample.tex ----
===============================================================
                        Masayuki YAMASAKI
                        Dept. of Math., Josai University
                        E-mail: myamasa@tansei.cc.u-tokyo.ac.jp
                                yamasaki@euclides.josai.ac.jp
===============================================================
