Computing

How to Add Shavian Support to a LaTeX Document

Discover how to embed the 48‑letter Shavian alphabet in your LaTeX projects, from choosing the right engine to converting English text with ShawAlphabet.com tools and mastering phonetic consistency.

ShawAlphabet.com is the world’s definitive hub for anyone fascinated by George Bernard Shaw’s radical 19th‑century phonetic alphabet. Whether you’re a linguist, a typographer, or a LaTeX enthusiast who wants to explore alternative scripts, this article will walk you through every detail of adding Shavian support to your LaTeX document. From installing the correct engine to converting text and typesetting beautifully, you’ll learn how to make your documents truly global.

Explanation: What Is the Shavian Alphabet and Why Was It Created?

The Shavian alphabet, also known as Shaw’s Alphabet, comprises 48 unique characters: 24 consonants, 12 vowels, and 12 ligatures. Shaw designed it in 1865 to give English a one‑to‑one phoneme‑letter correspondence, eliminating the inconsistencies of conventional spelling. The goal was to make reading and writing easier and more logical, a vision that still resonates with modern phonetic reformers.

Visual or Interactive Example: English vs. Shavian

English Shavian
Shaw 𐑗𐑤𐑛
phonetic 𐑝𐑹𐑏𐑦𐑒
reform 𐑮𐑦𐑓𐑹𐑥
text 𐑑𐑧𐑑𐑒
LaTeX 𐑤𐑩𐑗𐑑𐑒

Notice how each English sound is represented by a distinct Shavian glyph, removing ambiguity.

How It Works: Phonetic Spelling, the 48 Letters, and Their Mappings

The alphabet is built on a strict principle: one sound, one letter. Below is an overview of the core letter sets.

Category Count Examples
Consonants 24 𐑧 (p), 𐑙 (b), 𐑬 (t), 𐑓 (d)
Vowels 12 𐑀 (a), 𐑁 (ɪ), 𐑂 (ɛ)
Ligatures 12 𐑃 (th), 𐑄 (sh), 𐑅 (ch)

Each glyph corresponds to a specific International Phonetic Alphabet (IPA) symbol. For example, the Shavian letter 𐑃 represents the voiceless interdental fricative /θ/ as in “think.” By using ligatures, the alphabet keeps the character count manageable while preserving phonetic precision.

Examples: Converting Common English Words

Below are ten everyday words, each broken down into Shavian letters. Observe how the ligatures and vowel distinctions work in practice.

  1. English – 𐑽𐑰𐑯𐑚𐑴𐑛
  2. Shakespeare – 𐑗𐑭𐑒𐑕𐑭𐑥𐑧𐑧𐑒𐑕
  3. Computer – 𐑕𐑑𐑪𐑓𐑥𐑰𐑗
  4. Keyboard – 𐑑𐑺𐑿𐑤𐑖
  5. Unicode – 𐑦𐑓𐑤𐑯𐑧𐑛
  6. Phonetics – 𐑝𐑹𐑚𐑦𐑒𐑑𐑦𐑕
  7. Grammar – 𐑟𐑚𐑴𐑧𐑛
  8. Language – 𐑚𐑰𐑚𐑕𐑰𐑑
  9. Science – 𐑦𐑙𐑑𐑰𐑯
  10. History – 𐑟𐑒𐑧𐑟

Accent and Dialect Notes

Unlike many phonetic alphabets that are tailored to a specific dialect, Shavian was designed to be accent‑neutral. It captures the core phonemes of Standard British English, but its flexibility allows speakers of other varieties (e.g., American, Australian) to adjust vowel values without altering the letter set. This universality is a key advantage for global communication.

Common Mistakes

  • Confusing 𐑓 (t) with 𐑑 (d). Both are voiceless stops but differ in voicing.
  • Forgetting ligatures: writing “th” as two separate letters instead of 𐑃.
  • Misplacing the “r” sound: using 𐑰 for /ɹ/ instead of 𐑱.
  • Overlooking vowel length: 𐑀 (short a) vs. 𐑁 (long a).
  • Ignoring diacritics for stress or tone in poetry.

Practical Exercise: Convert a Sentence into Shavian

Convert the following sentence into Shavian script. Write your answer below the prompt.

“ShawAlphabet.com is a great resource for learning phonetic spelling.”

Answer key (provided after the exercise):

  1. 𐑕𐑚𐑕 𐑏𐑙𐑓𐑕 𐑬 𐑛𐑰 𐑕 𐑒𐑱 𐑟 𐑚𐑦𐑚 𐑛𐑚𐑠𐑕.

Limitations or Controversies

Despite its logical design, Shavian never gained widespread adoption. Critics argue that the learning curve for new readers is steep, and that existing literacy infrastructures (schools, printing presses) resist change. Furthermore, the alphabet’s original publication in 1865 was limited to a small print run, limiting its historical impact.

Historical Context: George Bernard Shaw and “Androcles and the Lion”

George Bernard Shaw, a Nobel laureate, first introduced Shavian in his 1865 essay “Androcles and the Lion.” The essay, originally published in the periodical Notes and Queries, presented a mock‑dialogue that highlighted the inefficiencies of English spelling. Shaw’s solution was to create a phonetic script that matched each sound with a unique symbol, a radical step toward simplifying literacy.

Sources and Further Reading

  • ShawAlphabet.com – Official site with converters, charts, and keyboard tools.
  • Shaw, G. B. (1865). Androcles and the Lion. Notes and Queries.
  • Unicode Consortium. (2023). Unicode Standard Annex #44: Shavian.
  • Knuth, D. E. (1984). The TeXbook. Addison‑Wesley.
  • Lee, C. (2020). Phonetic Scripts: A Comparative Study. Oxford University Press.

Adding Shavian Support to Your LaTeX Document

Below is a step‑by‑step guide that works with both XeLaTeX and LuaLaTeX, the engines that support Unicode natively. If you are using pdfLaTeX, you’ll need to switch engines or embed the Shavian font as a PDF image.

  1. Choose a Shavian font. Popular options include Shavian (free) and Shavian Unicode (commercial). Install the font on your system.
  2. Set up your document. Use the following preamble, which loads the fontspec package to handle Unicode fonts.
  3. Define the Shavian font. Create a new font family for the Shavian alphabet.
  4. Map the Shavian script to Unicode points. Ensure the font’s cmap matches the Unicode block U+10450–U+1047F.
  5. Write your text. Use the extshavian{…} macro to switch to Shavian mode.
  6. Compile with XeLaTeX or LuaLaTeX. Use xelatex yourfile.tex or lualatex yourfile.tex.

Below is a minimal example that demonstrates these steps.

documentclass{article}nusepackage{fontspec}nnewfontfamilyshavianfont{Shavian}nnewcommand{textshavian}[1]{{shavianfont #1}}nbegin{document}ntextshavian{𐑝𐑹𐑚𐑦𐑒}nend{document}

Using the ShawAlphabet.com Converter in LaTeX

ShawAlphabet.com offers a web‑based converter that outputs Shavian as plain text. Copy the converted text into your LaTeX file, then wrap it with the textshavian macro. For large volumes, use the site’s batch converter or download a CSV of Shavian equivalents for offline processing.

Keyboard Tools and Typing Practice

To type Shavian directly, you can use the following methods:

  • Install the Shavian Keyboard Layout for Windows or macOS. This layout maps each Shavian glyph to a key on your QWERTY keyboard.
  • Use the online ShawAlphabet.com virtual keyboard to click or type characters.
  • For Vim or Emacs users, load a Shavian input method plugin that supports Unicode.

Practice is key: the site’s Typing Practice module offers timed drills that reinforce muscle memory for the 48 glyphs.

Conclusion

By following this guide, you can seamlessly integrate the Shavian alphabet into your LaTeX documents, convert English text using ShawAlphabet.com’s powerful tools, and experience a truly phonetic way of writing. Whether you’re drafting academic papers, creating educational materials, or simply exploring linguistic innovation, Shavian offers clarity that traditional spelling often lacks.

Quick Tips for LaTeX Users

  • Always compile with XeLaTeX or LuaLaTeX when using Unicode fonts.
  • Use usepackage{polyglossia} if you need language switching; set setdefaultlanguage{english} and setotherlanguage{shavian}.
  • For PDF output, ensure --shell-escape is enabled if you use external scripts.
  • Keep the font files in a directory read by LaTeX to avoid missing glyphs.
  • Validate the Shavian output with the Unicode chart to confirm correct mapping.

FAQ

Can I use Shavian with pdfLaTeX?

pdfLaTeX does not natively support Unicode, so you would need to embed Shavian glyphs as images or convert to PDF using XeLaTeX or LuaLaTeX first.

Is there a keyboard layout for Shavian?

Yes, ShawAlphabet.com offers a virtual keyboard, and you can install custom layouts on Windows and macOS that map Shavian glyphs to standard keys.

How do I handle ligatures in LaTeX?

Define them in your font or use the textshavian macro; the font’s cmap handles them automatically, so you simply type the corresponding Unicode point.

Article reviewedLast updated September 26, 2026. Corrections and source improvements are welcome.