Debian Codegraph @

texmf-dist/source/latex/fundus-suetterlin/suetterl.dtx

raw
1 \def\filename{suetterl.dtx}
2 \def\fileversion{1.11}
3 \def\filedate{2026/05/19}
4 \let\docversion=\fileversion
5 \let\docdate=\filedate
6 % \iffalse meta-comment
7 %
8 % Copyright 1996-2026 by Gerd Neugebauer
9 %
10 % This file may be distributed and/or modified under the conditions
11 % of the LaTeX Project Public License, either version 1.3c of this
12 % license or (at your option) any later version. The latest version
13 % of this license is in http://www.latex-project.org/lppl.txt and
14 % version 1.3c or later is part of all distributions of LaTeX
15 % version 2005/12/01 or later.
16 %
17 % This file has the LPPL maintenance status "maintained".
18 %
19 % \fi
20 % \iffalse
21 %%% File: suetterl.dtx
22 %% Copyright (C) 1996-2026 Gerd Neugebauer
23 %% all rights reserved.
24 %<package>\NeedsTeXFormat{LaTeX2e}
25 %<package>\ProvidesPackage{suetterl}[2026/05/19 v1.11 LaTeX package suetterl]
26 %<*driver>
27 \documentclass{ltxdoc}
28 \usepackage{german}
29 \selectlanguage{\english}
30 \usepackage{suetterl}
31 \GetFileInfo{suetterl.sty}
32 \RecordChanges
33 \PageIndex
34 \begin{document}
35 \title{The \texttt{suetterl} package\thanks
36 {This file has version number \fileversion, dated \filedate.}\\
37 for use with \LaTeX2e}
38 \author{Gerd Neugebauer\\Brechklinge 10\\69256 Mauer\\Germany\\
39 \texttt{[email protected]}}
40 \date{\docdate}
41 \maketitle
42 \DocInput{suetterl.dtx}
43 \end{document}
44 %</driver>
45 % \fi
46 %
47 % \CheckSum{18}
48 %% \CharacterTable
49 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
50 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
51 %% Digits \0\1\2\3\4\5\6\7\8\9
52 %% Exclamation \! Double quote \" Hash (number) \#
53 %% Dollar \$ Percent \% Ampersand \&
54 %% Acute accent \' Left paren \( Right paren \)
55 %% Asterisk \* Plus \+ Comma \,
56 %% Minus \- Point \. Solidus \/
57 %% Colon \: Semicolon \; Less than \<
58 %% Equals \= Greater than \> Question mark \?
59 %% Commercial at \@ Left bracket \[ Backslash \\
60 %% Right bracket \] Circumflex \^ Underscore \_
61 %% Grave accent \` Left brace \{ Vertical bar \|
62 %% Right brace \} Tilde \~}
63 %
64 % \changes{v1.0}{1996/03/03}{First release}
65 % \changes{v1.1}{1996/05/19}{Macro textsuetterlin added.}
66 % \changes{v1.2}{1996/07/18}{Some commands made robust.}
67 % \changes{v1.9}{2012/04/10}{License clarified and address updated.}
68 % \changes{v1.10}{2026/05/18}{Address updated.}
69 % \changes{v1.11}{2026/05/19}{Minor fixes for CTAN.}
70 %
71 %
72 % \section{Introduction}
73 %
74 % The font suetterl provides a suetterlin kind of font. This fonts
75 % are the handwritten variants of the gothic fonts. The sutterl and
76 % the schwell font have been written by B.~Ludewig. They can be
77 % found on the CTAN in the directory
78 % \texttt{tex-archive/fonts/gothic/sueterl}.
79 % This package provides means to use these fonts.
80 %
81 % This package has been created for an article in "`Die \TeX nische
82 % Kom\"odie"' \cite{dtk96.1:neugebauer:krakelig}. This article
83 % contains some more details on the package and its use.
84 %
85 %
86 % \section{Usage}
87 %
88 % This file can be used as a package by placing its name
89 % in the argument of |\usepackage|. Afterwards the font family suetterl
90 % is defined. This could also have been done by providing a
91 % font definition file.
92 %
93 % The font definitions in this file scale down the original fonts
94 % to let \LaTeX{} choose the right baselineskip.
95 %
96 % \DescribeMacro{\suetterlin}
97 % The command |\suetterlin| changes the current font family to
98 % suetterl and the encoding to T1. Usually this should be used in a
99 % \TeX{} group only since the macros |\s| is redefined as well.
100 %
101 % The following example on the left produces the result on the
102 % right.\smallskip
103 %
104 % \noindent
105 % \begin{minipage}{.55\textwidth}\small\tt\raggedright
106 % \verb|{\suetterlin| Lorem ipsum dolor sit amet, consectetur
107 % adipisicing elit, sed do eiusmod tempor incididunt ut labore et
108 % dolore magna aliqua. \verb|\textit{|Ut enim ad minim veniam,
109 % qui\verb|\s{}| nostrud exercitation ullamco laboris nisi ut
110 % aliquip ex ea commodo consequat.\verb|}| Duis aute irure dolor in
111 % reprehenderit in voluptate velit esse cillum dolore eu fugiat
112 % nulla pariatur. Excepteur sint occaecat cupidatat non proident,
113 % sunt in culpa qui officia deserunt mollit anim id est
114 % laborum. \verb|}| \end{minipage}\hfill
115 % \begin{minipage}{.40\textwidth}
116 % \suetterlin Lorem ipsum dolor sit amet, consectetur adipisicing
117 % elit, sed do eiusmod tempor incididunt ut labore et dolore magna
118 % aliqua. \textit{Ut enim ad minim veniam, qui\s{} nostrud exercitation
119 % ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis
120 % aute irure dolor in reprehenderit in voluptate velit esse cillum
121 % dolore eu fugiat nulla pariatur.} Excepteur sint occaecat
122 % cupidatat non proident, sunt in culpa qui officia deserunt mollit
123 % anim id est laborum. \end{minipage}
124 % \medskip
125 %
126 % \DescribeMacro{\textsuetterlin}
127 % The command |\textsuetterlin| typesets its argument in the
128 % suetterl font.
129 %
130 % The following example on the left produces the result on the
131 % right.\smallskip
132 %
133 % \noindent
134 % \begin{minipage}{.55\textwidth}\small\tt\raggedright
135 % \verb|\textsuetterlin{| Lorem ipsum dolor sit\verb|}| amet,
136 % consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
137 % labore et dolore magna aliqua.\end{minipage}\hfill
138 % \begin{minipage}{.40\textwidth}
139 % \textsuetterlin{Lorem ipsum dolor sit} amet, consectetur adipisicing
140 % elit, sed do eiusmod tempor incididunt ut labore et dolore magna
141 % aliqua. \end{minipage}
142 % \medskip
143 %
144 % \begin{minipage}{.55\textwidth}\small\tt
145 % \verb|\textcsuetterlin{Mainzer Stra\ss e}|\end{minipage}\hfill
146 % \begin{minipage}{.40\textwidth}
147 % \textsuetterlin{Mainzer Stra\ss e} \end{minipage}
148 % \medskip
149 %
150 %
151 % \begin{thebibliography}{1}
152 %
153 % \bibitem{dtk96.1:neugebauer:krakelig}
154 % Gerd Neugebauer.
155 % \newblock Von {\glqq}krakelig{\grqq} bis {\glqq}wie gemalt{\grqq}.
156 % \newblock {\em {D}ie {\TeX}nische {K}om{\"o}die}, 1/96:25--42, June 1996.
157 %
158 % \end{thebibliography}
159 %
160 % \StopEventually{}
161 %
162 %
163 % \section{Implementation}
164 %
165 %
166 % First we declare a new font family for the suetterl font.
167 % \begin{macrocode}
168 \DeclareFontFamily{T1}{suetterl}{}
169 % \end{macrocode}
170 %
171 % This font is only available in the normal shape. Here we can get the
172 % desired font by (silently) scaling the only present suett15. The
173 % appropriate factor seems to be magstep 2 = 1.44.
174 %
175 % \begin{macrocode}
176 \DeclareFontShape{T1}{suetterl}{m}{n}{<->s*[0.8]suet14}{}
177 \DeclareFontShape{T1}{suetterl}{m}{it}{<->s*[0.7]schwell}{}
178 % \end{macrocode}
179 %
180 % Now we define font changing command.
181 %
182 % \begin{macro}{\sutterlin}
183 % The macro |\suetterlin| selects the suetterl family. The macro |\s|
184 % is used for the short s.
185 % \begin{macrocode}
186 \DeclareRobustCommand\suetterlin{%
187 \renewcommand\s{\symbol{28}}%
188 \fontfamily{suetterl}%
189 \fontencoding{T1}%
190 \selectfont}
191 % \end{macrocode}
192 % \end{macro}
193 %
194 % \begin{macro}{\s}
195 % Usually |\s| produces a normal s.
196 % \begin{macrocode}
197 \newcommand\s{s}
198 % \end{macrocode}
199 % \end{macro}
200 %
201 % \begin{macro}{\textsutterlin}
202 % The macro |\textsuetterlin| typesets is argument in the sutterl font.
203 % \begin{macrocode}
204 \newcommand\textsuetterlin[1]{\begingroup\suetterlin #1\endgroup}
205 % \end{macrocode}
206 % \end{macro}
207 %
208 % \PrintChanges
209 % \PrintIndex
210 %
211 % \Finale
212 %
213 \endinput