summaryrefslogtreecommitdiff
path: root/fonts/plimsoll/plimsoll.sty
blob: 59ba70cbcfec7419196624e5e51dfe50ec6a9d37 (plain)
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
% This file is part of the LaTeX plimsoll package.

% The LaTeX plimsoll package is free software: you can redistribute it
% and/or modify it under the terms of the GNU General Public License
% as published by the Free Software Foundation, either version 3 of
% the License, or (at your option) any later version.

% The LaTeX plimsoll package is distributed in the hope that it will
% be useful, but WITHOUT ANY WARRANTY; without even the implied
% warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
% the GNU General Public License for more details.

% You should have received a copy of the GNU General Public License
% along with the LaTeX plimsoll package. If not, see
% <https://www.gnu.org/licenses/>.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{plimsoll}[2020/10/09 Plimsoll symbol LaTeX Support,
Palle Jorgensen. Version 1.]
\DeclareFontFamily{U}{plimsoll}{}
\DeclareFontShape{U}{plimsoll}{m}{n}{<->plimsoll}{}
\DeclareFontShape{U}{plimsoll}{m}{s}{<->plimsoll-sans}{}
\DeclareSymbolFont{plimsoll}{U}{plimsoll}{m}{n}
\DeclareSymbolFont{plimsoll-sans}{U}{plimsoll}{m}{s}
\DeclareMathSymbol\plimsollroman{0}{plimsoll}{"001}
\DeclareMathSymbol\plimsollsans{0}{plimsoll-sans}{"001}
\let\plimsoll\plimsollroman
\def\stst{^{\plimsoll}}

\DeclareOption{sans}{\let\plimsoll\plimsollsans}
\DeclareOption{circ}{\def\stst{^{\circ}}}
\ProcessOptions*

\endinput