From: hirata@nssun.te.chiba-u.ac.jp (Mitsuo Hirata)
Newsgroups: fj.comp.texhax,cu.comp
Subject: Re: hline
Date: 16 Nov 92 11:33:11 GMT
Followup-To: fj.comp.texhax
Distribution: fj
Organization: Mita laboratory, Faculty of Engineering, Chiba University
In-reply-to: hirata@mila.te.chiba-u.ac.jp's message of 11 Nov 92 02:54:56 GMT

$@J?ED!w@iMUBg$H?=$7$^$9!#(J

$@@hF|!"(JLaTeX$@$G(J
LaTeX $@$G9TNs$r<B@~$@$1$G$O$J$/!"E@(J$@@~$GMWAG$rJ,3d$9$k$K$O$I$N$h$&$K$9$l(J
$@$PNI$$$+$H<ALd$7$?$H$3$m(J

$@5~Bg$N(J $@CfEgMM(J
$@ElBg$N(J $@>._7MM(J
$@>>2<%=%U%H(J$@%j%5!<%A$N?9C+MM(J

$@$+$i%a!<%k$G(J

ASTEC$@$N:d2<MM(J

$@$+$i%K%e!<%9$G%U%)%m!<$,$"$j$^$7$?!#(J

$@5~Bg$NCfEgMM(J(nakasima@kuis.kyoto-u.ac.jp)
$@$+$i$O2?EY$+%a!<%k$G$d$j<h$j$r$5$;$FD:$-!"(J
$@2#$@$1$G$O$J$/=D$NE@@~$b0z$1$k%^(J$@%/%m$r:n$C$FD:$-$^$7$?!#(J

$@=D$NE@@~$r0z$/%^%/%m$O0k:j$5$s$N(JLaTeX$@<+M3<+:_$K$b:\$C$F$*$i$:!"(J
$@$I$NMM$K$7$?(J$@$iNI$$$+$o$+$i$::$$C$F$$$?$?$aBgJQ=u$+$j$^$7$?!#(J

$@3'MM!"$"$j$,$H$&$4$6$$$^$9!#(J

$@$^$?!"$3$NFbMF$N5-;v$r(J$@#1EYEj9F$7$?$N$G$9$,!"(J
$@%U%)!<%m$7$FD:$$$?J}$NL>A0$r4V0c$($k$H$$$&!"Hs>o$KCQ$:$+$7$$%_%9$r(J
$@$*$+$7$F$7$^(J$@$C$?$?$a!":FEYEj9F$5$;$FD:$-$^$7$?!#(J
$@?=$7Lu$"$j$^$;$s$G$7$?!#(J
$@$=$N$?$a!"$=$N5-;v$O%-%c%s%;%k$5$;$FD:$-(J$@$^$7$?!#(J

$@;29M$^$G$K!"CfEgMM$K$D$/$C$FD:$$$?%^%/%m$r$N$;$F$*$-$^$9!#(J
$@$3$N%^%/%m$r(J hvdashln.sty $@$H$$$&(J$@%9%?%$%k%U%!%$%k$H$7$^$7$?!#(J
$@$3$N%9%?%$%k%U%!%$%k$O%Q%V%j%C%/%I%a%$%s$H$7!":FG[I[!"2~B$$=$NB>$O<+M3(J
$@$K(J$@9T$J$C$F9=$$$^$;$s!#(J

-----$@$3$3$+$i(J-----
% hvdashln.sty : h(orizontal and )v(ertical )dash(ed )l(i)n(e).sty
%
%					By nakasima@kuis.kyoto-u.ac.jp
%
% \hdashline $@$G2#$NE@@~(J
% \vdashline $@$G=D$N<B@~(J
%
% $@$r(J$@0z$/$3$H$,$G$-$^$9!#(J
%
% $@$3$N$H$-%Q%i%a!<%?$H$7$F(J
%
% \hdashlinewidth  $@GK@~MWAG$NI}(J (w)
% \hdashlinegap    $@GK@~MWAG$N4V3V(J (g)
%
% $@$r@_Dj$G$-$^$9!#$^$?%G%U%)%k%H$G$O$=$l$>$l(J 4pt $@$H$J$C$F$*$j(J
%
%	 4pt
%	|---   ---   ---   ---|
%	    4pt
%
% $@$NMM$K$J$j$^$9(J
%
% $@Cm0U!K=D$NE@@~$r0z$/>l9g(J array $@$N9T$KJ,?t$N$h(J$@$&$KGX$N9b$$$b$N$,$/$k(J
%       $@$HGK@~$,$D$J$,$i$J$/$J$k$3$H$,$"$j$^$9!#(J
%
%
\newcount\hdl@columns
\let\hdl@mkpream\@mkpream
\def\@mkpream{\hdl@columns\@ne \hdl@mkpream}
\def\@addamp{\if@firstamp\@firstampfalse
   \else\edef\@preamble{\@preamble &}\advance\hdl@columns\@ne\fi}
\def\hdashline{\multispan{\hdl@columns}\unskip
   \vrule\@height\arrayrulewidth\@width\hdashlinewidth
   \hskip.5\hdashlinegap
   \xleaders\hbox{\hskip.5\hdashlinegap
   \vrule\@height\arrayrulewidth\@width\hdashlinewidth
   \hskip.5\hdashlinegap}\hfill
   \hskip.5\hdashlinegap
   \vrule\@height\arrayrulewidth\@width\hdashlinewidth\cr
   \noalign{\vskip-\arrayrulewidth}}
\newdimen\hdashlinewidth \hdashlinewidth4pt %
\newdimen\hdashlinegap \hdashlinegap4pt %
\def\vdashline{\hskip\arraycolsep
   \@tempdima\ht\@arstrutbox \advance\@tempdima\dp\@arstrutbox
   \lower\dp\@arstrutbox\vbox to\@tempdima{
   \hrule\@height.5\hdashlinewidth\@width\arrayrulewidth
   \vskip.5\hdashlinegap
   \xleaders\vbox{\vskip.5\hdashlinegap
   \hrule\@height\hdashlinewidth\@width\arrayrulewidth
     \vskip.5\hdashlinegap}\vfil
   \vskip.5\hdashlinegap
     \hrule\@height.5\hdashlinewidth\@width\arrayrulewidth}%
   \hskip\arraycolsep}
-----$@$3$3$^$G(J-----

$@$^$?!"0J2<$K;H$$J}$NNc$r:\$;$F$*$-$^$9!#(J

-----$@$3$3$+$i(J-----
\documentstyle[hvdashln]{article}
\title{Usage of {\tt hvdashln.sty}}
\author{Nakashima}
\date{Nov. 16, 1992}
\hdashlinewidth=2pt \hdashlinegap=2pt
\begin{document}
\maketitle\thispagestyle{empty}
Definitions of horizontal and vertical dashed lines for
{\tt array} and {\tt tabular} environment.
Instead of partial horizontal dashed line by
 the \verb+\cline{2-3}+ by Isozaki,
\verb+\hdashline+ fills the full width.
The proportion of the dashed line is defined by the two
parameters: \verb+\hdashlinewidth=2pt+ and
 \verb+\hdashlinegap=2pt+, where the former defines the
width of the dash and the latter sets their gap.
The default values of these are {\tt 4pt} while
{\tt 2pt} is employed in the examples below.
\medskip
\[
\left[
\begin{array}{c @{\vdashline} cc}
  A & B & C \\
   \hdashline
  D & E & F \\
  G & H & I
\end{array}
\right]
\]
\bigskip
\begin{minipage}[t]{.48\textwidth}
\begin{center}
\begin{tabular}{|c|c|c|} \hline
a & b & c \\ \hline
a & b & c \\ \hline
a & b & c \\ \hline
\end{tabular}
\end{center}
\end{minipage}
\begin{minipage}[t]{.48\textwidth}
\begin{center}
\begin{tabular}{|c @{\vdashline} c|c|} \hdashline
a & b & c \\ \hdashline
a & b & c \\ \hline
a & b & c \\ \hdashline
\end{tabular}
\end{center}
\end{minipage}
\end{document}
-----$@$3$3$^$G(J-----

--
	
	     $@@iMUBg3X(J $@9)3XIt(J $@EE5$EE;R9)3X2J(J $@H~B?8&5f<<Fb(J M2
             		$@J?ED(J $@8wCK(J (Mitsuo Hirata)
			(hirata@nssun.te.chiba-u.ac.jp)
Newsgroups: fj.comp.texhax