diff options
author | Karl Berry <karl@freefriends.org> | 2008-12-09 17:48:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-12-09 17:48:38 +0000 |
commit | 8cb97eed37c55304b594dbb55b3ad549586800f1 (patch) | |
tree | e416c4c2da16a9a7224c268b16c05c90529e786e /Master/texmf-dist/doc/latex/pigpen | |
parent | b169b506291af730dc8bfc50d65284c8898ff6b6 (diff) |
new font pigpen 0.2 (7dec08)
git-svn-id: svn://tug.org/texlive/trunk@11565 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pigpen')
-rw-r--r-- | Master/texmf-dist/doc/latex/pigpen/README | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pigpen/pigpendoc.pdf | bin | 0 -> 54679 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pigpen/pigpendoc.tex | 108 |
3 files changed, 118 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pigpen/README b/Master/texmf-dist/doc/latex/pigpen/README new file mode 100644 index 00000000000..c7a466c045a --- /dev/null +++ b/Master/texmf-dist/doc/latex/pigpen/README @@ -0,0 +1,10 @@ +The Pigpen Cipher is a simple substitution cipher originally used by Freemasons. +It is also known as masonic cipher, and was in fairly wide use in the 18th +century, for writing personal notes as well as complete books. It does not +provide any meaningful protection against cryptanalysis, though. Today +it is still used by schoolchildren. + +The pigpen cipher package provides the font and the necessary wrappers +(style file, etc.) in order to write Pigpen ciphers. + +Oliver Corff, December 2008 diff --git a/Master/texmf-dist/doc/latex/pigpen/pigpendoc.pdf b/Master/texmf-dist/doc/latex/pigpen/pigpendoc.pdf Binary files differnew file mode 100644 index 00000000000..faa2ffa4e2e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pigpen/pigpendoc.pdf diff --git a/Master/texmf-dist/doc/latex/pigpen/pigpendoc.tex b/Master/texmf-dist/doc/latex/pigpen/pigpendoc.tex new file mode 100644 index 00000000000..4da7d93ffa4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pigpen/pigpendoc.tex @@ -0,0 +1,108 @@ +\documentclass[a4paper]{article} +\usepackage{pigpen} + +\newcommand\exa{\nopagebreak \begin{flushleft}\smallskip \nopagebreak + \begin{minipage}[t]{6cm}\sloppy} +\newcommand\exb{\end{minipage}\kern 1cm\begin{minipage}[t]{8cm}\sloppy } +\newcommand\exc{\end{minipage}\kern -3cm \smallskip\end{flushleft}} + +\title{{\pigpenfont PIG PEN FOR TEX}\\[0.5cm] + The Pigpen Cipher for \TeX\ 0.2} +\author{Oliver Corff} +\date{December 07, 2008} +\begin{document} +\maketitle + + +\section{The Pigpen cipher} + +The \TeX\ Pigpen cipher font is a small hack\footnote{% + The \TeX\ Pigpen cipher was inspired by a discussion on + \texttt{comp.text.tex} in December 2008.} +to type the so-called masonic cipher, or Freemason's cipher, +which is a simple substitution cipher based on a grid. +A 3x3 grid is filled with the letters A to I and J to R. +\begin{center} +\begin{minipage}[t]{3cm}% +\begin{tabular}{c|c|c} + A&B&C\\ + \hline + D&E&F\\ + \hline + G&H&I\\ +\end{tabular}\end{minipage}% +\begin{minipage}[t]{3cm}% +\begin{tabular}{c|c|c} + J.&K.&L.\\ + \hline + M.&N.&O.\\ + \hline + P.&Q.&R.\\ +\end{tabular}\end{minipage} +\begin{minipage}[t]{3cm}% +\begin{tabular}{ccc} + &S& \\ + T&$\times$&U\\ + &V& \\ +\end{tabular}\end{minipage}% +\begin{minipage}[t]{3cm}% +\begin{tabular}{ccc} + &W.& \\ + X.&$\times$&Y.\\ + &Z.&\\ +\end{tabular}\end{minipage} +\end{center} + +\begin{center} +{\pigpenfont +\begin{minipage}[t]{3cm}% +\begin{tabular}{ccc} + A&B&C\\ + D&E&F\\ + G&H&I\\ +\end{tabular}\end{minipage}% +\begin{minipage}[t]{3cm}% +\begin{tabular}{ccc} + J&K&L\\ + M&N&O\\ + P&Q&R\\ +\end{tabular}\end{minipage} +\begin{minipage}[t]{3cm}% +\begin{tabular}{ccc} + &S& \\ + T&$\times$&U\\ + &V& \\ +\end{tabular}\end{minipage}% +\begin{minipage}[t]{3cm}% +\begin{tabular}{ccc} + &W&\\ + X&$\times$&Y\\ + &Z&\\ +\end{tabular}\end{minipage}} +\end{center} + +The letters in this grid are simply replaced by the inner edges +of their box within the grid. The subset of letters J to R is marked +by a dot. + +The letters S, T, U and V are arranged in the four quadrants of an X, +the letters W, X, Y and Z follow this arragement but are marked with +a dot. Again, the letters are substituted by the inner edges of their +respective corner. + +\section{Usage} + +In the preamble of a \LaTeXe\ document, the package is declared by +saying \verb|\usepackage{pigpen}|. Options are not available. +There is only one user command, \verb|\pigpenfont|: +\exa + {\pigpenfont LUCAS} +\exb + \begin{verbatim} + {\pigpenfont LUCAS} + \end{verbatim} +\exc + + + +\end{document} |