Hieroglyphs

In ancient times pictographs –wielded in the hands of the Pharaohs– ruled the world .

sile

Download: ( source | pdf )

Input document

\begin[papersize=a6]{document}
\use[module=packages.rules]
\nofolios
\neverindent
\set[parameter="document.parskip",value="1bs"]
\font[family=Libertinus Serif,size=16pt]
\begin{lua}

local package = pl.class(SILE.packages.base)
package._name = "hieroglyphics"

function package:registerCommands ()
   self:registerCommand("egyp-sample", function (_, content)
      SILE.call("font", { language = "und", style = "Italic" }, { content[1] })
      SILE.call("font", { language = "en" }, { " ‘" .. content[2] .. "’" })
      SILE.call("skip", { height = "-4ex" })
      SILE.call("hrule", { height = "1pt", width = "100%lw" })
      SILE.call("skip", { height = "1ex" })
      SILE.call("font", { family = "Egyptian Text", language = "egyp", size = "3ex" }, { content[3] })
   end)
end

return package

\end{lua}
\begin{raggedright}
\egyp-sample{{mdw.t-km.t}{Egyptian language}{𓌃𓂧𓐰𓏏𓐱𓏯𓀁𓏪𓆎𓅓𓊖}}

\egyp-sample{{nfr}{fine, beautiful}{𓄤𓆑𓐰𓂋}}

\egyp-sample{{ḫprj}{Khepri}{𓆣𓐰𓂋𓇋𓁛}}
\end{raggedright}
\end{document}

Render command

sile -o hieroglyphs-sile.pdf hieroglyphs-sile.sil

typst

Download: ( source | pdf )

Input document

#set page(
  paper: "a6",
)
#set par(
  first-line-indent: 0pt,
  justify: false,
)
#set text(
    font: "Libertinus Serif",
    size: 16pt,
)

#let egyp-sample(phonetics, translation, str)= {([
    _#(phonetics)_ ‘#translation’
    #v(-0.5em)
    #line(length: 100%)
    #v(-0.5em)
    [#set text(font: "Egyptian Text", size: 1.5em, fallback:false);#str]
])}

#egyp-sample("mdw.t-km.t", "Egyptian language", "𓌃𓂧𓐰𓏏𓐱𓏯𓀁𓏪𓆎𓅓𓊖")

#egyp-sample("nfr", "fine, beautiful", "𓄤𓆑𓐰𓂋")

#egyp-sample("ḫprj", "Khepri", "𓆣𓐰𓂋𓇋𓁛")

Render command

typst compile hieroglyphs-typst.typ hieroglyphs-typst.pdf