Figures -------------------- Grid 5 Rows 3 Columns ByRowThenColumn RowConstraints RowConstraint 2*gy1 - 1*gy2 - 1*gy0 = 0 RowConstraint 2*gy2 - 1*gy3 - 1*gy1 = 0 RowConstraint 2*gy3 - 1*gy4 - 1*gy2 = 0 RowConstraint 2*gy4 - 1*gy5 - 1*gy3 = 0 Rule (0,0) (0,2) 2 bp Rule (0,0) (2,0) 2 bp Rule (0,2) (1,2) 2 bp Rule (1,1) (1,3) 2 bp Rule (1,1) (2,1) 2 bp Rule (1,3) (3,3) 2 bp Rule (2,0) (2,2) 2 bp Rule (2,0) (4,0) 2 bp Rule (2,2) (3,2) 2 bp Rule (3,1) (3,3) 2 bp Rule (3,1) (4,1) 2 bp Rule (3,3) (5,3) 2 bp Rule (4,0) (4,1) 2 bp Rule (4,1) (5,1) 2 bp Rule (5,1) (5,3) 2 bp Box (0,0) (2,1) FlushTop Center 12.0 bp 12.0 bp 12.0 bp 12.0 bp ///Beach/Thesis/Figure5-1-ChesterRotated.AIS width: 2 in Box (1,2) (3,3) FlushTop Center 12.0 bp 12.0 bp 12.0 bp 12.0 bp ///Beach/Thesis/Figure5-1-PressFile.Press leftMargin: 228 pt, topMargin: 172 pt, width: 123 pt, height: 145 pt Box (2,0) (4,1) FlushTop Center 12.0 bp 12.0 bp 12.0 bp 12.0 bp ///Beach/Thesis/Figure5-1-GriffinRose.Press leftMargin: 195 pt, topMargin: 143 pt, width: 102 pt, height: 130 pt Box (3,2) (5,3) FlushTop Center 12.0 bp 12.0 bp 12.0 bp 12.0 bp ///Beach/Thesis/Figure5-1-RecursiveTable.Press leftMargin: 121 pt, topMargin: 94 pt, width: 157 pt, height: 46 pt Box (0,1) (1,2) FlushTop FlushRight 12.0 bp 12.0 bp 12.0 bp 12.0 bp Chester Carlson Box (1,1) (2,2) FlushTop FlushLeft 12.0 bp 12.0 bp 12.0 bp 12.0 bp Formatted Document Box (2,1) (3,2) FlushTop FlushRight 12.0 bp 12.0 bp 12.0 bp 12.0 bp Griffin Rose Box (3,1) (4,2) FlushTop FlushLeft 12.0 bp 12.0 bp 12.0 bp 12.0 bp Table Figure 5-1. A WIDE RANGE OF CONTENT can be incorporated within tables using an object-oriented document structure. This table includes five kinds of content: text, scanned illustrations, synthetic line drawings, composed pages, and tables. The text captions in the centre column are positioned flush at the top of each row and alternate flush right and left. The picture of Chester Carlson, the inventor of xerography, was scanned from an original photograph and is 367 scan lines by 474 pixels with each pixel containing an 8-bit grey value. The formatted document is the output of other software that produces a compatible printer format used at Xerox PARC. The synthetic graphic image was created by Maureen Stone with the Griffin illustrator. The table was composed using the table formatting prototype described in this chapter. -------------------- -- -------------------- ///Beach/Thesis/Figure5-2-TableBox.Press leftMargin: 151 pt, topMargin: 112 pt, width: 111 pt, height: 71 pt Figure 5-2. A TABLE BOX is represented by four dimensions that are the left, right, up, and down distances from an alignment point. This example is typical of a table entry that is aligned on a decimal point in the text content. -------------------- -- -------------------- Grid 3 Rows 2 Columns ByRowThenColumn Rule (0,0) (0,2) 1 bp Rule (1,0) (1,2) 1 bp Rule (2,0) (2,2) 1 bp Rule (3,0) (3,2) 1 bp Rule (0,0) (3,0) 1 bp Rule (0,1) (3,1) 1 bp Rule (0,2) (3,2) 1 bp Box (0,0) (1,1) Center CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp 0 Box (1,0) (2,1) Center CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp .625 Box (2,0) (3,1) Center CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp 1023.5 Box (0,1) (1,2) Center CharAlign 'X 3.0 bp 6.0 bp 3.0 bp 3.0 bp speed X time Box (1,1) (2,2) Center CharAlign 'X 3.0 bp 6.0 bp 3.0 bp 3.0 bp acceleration X time Box (2,1) (3,2) Center CharAlign 'X 3.0 bp 6.0 bp 3.0 bp 3.0 bp force X distance Figure 5-3. ALIGNMENT within a table entry may be based on specific characters within lines of text, such as decimal points (actual or implied) in the first column, and multiplication signs in the second column. -------------------- -- -------------------- Grid 4 Rows 5 Columns ByRowThenColumn ColConstraints ColConstraint 2.0*gx4 - 1.0*gx3 - 1.0*gx5 = 0 Rule (0,0) (0,5) 1 bp Rule (1,0) (1,5) 1 bp Rule (4,0) (4,5) 1 bp Rule (0,0) (4,0) 1 bp Rule (1,1) (4,1) 1 bp Rule (1,2) (4,2) 1 bp Rule (0,3) (4,3) 1 bp Rule (1,4) (4,4) 1 bp Rule (0,5) (4,5) 1 bp Box (0,0) (1,3) TopBaseline Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Short Head Box (0,3) (1,5) TopBaseline Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Very Long Column Head Over Narrow Entries Box (1,0) (2,1) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (1,1) (2,2) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (1,2) (2,3) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (1,3) (2,4) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (1,4) (2,5) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (2,0) (3,1) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xxx.xx Box (2,1) (3,2) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xxx.xx Box (2,2) (3,3) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xxx.xx Box (2,3) (3,4) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xxx.xx Box (2,4) (3,5) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xxx.xx Box (3,0) (4,1) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (3,1) (4,2) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (3,2) (4,3) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (3,3) (4,4) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Box (3,4) (4,5) TopBaseline CharAlign '. 3.0 bp 6.0 bp 3.0 bp 3.0 bp xx.xxx Figure 5-4. SPECIFYING POSITION WITHIN A COLUMN as well as aligning table entries may be necessary when there is excess whitespace to disperse among the row or column entries. All the table entries are aligned on decimal points but the last two columns have excess whitespace due to the very long column head. -------------------- -- -------------------- Grid 2 Rows 5 Columns ByRowThenColumn Rule (0,0) (0,5) 1 bp Rule (0,0) (2,0) 1 bp Rule (0,1) (2,1) 1 bp Rule (0,2) (2,2) 1 bp Rule (0,3) (2,3) 1 bp Rule (0,4) (2,4) 1 bp Rule (0,5) (2,5) 1 bp Rule (1,0) (1,5) 1 bp Rule (2,0) (2,5) 1 bp Box (0,0) (1,1) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Optically Center, Ignores Baseline Box (0,1) (1,2) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Baseline Baseline Box (0,2) (1,3) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Baseline Baseline Baseline Box (0,3) (1,4) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Baseline Baseline Baseline Baseline Box (0,4) (1,5) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Baseline Baseline Baseline Baseline Baseline Box (1,0) (2,1) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Optically Center, Ignores Baseline Box (1,1) (2,2) TopBaseline Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Baseline at Top Box (1,2) (2,3) BottomBaseline Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Bottom Baseline Box (1,3) (2,4) CenterOnTopBaseline Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Center Baseline at Top of many Box (1,4) (2,5) CenterOnBottomBaseline Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Center on Bottom Baseline of Many Figure 5-5. OPTICAL CENTRING of lines within a table may not produce aesthetic results when table entries have several lines of text. All of the entries in the top row are optically centred; all of the entries in the bottom row have been centred on a selected baseline. -------------------- -- -------------------- Grid 1 Rows 2 Columns ByRowThenColumn Box (0,0) (1,1) Center Center 12.0 bp 12.0 bp 12.0 bp 12.0 bp ///Beach/Thesis/Figure5-6-HierarchicalTable.Press leftMargin: 120 pt, topMargin: 94 pt, width: 190 pt, height: 54 pt Box (0,1) (1,2) Center Center 12.0 bp 12.0 bp 12.0 bp 12.0 bp ///Beach/Thesis/Figure5-6-TableHierarchy.Press leftMargin: 208 pt, topMargin: 156 pt, width: 102 pt, height: 82 pt Figure 5-6. HIERARCHICAL TABLES contain rows and columns that span other rows and columns like the parent nodes in a tree span descendant nodes. -------------------- -- -------------------- Grid 6 Rows 6 Columns ByRowThenColumn Rule (0,0) (0,6) 1 bp Rule (0,0) (6,0) 1 bp Rule (0,1) (6,1) 1 bp Rule (0,6) (6,6) 1 bp Rule (1,1) (1,6) 1 bp Rule (1,2) (6,2) 1 bp Rule (1,5) (6,5) 1 bp Rule (2,2) (2,5) 1 bp Rule (2,3) (6,3) 1 bp Rule (2,4) (6,4) 1 bp Rule (3,0) (3,6) 1 bp Rule (4,0) (4,6) 1 bp Rule (5,0) (5,6) 1 bp Rule (6,0) (6,6) 1 bp Box (0,0) (3,1) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp XxxXxxx Box (0,1) (1,6) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp XxxXxxx Xxx Xxxxx Box (1,2) (2,5) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp XxxXxxx Box (1,1) (3,2) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp XxxXxxx Box (1,5) (3,6) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp XxxXxxx Box (2,2) (3,3) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (2,3) (3,4) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (2,4) (3,5) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (3,0) (4,1) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (3,1) (4,2) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (3,2) (4,3) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (3,3) (4,4) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (3,4) (4,5) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (3,5) (4,6) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (4,0) (5,1) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (4,1) (5,2) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (4,2) (5,3) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (4,3) (5,4) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (4,4) (5,5) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (4,5) (5,6) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (5,0) (6,1) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (5,1) (6,2) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (5,2) (6,3) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (5,3) (6,4) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (5,4) (6,5) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Box (5,5) (6,6) Center Center 3.0 bp 6.0 bp 3.0 bp 3.0 bp Xxxx Figure 5-7. STYLE ATTRIBUTES for a table entry are determined by several style rules specified for the entire table, a row, a column or an individual table entry. This table table style rule specifies a Helvetica type family. One row has a style attribute for bold face. The spanned column has a style attribute for italic face. One of the three table entries in the intersection of the row and column has a Times Roman type family attribute. The style attributes for a particular entry are determined by accumulating all the style attributes according to a natural search order: table, row, column, then table entry. -------------------- -- -------------------- ///Beach/Thesis/Figure5-8-GridDesign.Press leftMargin: 214 pt, topMargin: 142 pt, width: 126 pt, height: 200 pt Figure 5-8. GRID DESIGN for the pages of this thesis illustrates the traditional use of boundary lines to determine margins, column measures, gutter widths, alignment points, etc. -------------------- -- -------------------- Grid 4 Rows 5 Columns ByRowThenColumn GridOverlay 3 bp 0 0 0.7 Rule (0,1) (4,1) 1 bp Rule (3,0) (3,5) 1 bp Box (0,1) (1,5) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp XxxXxxxxXxx Box (1,1) (2,3) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp Xxxx Box (1,3) (2,5) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp Xxxx Box (2,1) (3,2) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp xxx Box (2,2) (3,3) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp xxx Box (2,3) (3,4) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp xxx Box (2,4) (3,5) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp xxx Box (3,0) (4,1) TopBaseline FlushLeft 3.0 bp 3.0 bp 6.0 bp 6.0 bp XxXxxXxx Box (3,1) (4,2) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp xxx Box (3,2) (4,3) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp xxx Box (3,3) (4,4) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp xxx Box (3,4) (4,5) TopBaseline Center 3.0 bp 3.0 bp 6.0 bp 6.0 bp xxx Figure 5-9. TABLE DESCRIBED BY A GRID in which the grid lines are drawn in light grey. Some table entries are contained within a single grid module while others occupy several modules. The two rules, one horizontal below the column headings and one vertical after the row stub, run along the grid boundaries. -------------------- -- -------------------- ///Beach/Thesis/Figure5-10-CornerStitching.Press leftMargin: 134 pt, topMargin: 152 pt, width: 328 pt, height: 131 pt Figure 5-10. CORNER STITCHED DATA STRUCTURE uses tiles that are joined together by four pointers, two at the NorthEast corner going North and East, and two at the SouthWest corner going South and West. -------------------- -- -------------------- ///Beach/Thesis/Figure5-11-TableGrid.Press leftMargin: 142 pt, topMargin: 151 pt, width: 320 pt, height: 265 pt Figure 5-11. TABLE MAPPED ONTO GRID DATA STRUCTURE for Figure 5-9. The grey tiles represent table boxes and the black tiles represent rule elements. The coordinates are chosen to make the grid boundaries explicit. -------------------- -- -------------------- ///Beach/Thesis/Figure5-12-Intersections.Press leftMargin: 129 pt, topMargin: 141 pt, width: 331 pt, height: 198 pt Figure 5-12. INTERSECTING RULES in a table may require several special treatments. Lines of different thicknesses; lines of different colour; lines with repeating patterns (dashes, borders); lines with ornaments at the end; rounded corners where lines intersect with sufficient clearance are all examples of the treatments possible with this technique. -------------------- -- ส ฐ–"beachthesis" style˜J˜Ihorizontalrule• ArtworkClassRulešœ˜table–Table–"beachthesistable" stylešฯs4˜4Iraggedš'˜'Mš'˜'Mš'˜'Mš'˜'Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜š@˜@Ientry– IncludeAISšะbs8˜8—š@˜@N– IncludePressšžn˜n—š@˜@N– IncludePressšžp˜p—š@˜@N– IncludePressšžq˜q—šD˜DN–flushRight lineFormattingš˜—šC˜CN–flushLeft lineFormattingš˜—šD˜DN–flushRight lineFormattingš ˜ —šC˜CN–flushLeft lineFormattingš˜——Icaptionšฯb žŸค˜ศK–Rulešœ˜I pagebreak˜K–Rulešœ˜Icenter– IncludePressšžl˜lInote˜OšŸ ž Ÿฮ˜ๆK–Rulešœ˜P˜K–Rulešœ˜–Table–"beachthesistable" styleš%˜%Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜š@˜@Iblockš˜—š@˜@Sš˜—š@˜@Sš˜—š"œ˜@Sšะisะms ˜ —š"œ˜@Sš  ก ˜—š"œ˜@Sš ก ˜——OšŸ ž Ÿภ˜ึK–Rulešœ˜P˜K–Rulešœ˜–Table–"beachthesistable" styleš4˜4Mš/˜/Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜š?˜?Qš ˜ —š?˜?Qš)˜)—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜—šE˜EQš˜——OšŸ ž#Ÿ‡˜ทK–Rulešœ˜P˜K–Rulešœ˜–Table–"beachthesistable" styleš%˜%Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜š:˜:Nš"˜"—š:˜:Nš ะsz ˜—š:˜:Nš ข  ˜—š:˜:Nšข  ˜'—š:˜:Nšข ˜0—š:˜:Nš"˜"—š?˜?Nšข ˜—šB˜BNšข ˜—šG˜GNšข ˜"—šJ˜JNšข ˜%——OšŸ žŸ๒˜K–Rulešœ˜P˜K–Rulešœ˜–"beachthesistable" style–Tableš%˜%š>˜>N– IncludePressšžt˜t—š>˜>N– IncludePressšžr˜r——OšŸ žŸq˜‘K–Rulešœ˜P˜K–Rulešœ˜–Table–"beachthesistable" styleš%˜%Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜Mš˜š:˜:N–2.5 in lineLengthšะos˜—š:˜:N–2.5 in lineLengthšฃ˜—š:˜:Nšัios˜—š:˜:Nšฃ˜—š:˜:Nšฃ˜—š:˜:Nšค˜—š:˜:Nšค˜—š:˜:Nšค˜—š:˜:Nšฃ˜—š:˜:Nšฃ˜—š:˜:Nšค˜—š:˜:Nšค˜—š:˜:Nšค˜—š:˜:Nšฃ˜—š:˜:Nšัbos˜—š:˜:Nšฅ˜—š:˜:Nš›@‚ ˜—š:˜:Nšัbis˜—š:˜:Nšฆ˜—š:˜:Nšฅ˜—š:˜:Nšฃ˜—š:˜:Nšฃ˜—š:˜:Nšค˜—š:˜:Nšค˜—š:˜:Nšค˜—š:˜:Nšฃ˜——OšŸ žŸา˜๏K–Rulešœ˜P˜K–Rulešœ˜Q– IncludePressšžo˜oOšŸ ž Ÿœ˜ดK–Rulešœ˜P˜K–Rulešœ˜–Table–"beachthesistable" styleš>˜>Mš˜Mš˜š?˜?S˜ —š?˜?S˜—š?˜?S˜—š?˜?S˜—š?˜?S˜—š?˜?S˜—š?˜?S˜—šB˜BS˜—š?˜?S˜—š?˜?S˜—š?˜?S˜—š?˜?S˜——OšŸ žŸ‘˜ทK–Rulešœ˜P˜K–Rulešœ˜Q– IncludePressšžu˜uOšŸžŸž˜สK–Rulešœ˜P˜K–Rulešœ˜Q– IncludePressšžo˜oOšŸž%Ÿฅ˜ุK–Rulešœ˜P˜K–Rulešœ˜Q– IncludePressšžs˜sOšŸžŸย˜โK–Rulešœ˜P˜—…—4V@