Remzi Seker wrote: > I have two questions (the attached file is in lyx-1.1.6fix4) > In the example file, it will use scriptstyle only for the first element of > the column and row that I use for labeling. What am I doing wrong?
\scriptstyle is a switch, not an environment \scriptstyle n1 \displaystyle f(x) this switch is only valid inside a cell. So you have to write before _every_ cell this command. > Also, can I have some of the elements of the first column aligned to right > and some aligned to left (the last one that says "sum of columns") you can insert some space or work with raggedright/raggeleft. Herbert -- http://www.lyx.org/help/
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \language american \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Formula \begin{equation} \label{incidenr_matrix_of_a_digraph} A\left( D\right) =\begin{array}{rcc} \displaystyle & \begin{array}{ccccc} \scriptstyle v_{1} & v_{2} & v_{3} & v_{4} & v_{5} \end{array} & \textrm{Row sum}\\ \begin{array}{c} \scriptstyle {v_{1}}\\ v_{2}\\ v_{3}\\ v_{4}\\ v_{5} \end{array} & \left[ \begin{array}{ccccc} 0 & 0 & 0 & 0 & 0\\ 1 & 0 & 1 & 1 & 0\\ 1 & 0 & 0 & 0 & 0\\ 0 & 0 & 1 & 0 & 0\\ 0 & 0 & 0 & 0 & 0 \end{array}\right] & \begin{array}{c} 0\\ 3\\ 1\\ 1\\ 0 \end{array}\\ \textrm{Column sum} & \begin{array}{ccccc} 2 & 0 & 2 & 1 & 0 \end{array} & \end{array} \end{equation} \end_inset \layout Standard \the_end
