summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fundus/calligra
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/fundus/calligra
Initial commit
Diffstat (limited to 'macros/latex/contrib/fundus/calligra')
-rw-r--r--macros/latex/contrib/fundus/calligra/calligra.dtx206
-rw-r--r--macros/latex/contrib/fundus/calligra/calligra.ins61
-rw-r--r--macros/latex/contrib/fundus/calligra/calligra.pdfbin0 -> 200577 bytes
3 files changed, 267 insertions, 0 deletions
diff --git a/macros/latex/contrib/fundus/calligra/calligra.dtx b/macros/latex/contrib/fundus/calligra/calligra.dtx
new file mode 100644
index 0000000000..79a4ccc0c8
--- /dev/null
+++ b/macros/latex/contrib/fundus/calligra/calligra.dtx
@@ -0,0 +1,206 @@
+\def\filename{calligra.dtx}
+\def\fileversion{1.9}
+\def\filedate{2012/04/10}
+\let\docversion=\fileversion
+\let\docdate=\filedate
+% \iffalse meta-comment
+%
+% Copyright 1996-2012 by Gerd Neugebauer
+%
+% This file may be distributed and/or modified under the conditions
+% of the LaTeX Project Public License, either version 1.3c of this
+% license or (at your option) any later version. The latest version
+% of this license is in http://www.latex-project.org/lppl.txt and
+% version 1.3c or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This file has the LPPL maintenance status "maintained".
+%
+% \fi
+% \iffalse
+%%% File: calligra.dtx
+%% Copyright (C) 1996-2012 Gerd Neugebauer
+%% all rights reserved.
+%<package>\NeedsTeXFormat{LaTeX2e}
+%<package>\ProvidesPackage{calligra}[2012/04/10 v1.9 LaTeX package calligra]
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{german}
+\selectlanguage{\english}
+\usepackage{calligra}
+\GetFileInfo{calligra.sty}
+\RecordChanges
+\PageIndex
+\begin{document}
+\title{The \texttt{calligra} package\thanks
+ {This file has version number \fileversion, dated \filedate.}\\
+ for use with \LaTeX2e}
+\author{Gerd Neugebauer\\Im Lerchelsb\"ohl 5\\64521 Gro\ss-Gerau\\Germany\\
+ \texttt{gene@gerd-neugebauer.de}}
+\date{\docdate}
+\maketitle
+\DocInput{calligra.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{22}
+%% \CharacterTable
+%% {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
+%% 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
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%
+% \changes{v1.0}{1996/03/03}{First release.}
+% \changes{v1.1}{1996//0519}{Macro textcalligra added.}
+% \changes{v1.2}{1996/07/18}{Some commands made robust.}
+% \changes{v1.9}{2012/04/10}{License clarified and address updated.}
+%
+%
+% \section{Introduction}
+%
+% The font calligra provides a calligraphic font. Calligra can be
+% found on the CTAN in the
+% directory \texttt{tex-archive/fonts/calligra}. This package
+% provides means to use this font in \LaTeXe.
+%
+% This package has been created for an article in "`Die \TeX nische
+% Kom\"odie"' \cite{dtk96.1:neugebauer:krakelig}. This article
+% contains some more details on the package and its use.
+%
+%
+% \section{Usage}
+%
+% This file can be used as a package by placing its name in the
+% argument of |\usepackage|. Afterwards the font family calligra is
+% defined. This could also have been done by providing a font
+% definition file.
+%
+% The font definitions in this file scale down the original fonts
+% to allow \LaTeX{} to choose the right baselineskip.
+%
+%
+% \DescribeMacro{\calligra} The command |\calligra| changes the
+% current font family to calligra and the encoding to T1. Usually
+% this should be used in a \TeX{} group only since the macros |\ss|
+% is redefined as well.
+%
+% The following example on the left produces the result on the
+% right.\smallskip
+%
+% \noindent
+% \begin{minipage}{.55\textwidth}\small\tt\raggedright
+% \verb|{\calligra| Lorem ipsum dolor sit amet, consectetur
+% adipisicing elit, sed do eiusmod tempor incididunt ut labore et
+% dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
+% exercitation ullamco laboris nisi ut aliquip ex ea commodo
+% consequat. Duis aute irure dolor in reprehenderit in voluptate
+% velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
+% occaecat cupidatat non proident, sunt in culpa qui officia
+% deserunt mollit anim id est
+% laborum. \verb|}| \end{minipage}\hfill
+% \begin{minipage}{.40\textwidth}
+% \calligra Lorem ipsum dolor sit amet, consectetur adipisicing
+% elit, sed do eiusmod tempor incididunt ut labore et dolore magna
+% aliqua. Ut enim ad minim veniam, quis nostrud exercitation
+% ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis
+% aute irure dolor in reprehenderit in voluptate velit esse cillum
+% dolore eu fugiat nulla pariatur. Excepteur sint occaecat
+% cupidatat non proident, sunt in culpa qui officia deserunt mollit
+% anim id est laborum. \end{minipage}
+% \medskip
+%
+% \DescribeMacro{\textcalligra} The command |\textcalligra|
+% typesets its argument with the calligra font.
+%
+% The following example on the left produces the result on the
+% right.\smallskip
+%
+% \noindent
+% \begin{minipage}{.55\textwidth}\small\tt\raggedright
+% \verb|\textcalligra{| Lorem ipsum dolor sit\verb|}| amet,
+% consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
+% labore et dolore magna aliqua.\end{minipage}\hfill
+% \begin{minipage}{.40\textwidth}
+% \textcalligra{Lorem ipsum dolor sit} amet, consectetur adipisicing
+% elit, sed do eiusmod tempor incididunt ut labore et dolore magna
+% aliqua. \end{minipage}
+% \medskip
+%
+% \begin{minipage}{.55\textwidth}\small\tt
+% \verb|\textcalligra{Mainzer Stra\ss e}|\end{minipage}\hfill
+% \begin{minipage}{.40\textwidth}
+% \textcalligra{Mainzer Stra\ss e} \end{minipage}
+% \medskip
+%
+%
+% \begin{thebibliography}{1}
+%
+% \bibitem{dtk96.1:neugebauer:krakelig}
+% Gerd Neugebauer.
+% \newblock Von {\glqq}krakelig{\grqq} bis {\glqq}wie gemalt{\grqq}.
+% \newblock {\em {D}ie {\TeX}nische {K}om{\"o}die}, 1/96:25--42, June 1996.
+%
+% \end{thebibliography}
+%
+% \StopEventually{}
+%
+%
+% \section{Implementation}
+%
+%
+% First we declare a new font family for the calligra font.
+% \begin{macrocode}
+\DeclareFontFamily{T1}{calligra}{}
+% \end{macrocode}
+%
+% This font is only available in the normal shape. Here we can get the
+% desired font by (silently) scaling the only present calligra15. The
+% appropriate factor seems to be magstep 2 = 1.44.
+%
+% \begin{macrocode}
+\DeclareFontShape{T1}{calligra}{m}{n}{<->s*[1.44]callig15}{}
+% \end{macrocode}
+%
+% Now we define the font changing command.
+%
+% \begin{macro}{\calligra}
+% The macro |\calligra| selects the calligra family. Since the kerning
+% of the \ss{} is terribly wrong we correct it within the macro |\ss|.
+% \begin{macrocode}
+\DeclareRobustCommand\calligra{%
+ \renewcommand\ss{\symbol{255}\kern-.22em}%
+ \fontfamily{calligra}%
+ \fontencoding{T1}%
+ \selectfont}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\textcalligra}
+% The macro |\textcalligra| typesets its argument with the calligra font.
+% \begin{macrocode}
+\newcommand\textcalligra[1]{\begingroup
+ \renewcommand\ss{\symbol{255}\kern-.22em}%
+ \fontfamily{calligra}%
+ \fontencoding{T1}%
+ \selectfont #1\endgroup}
+% \end{macrocode}
+% \end{macro}
+%
+% \PrintChanges
+% \PrintIndex
+%
+% \Finale
+%
+\endinput
diff --git a/macros/latex/contrib/fundus/calligra/calligra.ins b/macros/latex/contrib/fundus/calligra/calligra.ins
new file mode 100644
index 0000000000..356edb870a
--- /dev/null
+++ b/macros/latex/contrib/fundus/calligra/calligra.ins
@@ -0,0 +1,61 @@
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from the doc files in this package when run through
+%% LaTeX or TeX.
+%%
+%% Copyright 1996-2012 by Gerd Neugebauer
+%%
+%% This file may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3c of this
+%% license or (at your option) any later version. The latest version
+%% of this license is in http://www.latex-project.org/lppl.txt and
+%% version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This file has the LPPL maintenance status "maintained".
+%%
+%%
+%% --------------- start of docstrip commands ------------------
+%%
+\def\batchfile{calligra.ins}
+\input docstrip.tex
+\preamble
+
+This is a generated file.
+
+Copyright 1996-2012 by Gerd Neugebauer
+
+ This file may be distributed and/or modified under the conditions
+ of the LaTeX Project Public License, either version 1.3c of this
+ license or (at your option) any later version. The latest version
+ of this license is in http://www.latex-project.org/lppl.txt and
+ version 1.3c or later is part of all distributions of LaTeX
+ version 2005/12/01 or later.
+
+This file has the LPPL maintenance status "maintained".
+
+\endpreamble
+\def\filedate{2012/04/10}
+\def\batchfile{calligra.dtx}
+\input docstrip.tex
+
+\keepsilent
+
+\Msg{*** Generating .sty file ***}
+
+\generateFile{calligra.sty}{t}{\from{calligra.dtx}{package}}
+
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space calligra.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the files ending with}
+\Msg{* `.dtx' through LaTeX2e.}
+\Msg{*}
+\Msg{* Happy TeXing}
+\Msg{***********************************************************}
+
+\endinput
diff --git a/macros/latex/contrib/fundus/calligra/calligra.pdf b/macros/latex/contrib/fundus/calligra/calligra.pdf
new file mode 100644
index 0000000000..e927b17e1e
--- /dev/null
+++ b/macros/latex/contrib/fundus/calligra/calligra.pdf
Binary files differ