MSW:Variant Display Form

10. Variant Display Forms
The variant display forms consists of several formats. Through simple processes, one format can be transformed into another.

Each format uses a lite markup with the token values for structural markers (A, B, L, M, R), symbol keys, and irregular coordinates. Spaces separate words for signs and punctuation.

10.A. Raw
The raw display format string contains the minimal amount of data required to represent text. It defines signs and punctuations. The signboxes are neither centered or sized. A signbox can occur anywhere in the signbox space and the center is not assumed to be the coordinate (0,0). The maximum coordinate for a signbox is unstated. Likewise, the punctuation does not contain any placement information. Layout is impossible without access to an outside datasource.

10.A.1. Pattern Examples
Sign A sign is a combination of a lane maker (BLMR), followed by zero or more symbol keys with placement coordinates.

Example: MS14c20n19xn29S271063xn11

Punctuation A punctuation is represented with a single symbol key.

Example: S38800

10.B. Expanded
The expanded display format string contains sizing information (width and height) for every symbol outside of the term prefix. The maximum coordinate for a signbox can be calculated by adding the symbol width and height to the symbol placement coordinate.

For any symbol key in the signbox or for punctuation, the width and height is accessed from an outside data source. The size information is written as an irregular coordinate and appended to the symbol key through a simple search and replace.

10.B.1 Pattern Examples
Sign A sign is a combination of a lane maker (BLMR), followed by zero or more symbol keys with sizing information followed by placement coordinates.

Example: MS14c2023x31xn19xn29S2710615x40x3xn11

Punctuation A punctuation is represented with a symbol key and a size coordinate

Example: S3880072x8

10.C. Layout
The layout display format string contains the maximum coordinate as a preprocessed value for signboxes and it contains the placement coordinate for punctuation. It is equivalent to the lite markup for the regular searching form, but with irregular coordinates.

10.C.1. Pattern Examples
Sign A sign is a combination of a lane maker (BLMR), followed by the maximum coordinate, followed by zero or more symbol keys with placement coordinates.

Example: M18x29S14c20n19xn29S271063xn11

Punctuation A punctuation is a combination of a symbol key followed by a placement coordinate. The center is assumed to be the coordinate (0,0). The maximum coordinate is the additive inverse of the placement coordinate.

Example: S38800n36xn4

10.D. Panel
A panel display format string combines multiple signs and punctuations into a unit as a defined height column or defined width row. Each signbox contains an offset coordinate that is used to position the symbols inside of the signbox. The offset is added to the placement coordinate to determine the position of each symbol on the panel.

10.D.1. Pattern Example
Panel Prefix Each panel begins with a panel display marker “D” followed by a sizing coordinate. The top-left of the panel is taken to be the coordinate (0,0) such that the sizing coordinate can be understood as the width and height of the panel as well as the maximum coordinate.

Example: D102x200

SignBox with offset Each panel can contain several signboxes. Each signbox has it's own offset coordinate. The offset coordinate is used to determine the position of the signbox's symbols within the panel.

Example: _M51x49S14c20n19xn29S271063xn11

Full Panel A full panel includes the panel prefix with several signboxes with offsets.

Example: D102x200_M51x49S14c20n19xn29S271063xn11_M51x139S1870an11x15S18701n18xn10S205008xn4S2e7340xn32_B51x196S38800n36xn4

10.D.3. Transformational Parameters
Transformation parameters are used to transform a layout display string into a panel display string. When written vertically in columns, the length represents the vertical length that all columns share in common. When written horizontally in rows, the length represents the horizontal length that all rows share in common.