Debian Codegraph @

texmf-dist/doc/fonts/symbats3/symbats3.tex

raw
1 \PassOptionsToPackage{svgnames}{xcolor}
2 \documentclass{article}
3 \usepackage{fontspec,symbats3,array,parskip,fancyhdr,setspace,relsize}
4 \usepackage[backend=biber,style=authoryear]{biblatex}
5 \usepackage{enumitem,xcolor,multicol,menukeys,sectsty,metalogo}
6 \usepackage[normalem]{ulem}
7 \usepackage{fancybox}
8 %\usepackage{draftwatermark}
9 %\SetWatermarkColor{LightSteelBlue}
10 \addbibresource{symbats3.bib}
11 \ULdepth=0pt
12 \makeatletter
13 \UL@height=.4pt
14 \renewcommand\uline{%
15 \bgroup\markoverwith{\textcolor{Red}{\rule[\ULdepth]{2pt}{\UL@height}}}\ULon}
16 \allsectionsfont{\sffamily}
17 \makeatother
18 \setmainfont{Alegreya}
19 \setsansfont{Alegreya Sans}
20 \setmonofont[Scale=MatchLowercase]{InconsolataN}
21 \usepackage[a4paper,margin=1cm,top=2cm,bottom=2cm]{geometry}
22 \def\,{,}
23 \def\<{\texttt{<}}
24 \def\|{\textbar}
25 \def\>{\texttt{>}}
26 \setcounter{tocdepth}{1}
27 \newcommand{\vstrut}{\vrule height1.2em width0pt}
28 \pagestyle{fancy}
29 \rhead{\scriptsize\leftmark}
30 \lhead{\scriptsize\rightmark}
31 \renewcommand{\abstractname}{Summary}
32 \usepackage{hyperref}
33 \hypersetup{colorlinks=true,linkcolor=Crimson,urlcolor=MediumBlue,citecolor=Green}
34 \AtBeginDocument{\raggedright\thispagestyle{empty}}
35 \begin{document}
36 \title{Symbats 3.0 font macros for \LaTeX}
37 \author{Peter Flynn\\Silmaril Consultants\\\texttt{[email protected]}}
38 \maketitle
39 \begin{center}
40 \begin{minipage}{.75\textwidth}
41 \begin{abstract}\onehalfspacing\raggedright\parindent1em\noindent
42 {S\smaller YMBATS} is a Neopagan dingbats typeface family that includes
43 various religious, astrological and other symbols, plus support for
44 Runic and Ogham script. The designer, Feòrag, has kindly released the
45 fonts under the SIL Open Font License Version 1.1 (26 February 2007).
46
47 This \LaTeX\ package (\textsf{symbats}) is released under the
48 \LaTeX\ Project Public License (LPPL), version 1.3c and is available
49 from the Comprehensive \TeX\ Archive Network (CTAN).
50
51 \subsubsection*{Current status}
52 \begin{enumerate}
53 \item Names for use as commands in \LaTeX\ have been specified for
54 all identified glyphs
55 \item Names for glyphs positioned for older versions of the fonts
56 have been prefixed `old' where this was identifiable;
57 \item Names for Runic are prefixed `RU' and names for Ogham are
58 prefixed `OG';
59 \item Names which otherwise appear to be duplicates have been
60 prefixed `dup'.
61 \end{enumerate}
62 \subsubsection*{Errors and omissions}
63 The maintainer of this package is Peter Flynn
64 \href{mailto:[email protected]}{\nolinkurl{[email protected]}}. Please
65 notify any errors or omissions, especially corrections to the naming,
66 to the maintainer.
67 \end{abstract}
68 \tableofcontents
69 \subsection*{History}
70 \begin{itemize}[nosep]
71 \item[0.9] 2022-06-21 Edits and corrections to descriptions
72 \item[0.8] 2022-01-18 Baseline adjustment option added,
73 documentation updated
74 \item[0.7] 2022-01-11 Last duplicated names fixed, .sty file created
75 manually
76 \item[0.6] 2022-01-08 Names edited and normalised, out for checking
77 \item[0.5] 2022-01-06 Got feedback, edited names as suggested,
78 created Makefile
79 \item[0.4] 2022-01-04 Sent name list to Feòrag for checking
80 \item[0.3] 2022-01-03 Created CSV and \LaTeX\ files
81 \item[0.2] 2022-01-02 First pass at constructing names for the
82 glyphs
83 \item[0.1] 2021-12-20 Downloaded font, extracted list of glyph
84 codepoints
85 \end{itemize}
86 \end{minipage}
87 \end{center}
88 \clearpage
89 \begin{multicols*}{2}
90 \large
91 \section{Symbats 3.0}
92 Symbats is a Neopagan dingbats font which has been developed by Feòrag
93 over a couple of decades, and recently re-released in an updated
94 version announced in a Twitter
95 post\footnote{\url{https://twitter.com/Feorag/status/1473048711601266690?s=20}}
96 on Winter Solstice Eve 2021.
97
98 The font comes in three weights, and has many additions and
99 redesigns. The files are distributed in OpenType format
100 (\texttt{.otf}) from the author's
101 website.\footnote{\url{https://www.feorag.com/freestuff/symbats.html}}\label{intro}
102
103 \subsection{\LaTeX\ version}
104
105 For the \LaTeX\ version, I have assigned control sequences
106 (\LaTeX\ commands) to all the glyphs. They are listed in this document
107 three times, in different orders for ease of reference:
108 \begin{enumerate}[nosep]
109 \item index order of Unicode codepoint;
110 \item alphabetical order of \LaTeX\ name;
111 \item alphabetical order of Unicode name.
112 \end{enumerate}
113
114 \subsection{Numeric character positions}\label{numpos}
115
116 For historical reasons, some of the glyphs are in the code positions
117 of ASCII printable characters (U+0021 to U+007E), where they were
118 originally placed for ease of typing in pre-Unicode days.
119
120 For compatibility with older versions, these glyphs are still in
121 place, but in cases where there are now real Unicode codepoints for the
122 exact characters by name, the glyph is duplicated at the new position
123 and the glyph at the original location has its name prefixed with
124 `\texttt{old}'. To the best of my understanding, the two glyphs are
125 identical in each case.
126
127 These duplications are noted in the following tables in the
128 \textbf{Dupes} column with a clickable link to the other position
129 (note that all these links go to the first listing, the index order of
130 codepoint, not to the listing in which you clicked).
131
132 For example, Earth (\oldearth) was originally at U+003C, but
133 Unicode now defines an actual codepoint named `Earth' at U+2641, so
134 the glyph is named in that location as \verb+\earth+ and the
135 original at U+003C is named \verb+\oldearth+; but they are identical.
136
137 \subsection{Naming}
138
139 In choosing the names, the methodology used was:
140
141 \begin{enumerate}
142
143 \item If the glyph has an established name (Sun, Earth, Pentagram)
144 that name is used in all lowercase, eg \verb+\earth+;
145
146 \item Glyphs with multiple variants (moon, new moon, waxing moon,
147 waning moon, etc) are named with the principal component first, eg
148 \verb+\moonnew+, \verb+\moonfull+, \verb+\moonwaningoutline+,
149 \verb+\moonwaningsolid+, etc.
150
151 These can best be compared in the Unicode name order listing in
152 \hyperref[unicodename]{\S\ref{unicodename}} starting on
153 p.\pageref{unicodename}.
154
155 \item Variations in \textbf{pentagrams} include:
156 \begin{itemize}[nosep]
157 \item \textbf{rough} (sketched lines);
158 \item \textbf{inverted} (abbreviated to \texttt{inv} to save typing);
159 \item \textbf{interlaced} (lines pass in front and behind others);
160 \item handedness of the interlacing (\textbf{Right} \textit{vs}
161 \textbf{Left}) using capital \texttt{R} and \texttt{L};
162 \item \textbf{circled} (ring around) \textit{vs} \textbf{solid}
163 (reversed out).
164 \end{itemize}
165 For the first three (rough, inverted, and interlaced) there is no
166 explicit opposite in the name, so the complement of
167 \verb+\pentagramroughcircled+ is just \verb+\pentagramcircled+:
168 there is no `smooth' in the name.
169
170 Similarly, upright symbols are not
171 named as such, only the inverted versions get an `\texttt{inv}' in
172 their name.
173
174 Where there is an obvious complement, this is linked in the
175 \textbf{Compl} column in a similar manner to the \textbf{Dupes}
176 method described in \hyperref[numpos]{\S\ref{numpos}}.
177
178 \item Variations in \textbf{sun} and \textbf{moon} include:
179 \begin{itemize}[nosep]
180 \item glyph in \textbf{outline} or \textbf{solid} (ie empty or filled);
181 \item sun — number of \textbf{spokes} [is this the correct term? rays?];
182 \item sun — \textbf{corona} (external ring);
183 \item sun — \textbf{hub} (centre ring);
184 \item moon — phase (new, first quarter, third quarter, full, waxing,
185 waning).
186 \end{itemize}
187 As with the pentagrams, the absence of an effect is signalled by
188 the absence of the term in the name.
189
190 \item Ogham letter names are prefixed with `\texttt{OG}';
191
192 \item Runic letter names are prefixed with `\texttt{RU}';
193
194 \item For any existing glyph for which a formal Unicode codepoint now
195 exists, the name in the original location is prefixed by
196 `\texttt{old}' as described in \hyperref[numpos]{\S\ref{numpos}};
197
198 \item A few names are not known, or not readily identifiable, or lost
199 to the mists of time. These have been guessed at, and I would
200 welcome suggestions.
201
202 \end{enumerate}
203
204 \section{Using the \textit{symbats3} package}
205
206 Download the fonts (see \S\ref{intro}) and install them into
207 your computer according to your operating system's instructions
208 (see instructions at the end of this page).
209
210 \subsection{Package installation}
211
212 \subsubsection{Normal (automated) installation}
213
214 If you are using (eg) MiK\TeX\ or another system with automated font
215 installation, just invoking the package in a document is enough to
216 make it install automatically from CTAN, eg:
217
218 \verb+\usepackage{symbats3}+
219
220 \subsubsection{Manual installation}
221
222 If you have to (or want to) install the package manually:
223
224 \begin{enumerate}
225
226 \item Download the package zip file from CTAN.
227
228 \item Unzip the file into your Personal \TeX\ Folder (see
229 page\thinspace\pageref{ptf})
230
231 \item Create the subdirectories \verb+tex/latex/symbats3/+ and
232 \verb+doc/latex/symbats3/+ within
233 your Personal \TeX\ Folder \verb+texmf+.
234
235 \item Move the two package files \verb+symbats3.sty+ and
236 \verb+symbats3.def+ into the new \LaTeX\ subdirectory
237 \verb+texmf/tex/latex/symbats3/+.
238
239 \item Move the remaining package files into the new documentation
240 subdirectory \verb+texmf/doc/latex/symbats3/+.
241
242 \item Add the line \verb+\usepackage{symbats3}+ to the Preamble of
243 your \LaTeX\ document.
244
245 \end{enumerate}
246
247 Note that the \textsf{supertramp} package \textsf{\smaller REQUIRES}
248 the \textsf{fontspec} package for Unicode and OpenType fonts
249 \parencite{fontspec}. The \textsf{supertramp} package \textsf{\smaller
250 CANNOT} be used with the old \textsf{fontenc} and \textsf{inputenc}
251 packages, which means you \textsf{\smaller MUST} use \XeLaTeX\ or
252 \LuaLaTeX\ as your processor, not \textit{pdflatex} or plain
253 \textit{latex}.
254
255 \subsection{Options}
256
257 There is only one option to this version of the package:
258 \verb+[descenders]+, which lowers the height of the glyphs to align with
259 the descenders of the surrounding text.
260
261 By default, the glyphs print with their baseline aligned with the
262 baseline of the surrounding text, eg
263
264 \uline{\hbox{\sffamily\huge Baseline: \pentagram}}
265
266 In many cases the glyph fits better if it is aligned instead with the
267 bottom of the descenders (q, y, p, j, g) of the surrounding text, eg
268
269 \uline{\hbox{\sffamily\huge Descenders (qypjg): \pentagram[-.5ex]}}
270
271 The package option \verb+[descenders]+ will automatically calculate the
272 depth of the descenders for the current font and lower the glyph to
273 align with them, eg
274
275 \verb+\usepackage[descenders]{symbats3}+
276
277 In addition, there is an optional argument to every glyph command to
278 specify a different height or depth, eg
279
280 \verb+\pentagraminvsolid[-.666ex]+
281
282 will produce
283
284 \uline{\hbox{\sffamily\huge Manual: \pentagraminvsolid[-.666ex]}}
285
286 \bigskip\hrule\bigskip
287
288 \section*{Note on required features}
289 In this document, the keywords
290 {\sffamily {\smaller MUST}}, {\sffamily {\smaller MUST NOT}}, {\sffamily {\smaller REQUIRED}},
291 {\sffamily {\smaller SHALL}}, {\sffamily {\smaller SHALL NOT}}, {\sffamily {\smaller SHOULD}},
292 {\sffamily {\smaller SHOULD NOT}},
293 {\sffamily {\smaller RECOMMENDED}},
294 {\sffamily {\smaller MAY}}, and
295 {\sffamily {\smaller OPTIONAL}} have a specific
296 meaning when shown in {\sffamily {\smaller THIS TYPESTYLE}}, and
297 {\sffamily {\smaller MUST}} be interpreted as described in
298 RFC 2119 \parencite{rfc2119}.
299 When shown in another typestyle, these words keep their conventional
300 contextual degree of meaning.\par
301
302 \printbibliography
303
304
305 \section*{Installing OpenType™ and TrueType™ fonts}
306
307 \begin{description}
308 \item[Linux:] Run the \textsf{Font Manager} app, click
309 \keys{\texttt{+}} and select the font files to install.
310 \item[Mac OS X] Run the \textsf{Font Book} app, click the
311 \textsf{Add} button in the Font Book toolbar, locate and select
312 a font, then click \textsf{Open}. Drag the font file to the Font
313 Book app icon in the Dock. Double-click the font file in the
314 Finder, then click \textsf{Install Font} in the dialog that
315 appears.
316 \item[Windows:] Run \textsf{Directory Explorer} (what used to be
317 called \textsf{My Computer}), right-click on
318 each font file where you downloaded it, and select \textsf{Install}.
319 \end{description}
320
321
322 \begingroup
323 \fboxsep1em
324 \begin{Sbox}
325 \begin{minipage}{.9\hsize}
326 \raggedright\sffamily
327 Your Personal \TeX\ Folder should normally be something like this;\\
328 create it now if it does not already exist:
329 \par\smallskip
330 \begin{description}[noitemsep,leftmargin=1em,font=\sffamily]
331 \item[Linux:] \verb+~/texmf+
332 \item[Mac OS\thinspace X:]
333 \verb+~/Library/texmf+
334 \item[Windows:] (\textsf{Win95–XP})
335 \verb+C:\texmf\tex\latex\symbats3+\\
336 (\textsf{Win 7–11})
337 \verb+Computer\System\Users\+\texttt{\itshape yourname}\verb+\texmf+
338 \\[2mm]
339 \textbf{Note} Windows MiK\TeX\ users (only) \textsf{\smaller
340 MUST} add their Personal \TeX\ Folder to their MiK\TeX\ root
341 when it is first created; and \textsf{\smaller MUST} refresh their
342 Font Name DataBase (FNDB) utility after installation: see the
343 link below. No such action is needed for other systems.
344 \end{description}
345 \par\smallskip
346 See the online documentation at
347 \url{http://latex.silmaril.ie/formattinginformation/personal.html}
348 for more information about your
349 Personal \TeX\ Folder and about how to use it in MiK\TeX\ \parencite{fi}.
350 \end{minipage}
351 \end{Sbox}
352 \fbox{\TheSbox}
353 \endgroup\label{ptf}
354
355 \end{multicols*}
356
357 \clearpage
358 \section{Symbats3 in index order of Unicode codepoint}\label{codepoint}
359 \input{codepoint}
360 \clearpage
361 \section{Symbats3 in alphabetical order of \LaTeX\ name}\label{latexname}
362 \input{latexname}
363 \clearpage
364 \section{Symbats3 in alphabetical order of Unicode name}\label{unicodename}
365 \input{unicodename}
366 %\clearpage
367 %\input{test}
368 \end{document}