From: B.T.W. v. O. <van...@pl...> - 2003-12-08 08:32:05
|
Have a good book (Latex companion from mittlebach) and have found the amsmath package and started using it (after posting the question) but still didn't came accros the \hdotsfor command maybe i've not read it properly. BTW Thanks ----- Original Message ----- From: "GR" <kkb...@pe...> To: <mik...@li...> Sent: Monday, December 08, 2003 9:20 AM Subject: Re: [MiKTeX] \hline in array > > Hi, > > > > I'm greating a matrix with the array environment and using the | and > \hline to create lines between the different cells. However i don't want > full lines but dashed lines between the cells. How can i do this?? > > > > Benno > > > > > 1. It is a very old fashioned method to generate matrices with > > \left( > \begin{array} > ....... > \end{array} > \right} > > The environments pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix in the amsmath > package are easy to use and give much better visual results. > > 2. The same amsmath package provides a command \hdotsfor which does what you > are looking for (including adjusting the spacing between dots if you are not > satisfied with the default). > > Try > > \usepackage{amsmath} > > in the preamble and > > \[ > \begin{pmatrix} > a & \hdotsfor{2} & d \\ > 0 & b & \dots & c \\ > \hdotsfor[2]{4} \\ > 0 & \hdotsfor{2} & e > \end{pmatrix} > \] > > 3. For such questions, the first thing is to have a good LaTeX reference > book at hand. > > Best > > GR > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > MiKTeX-Users mailing list > MiK...@li... > https://lists.sourceforge.net/lists/listinfo/miktex-users > |