In the examples below, the Cuneified display uses iframe to include
entire cuneified documents into the Test/Demo page. The HTML/CSS implementation
can be explored using the browser inspector facility.
Basic features: signs and breakage.
1. a ba 2. a#-ba 3. [a]-ba#-bu 4. [a & ba]
cfy-key cfy-gudea-0-150-middle-osl
Config: cfy-key passes font and styleset to class.
Salt: ATF \3 selects salt3.
1. ne 2. balag balag\3
cfy-key cfy-lak-ss01-150-early-osl
Liga: space splits liga but a configuration substitution rule can override this.
A liga substitution can in turn be broken up by ATF `\ '.
1. saŋ ŋal₂ 2. saŋ\ ŋal₂
cfy-key cfy-rsp-0-150-middle-osl saŋ &w ŋal₂ => saŋ ŋal₂ .
Format: Text can be left-justified
1. a ba bu bi
cfy-key cfy-gudea-0-150-middle-osl cfy-format left
Format: Default is 'spread' which justifies left and right
1. a ba bu bi
cfy-key cfy-gudea-0-150-middle-osl
Format: penult justifies left and right and puts extra space in the penultimate location, i.e., the last word space.
1. a ba bu bi
cfy-key cfy-gudea-0-150-middle-osl cfy-format penult
LGS: In addition to the main transliteration, ATF provides a secondary transliteration called LGS (Linearized Grapheme Stream) which can be used to insert formatting effects where it would be difficult to do so otherwise.
1. mu-un-sa₄ =: MU UN HU NA₂
cfy-key cfy-gudea-0-150-middle-osl
Format: In ATF ';' is used to indicate that the scribe has split the line between rulings; such lines are usually right-justified in the manuscripts.
1. mu-še₃ mu-un;-sa₄
cfy-key cfy-gudea-0-150-middle-osl
LGS: ATF does not allow a ';'-linebreak within compounds but it can be emulated using the LGS.
1. mu-še₃ mu-un-sa₄ =: MU EŠ₂ MU UN HU; NA₂
cfy-key cfy-gudea-0-150-middle-osl
Liga: ATF '+' is mapped to U+200D ZERO WIDTH JOINER. Discretionary ligatures can be defined in the font accordingly.
1. {d}en {d}+en
cfy-key cfy-gudea-0-150-middle-osl
Format: The char-spread option justifies text by inserting space between characters.
1. a-ba-bu-bi 2. ensik
cfy-key cfy-gudea-0-150-middle-osl cfy-format char-spread
Format: The char-penult option justifies text by inserting space between characters and puts extra space before the last character in the line.
1. a-ba-bu-bi 2. ensik
cfy-key cfy-gudea-0-150-middle-gudea cfy-format char-penult
Ruled: Tablet rulings by default are 1px solid black.
1. a ba 2. a-ba 3. a-ba
cfy-key cfy-gudea-0-150-middle-gudea cfy-format ruled
Ruled: Tablet ruling width, color, and style can be reset.
1. a ba 2. a-ba 3. a-ba
cfy-key cfy-gudea-0-150-middle-gudea cfy-format ruled 2px #F00 dashed
Ruled: the boxed format puts a ruled box around the text.
1. a ba 2. a-ba 3. a-ba
cfy-key cfy-gudea-0-150-middle-gudea cfy-format boxed
Ruled: cuneify can also put rulings between columns.
1. a & ba 2. a & ba 3. a & ba
cfy-key cfy-gudea-0-150-middle-. cfy-format crule
Format: Default text width is 100%, but this is configurable.
1. a ba 2. a ba
cfy-key cfy-gudea-0-150-middle-. cfy-format boxed cfy-width 100px
Ruled: Column widths are set using cfy-colwidths.
1. a & ba 2. a & ba 3. a & ba
cfy-key cfy-gudea-0-150-middle-. cfy-format crule cfy-colwidths 20px 50px 50px .
ATF: ATF font switches have the form %01, %02.
1. ne %01 ne %02 ne
cfy-key cfy-nni-0-150-late-. cfy-font %01 rsp cfy-font %02 cfy-lak-ss01-200-early-.
ATF: To break up a ligature within a word use `\-'
1. pad₃ ši\-ru
cfy-key cfy-lak-ss01-150-early-osl
LGS: hyphenation can be preserved with LGS
1. lu₂-{d}suen u₃ lugal-dalla mu-gid₂
=: LU₂-DINGIR+EN-ZU U₃ LUGAL-MAŠ;-GU₂-GAR₃
MU-GID₂
cfy-key cfy-gudea-0-150-middle-osl
Format: spacing in spread mode can be suppressed with '\<'
1. kur ma₂-gan 2. kur\< ma₂-gan
cfy-key cfy-gudea-0-150-middle-osl cfy-format char-spread
Format: by default spaces are suppressed when a line is indented; to force a space use '\>'
1. kur ma₂-gan;{ki}-ta
2. kur\< ma₂-gan;{ki}\>-ta
cfy-key cfy-emc-0-150-middle-osl cfy-format char-spread
Format: \> at the start of line must be followed by a single space;
the ATF processor handles this specially to ensure it works as
intended.
1. alan 2. \> alan
cfy-key cfy-emc-0-150-middle-osl cfy-format char-spread
Format: surfaces and columns can be arrayed in a grid with config options
@composite @m=object statue @m=surface arm @h1 Arm 1. gu₃ @m=surface body @h1 Body @m column 1 1. nin @m column 2 1. dub
cfy-key cfy-emc-0-200-middle-gudea cfy-format char-penult cfy-format ruled cfy-format boxed cfy-grid surfaces auto cfy-grid columns auto cfy-ui no-CuneifyBar