horus
 member, 690 posts
 Wayfarer of the
 Western Wastes
Mon 15 Apr 2019
at 16:45
Questions about Easy Grids
I'm doing some research for my own enlightenment and possibly that of others as well.  I have some questions about Easy Grids:

1.)  Formatting:  I have seen that certain table formatting characters do not work the same way in a grid.  Notably, !! will not specify all grid squares to the right in a row as headers the way it will in a table.  Is this by design?  I'm suspecting from this that such formats as justification/alignment, column and row spans, and width constraints (e.g. |50% ) mean nothing in a grid square also.

Things that do work, to my knowledge:

  • Text colors and styles - these seem to have no effect on the size of a grid square in which they occur so long as the text itself does not "stretch" the square.
  • The ! generates headers in an individual square just fine.
  • The = likewise shades individual squares with the default background color.

2.)  Offset Grids:  Is it possible to produce a set of grid squares that is offset by half a square in alternate rows?  (This could be useful in simulating a hex map.)  My initial attempts indicate this may not be do-able in an Easy Grid, but might be possible with a very carefully constructed Easy Table.

3.)  Using Grids Inside a Table:  It is possible to use grids within an HTML table by nesting them inside cells:

<table><tr><td>
+---+---+
| 1 | 2 |
+---+---+
| 3 | 4 |
+---+---+
</td><td>
+---+---+
| 1 | 2 |
+---+---+
| 3 | 4 |
+---+---+
</td></tr>
<tr><td><tr><td>
+---+---+
| 1 | 2 |
+---+---+
| 3 | 4 |
+---+---+
</td><td>
+---+---+
| 1 | 2 |
+---+---+
| 3 | 4 |
+---+---+
</td></tr>
</table>


yields:


12
34

12
34

12
34

12
34


Does this work for enclosing a grid inside an Easy Table?

I'm off to work for now, so more later?