All Projects → numinit → wizpen

numinit / wizpen

Licence: LPPL-1.3c License
A font based on the Pigpen cipher, originally used to help liberate Wraxnia from the Fangs in a D&D campaign. Works in LaTeX.

Programming Languages

TeX
3793 projects
ruby
36898 projects - #4 most used programming language
lua
6591 projects
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to wizpen

tikz favorites
collection of favorite TikZ graphics
Stars: ✭ 62 (+313.33%)
Mutual labels:  latex
vimtips
📖 Tips for Vim
Stars: ✭ 31 (+106.67%)
Mutual labels:  latex
cv
My curriculum vitae
Stars: ✭ 24 (+60%)
Mutual labels:  latex
Learn-to-program-with-C AR
ترجمة لدرس تعلّم البرمجة بلغة السي الخاص بموقع OpenClassrooms
Stars: ✭ 51 (+240%)
Mutual labels:  latex
ThinkRubyBuild
Forked from https://github.com/AllenDowney/ThinkPython2
Stars: ✭ 27 (+80%)
Mutual labels:  latex
alfred-latex-symbols-workflow
🔎 Alfred 3-4 workflow to search for latex symbol commands
Stars: ✭ 33 (+120%)
Mutual labels:  latex
LinearOne
LinearOne is a prototype theorem prover for first-order (multiplicative, intuitionistic) linear logic.
Stars: ✭ 16 (+6.67%)
Mutual labels:  latex
latex-emoji
Emoji support in (Lua)LaTeX
Stars: ✭ 32 (+113.33%)
Mutual labels:  latex
elte-ik-pti-bsc-zarovizsga
ELTE IK - Programtervező Informatikus BSc Záróvizsga tételek kidolgozása
Stars: ✭ 26 (+73.33%)
Mutual labels:  latex
latex2unicode
Convert LaTeX markup to Unicode (in Scala and Java)
Stars: ✭ 28 (+86.67%)
Mutual labels:  latex
tex2py
converts LaTeX into a Python parse tree, allowing navigation using the default or a custom hierarchy
Stars: ✭ 70 (+366.67%)
Mutual labels:  latex
pdfcount
An R Shiny App to Count Words in a PDF Document
Stars: ✭ 26 (+73.33%)
Mutual labels:  latex
ua-beamer
A LaTeX beamer theme for the University of Antwerp
Stars: ✭ 70 (+366.67%)
Mutual labels:  latex
letter-2-reviewers-LaTeX-template
A LaTeX template to write response letters for journal revisions
Stars: ✭ 32 (+113.33%)
Mutual labels:  latex
node-latex
🧾 A utility for running LaTeX subprocesses in Node.
Stars: ✭ 31 (+106.67%)
Mutual labels:  latex
latex-action
GitHub Action to compile LaTeX documents
Stars: ✭ 123 (+720%)
Mutual labels:  latex
pape-rs
A Latex template to PDF generation web service written in Rust.
Stars: ✭ 69 (+360%)
Mutual labels:  latex
cmake-cheatsheet
CMake Cheat Sheet
Stars: ✭ 37 (+146.67%)
Mutual labels:  latex
ntuthesis
台大碩博士論文模板 (R Package)
Stars: ✭ 14 (-6.67%)
Mutual labels:  latex
bonaparticle
The LaTeX magazine class that doesn’t get in your way.
Stars: ✭ 20 (+33.33%)
Mutual labels:  latex

🧙 wizpen

The Time of the Dark, (C) 1982 Barbara Hambly. This cover art was great, let me know if I need to replace it.

A Pigpen cipher-inspired font, originally created for a D&D wizard spellbook. Unlike Pigpen, characters in this font can share vertical and horizontal strokes while still being readable.

Copying a spell into your spellbook involves reproducing the basic form of the spell, then deciphering the unique system of notation used by the wizard who wrote it (5E PHB, p. 114)

Based on the LaTeX pigpen font, originally (C) 2008 Oliver Corff. This is version 1.2.0. Unlike the original, it is generated entirely with a Ruby script.

You can use a package like microtype to add spacing between characters. Both "expanded" and "compact" examples are shown below. Regardless of which you use, one of my design goals was to allow the font to easily be read once you know the basic scheme.

key

Note that uppercase A-R are rendered with two dots to mark the center of each letter, and lowercase a-r are rendered with one dot. S-Z and s-z are rendered with no dots, because they would get in the way of the diagonals.

If you don't like the dots, just comment out the dotted and double_dotted lines in the generator script (see "Modifying the font" section below).

Also, 1-9 is just the negative space on A-J, and 0 is the negative space on Z.

Using the provided TTF or OTF

Just download it and install it. It's that easy.

Shoutouts

  • DMs and brewers at Battlemage Brewery in San Diego, California
  • dc858 folks (especially ice)
  • Distractions, Inc for peer review and feedback

Build prereqs

For just building LaTeX documents:

  • metafont (for rendering the font in TeX)
  • lualatex (for syntax highlighting important terms in D&D spells)
  • ruby (for building the metafont definition)

For building the font in TTF and OTF formats:

  • mf2pt1
  • fontforge

Building

LaTeX files:

  • make: Build everything
  • make clean: Clean everything
  • make redo: Run make clean and make all
  • make spellbook or make spellbook-redo: Make the provided example spellbook.

TTF and OTF files:

  • make font: Build the font into TTF and OTF files. This will take a while.

Using the LaTeX metafont

Create a texmf folder like the one here (or just copy it) and export TEXMFHOME=mytexmf before running pdflatex.

An example document will look like this:

\documentclass{article}

\usepackage[top=0.125in,bottom=0.125in,left=0.125in,right=0.125in]{geometry}
\usepackage[letterspace=150]{microtype}
\usepackage{setspace}

\usepackage{wizpen}

\begin{document}

{
    % Uncomment the \lsstyle to add a little spacing between symbols
    \Large \wizpenfont \noindent %\lsstyle
    ABCDEFGHI \enspace JKLMNOPQR \enspace STUV \enspace WXYZ \\ \\
}

\end{document}

Example

Check spellbook.tex for spoilers on what all these actually say.

example

Modifying the font

script/wizpen.rb is how the font gets generated (check the makefile). If you want to modify it, edit that file, and the font will be regenerated at the next make.

That code is pretty messy, but produces the whole font from an algorithm.

License

Licensed under the LaTeX Project Public License: See LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].