Table formatting
Below you’ll find a “5 rows 4 cols” table with contents. Each cell value describes the initial position in the table. Later we’ll use the same table with manipulated cells. If you’re testing the table features, this table is also a good basis for table manipulation.
r1c1
|
r1c2
|
r1c3
|
r1c4
|
r2c1
|
r2c2
|
r2c3
|
r2c4
|
r3c1
|
r3c2
|
r3c3
|
r3c4
|
r4c1
|
r4c2
|
r4c3
|
r4c4
|
r5c1
|
r5c2
|
r5c3
|
r5c4
|
The next table includes some basic formatting
r1c1 – bold
|
r1c2 – Yellow Back
|
r1c3 – Bold - Under
|
r1c4 – Strike
|
r2c1 - Verdana
|
r2c2 – italic
|
r2c3 – sub
|
r2c4 – Justified – a few words to make the test work.
|
r3c1 – Inverted
|
r3c2 – Red – Bold – Italic on 25% Grey
|
r3c3 – under
|
r3c4 – Bold – Italic – Under
|
r4c1 – Bold - Italic
|
r4c2 – Blue – Under
|
r4c3- Italic - Under
|
r4c4 - Right
|
r5c1 – Center
|
r5c2 –Super
|
r5c3 – Left
|
r5c4 – Super - Red
|
When the basic text formatting is working, we can test different table specific formatting
r1c1 – Yellow fill
|
r1c2
|
r1c3
|
r1c4 – red border
|
r2c1
|
r2c2 – fat red border – green fill
|
r2c3 – blue border
|
r2c4
|
r3c1
|
r3c2 - Bold – Red - Grey fill
|
r3c3
|
r3c4 – no border
|
r4c1 – Italic - fat green border
|
r4c2
|
r4c3 – Under - Red on Grey – Blue fill
|
r4c4
|
r5c1
|
r5c2
|
r5c3
|
r5c4
|
Below we’ll try to insert a 3x3 table (numbered 1, 2, 3 new row 4, 5…) in r1c1 and merge a few cells. There should be some merge cells named: r1c3+r1c4, r2c2+r2c3, r3c1+r4c1 and r3c3+r4c3.
1
2
3
4
5
6
7
8
9
|
r1c2
|
r1c3
r1c4
|
r2c1
|
r2c2
r2c3
|
r2c4
|
r3c1
r4c1
|
r3c2
|
r3c3
r4c3
|
r3c4
|
|
r4c2
|
|
r4c4
|
r5c1
|
r5c2
|
r5c3
|
r5c4
|