Encoding Basics
Codes can be entered either by their 'Gardiner number' or by a unique phonetic value.
can be encoded either as M20 or as sxt.
In a sequence, each sign is separated from its neighbour by a dash "-" or a space " ".
![m [G17] m [G17]](img/hiero_G17.png)
![a [D36] a [D36]](img/hiero_D36.png)
![t [X1] t [X1]](img/hiero_X1.png)
![tr [M6] tr [M6]](img/hiero_M6.png)
![S [S29] s [S29]](img/hiero_S29.png)
can be encoded as:
- m-a-t-tr-s-n
- m a t tr s n
- G17 D36 X1 M6 S29 N35
- G17-D36-X1-M6-S29-N35-
Superposition
To position glyphs above one another, use the colon character (":") instead of the hyphen.
Y5:N35
Juxtaposition
To position glyphs beside each other when stacked with another glyph, use the asterisk character ("*") with the colon (":").
R4:X1*Q3
W9:X1-F4:X1-
End of line
To make a new line of text, use the exclamation character ("!"). Normally, the "end-of-line" must be surrounded by separators (as -!-), but space or nothing are also allowed.
Cartouches
Cartouches can be constructed using "<" (beginning) and ">" (end) followed by an additional number code giving the cartouche type and orientation, as is shown in the following examples:
<-i-mn:n-m-HAt:t-> results in
<1-i-mn:n-m-HAt:t-2> results in
<2-i-mn:n-m-HAt:t-1> results in
Serekhs
<h1-i-mn:n-m-HAt:t-h2> results in
<h2-i-mn:n-m-HAt:t-h1> results in
<h1-i-mn:n-m-HAt:t-h3> results in
<h3-i-mn:n-m-HAt:t-h1> results in