summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-03 21:12:57 +0000
committerKarl Berry <karl@freefriends.org>2024-02-03 21:12:57 +0000
commit352352708da1be2f1a53871d9735f5cab852dee8 (patch)
tree39ef0455b72e812d8209382fcbca6410ae666357 /Master/texmf-dist/doc/fonts
parent1f71e6c5077e471f6646c7cc174cdf05262930a1 (diff)
pigpen (3feb24)
git-svn-id: svn://tug.org/texlive/trunk@69687 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts')
-rw-r--r--Master/texmf-dist/doc/fonts/pigpen/README.md17
-rw-r--r--Master/texmf-dist/doc/fonts/pigpen/pigpendoc.pdfbin0 -> 125628 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/pigpen/pigpendoc.tex108
3 files changed, 125 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/pigpen/README.md b/Master/texmf-dist/doc/fonts/pigpen/README.md
new file mode 100644
index 00000000000..ab86a943faf
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/pigpen/README.md
@@ -0,0 +1,17 @@
+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.
+
+License: LPPL 1.3c https://www.latex-project.org/lppl.txt
+
+Oliver Corff, December 2008
+
+Map file updated, David Carlisle 2024-02-03
+
+
+
diff --git a/Master/texmf-dist/doc/fonts/pigpen/pigpendoc.pdf b/Master/texmf-dist/doc/fonts/pigpen/pigpendoc.pdf
new file mode 100644
index 00000000000..66310138485
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/pigpen/pigpendoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/pigpen/pigpendoc.tex b/Master/texmf-dist/doc/fonts/pigpen/pigpendoc.tex
new file mode 100644
index 00000000000..cf334bd2d36
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/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.3}
+\author{Oliver Corff}
+\date{February, 2024}
+\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}