summaryrefslogtreecommitdiff
path: root/fonts/frimurer/frimurer.sty
blob: b47533400162a5dd206588572990262e5376ccb7 (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
% This file is part of frimurer.

% frimurer 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.

% frimurer 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 frimurer. If not, see <https://www.gnu.org/licenses/>.
    
\ProvidesPackage{frimurer}[2020/10/18 LaTeX package for support for
the 'frimurer' font. Copyright Palle Jorgensen. Version 1.]

\DeclareFontFamily{T1}{frimurer}{\hyphenchar\font-1}
\DeclareFontShape{T1}{frimurer}{m}{n}{<-> frimurer}{}

\newcommand*\font@frimurer{\usefont{T1}{frimurer}{m}{n}}
\newenvironment{frimurer}{%
  \par
  \raggedright%
  \font@frimurer%
  \@noligs
  \language\l@nohyphenation
  \parindent\z@}{\par}
\newcommand*{\textfrimurer}[1]{\mbox{\font@frimurer #1}}