File: matrixhtml

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (18 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
slib_lang_exists_tmp=yes

slib_title=Transform a matrix into$  html matrix (table).
slib_parms=3\
1,matrix in wims form inside brackets\
,option: (separated by spaces) <span class="tt">center wimscenter wimsborder wimsnoborder</span>, a number\
,TH=[numero of lines in th, numero of columns in th] CAPTION="text in caption" ROWSPAN=[row_cell1,col_cell1, width1;row_cell2,col_cell2, width2;...] COLSPAN=[row_cell3,col_cell3, width3;...] (optional)
slib_out=html code
slib_comment=The second parameter can contain <span class="tt">center</span> (the contents of the cells are \
centered in this case), <span class="tt">center</span>wimscenter, wimsborder, wimsnoborder</span>,\
which are predefined table css.\
The css class of the table is <span class="tt">wims_matrix</span> if there is nothing else\
in the second parameter and <span class="tt">wims_matrix</span>n if \
<span class="tt">n</span> is a number in the second parameter. The css class can be defined\
in the field <span class="tt">\css{}</span> for an OEF exercise.\
<br> The style in the example is the generic style of tables in wims but can be redefined.\
For the option ROWSPAN, write * in the matrix when the cell is in the rowspan or colspan\
(except for the first one of the SPAN, see examples !).