-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcoolS.dtx
57 lines (57 loc) · 1.35 KB
/
coolS.dtx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
% \def\fileversion{0.1}
% \def\filedate{\today}
% \def\docdate{\today}
%
% \MakeShortVerb{\|}
%
% \title{The $\coolS$ from Middle School}
% \author{Tyler Michael Smith}
% \date{\filedate}
% \maketitle
%
% \section{Introduction}
% This package makes this symbol $\coolS$ in math mode with the command |\coolS|.
% Test: $\coolS^\coolS_\coolS$
%
%
% \section{Code}
%
%\begin{macrocode}
%<*driver>
\documentclass[12pt,a4paper]{ltxdoc}
\usepackage{a4,ifthen,mflogo,coolS,amssymb,amsmath}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\EnableCrossrefs
\RecordChanges
\CodelineIndex
\makeindex
\begin{document}
\DocInput{coolS.dtx}
\end{document}
%</driver>
%\end{macrocode}
%
%\begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{coolS}
[2018/03/07 v0.1 (c) Tyler Michael Smith <[email protected]>]
% \end{macrocode}
%
%\section{More code}
%
%\begin{macrocode}
\DeclareFontFamily{U}{coolSs}{}
\DeclareFontShape{U}{coolSs}{m}{n}{ <-> coolS }{}
\DeclareSymbolFont{COOLS}{U}{coolSs}{m}{n}
\DeclareMathSymbol{\coolS}{\mathalpha}{COOLS}{'101}
%\end{macrocode}
%
% \begin{macrocode}
\endinput
% \end{macrocode}
% \Finale
%
\section{Acknowledgements}
% Adapted from the skull package at \url{https://ctan.org/pkg/skull} by Henrik Christian Grove.
% Makefile adapted from the package at \url{https://github.com/elmar-peise/drawmatrix} by Elmar Peise.