| 1 |
% \iffalse^^A meta-comment |
| 2 |
% ====================================================================== |
| 3 |
% scrlogo.dtx |
| 4 |
% Copyright (c) Markus Kohm, 2002-2023 |
| 5 |
% |
| 6 |
% This work may be distributed and/or modified under the conditions of |
| 7 |
% the LaTeX Project Public License, version 1.3c of the license. |
| 8 |
% The latest version of this license is in |
| 9 |
% http://www.latex-project.org/lppl.txt |
| 10 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 11 |
% version 2005/12/01 or later and of this work. |
| 12 |
% |
| 13 |
% This work has the LPPL maintenance status "author-maintained". |
| 14 |
% |
| 15 |
% The Current Maintainer and author of this work is Markus Kohm. |
| 16 |
% |
| 17 |
% This work consists of the file `scrlogo.dtx' at least. |
| 18 |
% ====================================================================== |
| 19 |
% |
| 20 |
%%% From File: $Id: scrlogo.dtx 4032 2023-04-17 09:45:11Z kohm $ |
| 21 |
%<*dtx> |
| 22 |
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi |
| 23 |
\begingroup |
| 24 |
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} |
| 25 |
\filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ |
| 26 |
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} |
| 27 |
\filerevision$Revision: 2631 $ |
| 28 |
\edef\reserved@a{% |
| 29 |
\noexpand\endgroup |
| 30 |
\noexpand\ProvidesFile{scrlogo.dtx}% |
| 31 |
[\filedate\space\filerevision\space |
| 32 |
KOMA-Script package source |
| 33 |
}% |
| 34 |
\reserved@a |
| 35 |
%</dtx> |
| 36 |
%<*dtx|package> |
| 37 |
%<package>\ProvidesPackage{scrlogo}[% |
| 38 |
%!KOMAScriptVersion |
| 39 |
%<package> package |
| 40 |
(logo)] |
| 41 |
%</dtx|package> |
| 42 |
%<*dtx> |
| 43 |
\ifx\documentclass\undefined |
| 44 |
\ifx\ifTopLevel\undefined |
| 45 |
\input scrdocstrip.tex |
| 46 |
\@@input scrkernel-version.dtx |
| 47 |
\@@input scrstrip.inc |
| 48 |
\KOMAdefVariable{COPYRIGHTFROM}{2002} |
| 49 |
\generate{\usepreamble\defaultpreamble |
| 50 |
\file{scrlogo.sty}{\from{scrlogo.dtx}{package,logo}}% |
| 51 |
} |
| 52 |
\@@input scrstrop.inc |
| 53 |
\fi |
| 54 |
\else |
| 55 |
\let\endbatchfile\relax |
| 56 |
\fi |
| 57 |
\endbatchfile |
| 58 |
% Make it possible to load scrlogo.dtx directly. |
| 59 |
\csname nodriver\endcsname |
| 60 |
\expandafter\let\csname endnodriver\endcsname\relax |
| 61 |
\documentclass[USenglish]{koma-script-source-doc} |
| 62 |
\usepackage{babel} |
| 63 |
\setcounter{StandardModuleDepth}{2} |
| 64 |
\begin{document} |
| 65 |
\DocInput{scrlogo.dtx} |
| 66 |
\end{document} |
| 67 |
\endnodriver |
| 68 |
%</dtx> |
| 69 |
% \fi^^A meta-comment |
| 70 |
% |
| 71 |
% \changes{v3.36}{2022/02/02}{switch over from \cls*{scrdoc} to |
| 72 |
% \cls*{koma-script-source-doc}} |
| 73 |
% \changes{v3.36}{2022/02/02}{whole implementation documentation in English} |
| 74 |
% \changes{v3.40}{2023/04/17}{guide names changed} |
| 75 |
% |
| 76 |
% \GetFileInfo{scrlogo.dtx} |
| 77 |
% \title{\href{https://komascript.de}{\KOMAScript} \partname\ \file{\filename}} |
| 78 |
% \author{\href{mailto:[email protected]}{Markus Kohm}} |
| 79 |
% \date{Revision \fileversion{} of \filedate} |
| 80 |
% \maketitle |
| 81 |
% \begin{abstract} |
| 82 |
% This part of \KOMAScript{} provides not only the \cs{KOMAScript} command |
| 83 |
% for all \KOMAScript{} classes and packages, but also a standalone package |
| 84 |
% to provide the logo. |
| 85 |
% \end{abstract} |
| 86 |
% \tableofcontents |
| 87 |
% |
| 88 |
% \section{User Manual} |
| 89 |
% |
| 90 |
% You can find the user manual of \pkg*{scrlogo} in the \KOMAScript{} manual, |
| 91 |
% either the German \file{scrguide-de.pdf} or the English |
| 92 |
% \file{scrguide-en.pdf}. |
| 93 |
% |
| 94 |
% \MaybeStop{\PrintIndex} |
| 95 |
% |
| 96 |
% \section{Implementation of the \KOMAScript{} Logo} |
| 97 |
% |
| 98 |
% \begin{command}{\KOMAScript} |
| 99 |
% \changes{v3.36}{2022/02/02}{respect \pkg{hyperref}} |
| 100 |
% \changes{v3.36}{2022/02/02}{other packages and classes load \pkg*{scrlogo} |
| 101 |
% instead of defining the command itself} |
| 102 |
% From version~3.36, the letter spacing of the upper case letters is not used |
| 103 |
% in PDF context of package \pkg{hyperref}. |
| 104 |
% \begin{macrocode} |
| 105 |
%<*logo> |
| 106 |
%<forcedefine>\IfFileExists{scrlogo.sty}{% |
| 107 |
%<!package>\RequirePackage{scrlogo} |
| 108 |
%<forcedefine>}{}% |
| 109 |
%<*(package|forcedefine)&logo> |
| 110 |
\@ifundefined{KOMAScript}{% |
| 111 |
\DeclareRobustCommand*{\KOMAScript}{\textsf{K\kern.05em O\kern.05em% |
| 112 |
M\kern.05em A\kern.1em-\kern.1em Script}}% |
| 113 |
\@ifundefined{pdfstringdefPreHook}{% |
| 114 |
\def |
| 115 |
}{% |
| 116 |
\g@addto@macro |
| 117 |
}% |
| 118 |
\pdfstringdefPreHook{% |
| 119 |
\def\KOMAScript{KOMA-Script}% |
| 120 |
\expandafter\def\csname KOMAScript \endcsname{KOMA-Script}% |
| 121 |
}% |
| 122 |
}{} |
| 123 |
%</(package|forcedefine)&logo> |
| 124 |
%</logo> |
| 125 |
% \end{macrocode} |
| 126 |
% \end{command} |
| 127 |
% |
| 128 |
% \Finale |
| 129 |
% \PrintChanges |
| 130 |
% |
| 131 |
\endinput |
| 132 |
% Local Variables: |
| 133 |
% mode: doctex |
| 134 |
% ispell-local-dictionary: "en_US" |
| 135 |
% eval: (flyspell-mode 1) |
| 136 |
% TeX-master: t |
| 137 |
% TeX-engine: luatex-dev |
| 138 |
% eval: (setcar (or (cl-member "Index" (setq-local TeX-command-list (copy-alist TeX-command-list)) :key #'car :test #'string-equal) (setq-local TeX-command-list (cons nil TeX-command-list))) '("Index" "mkindex %s" TeX-run-index nil t :help "makeindex for dtx")) |
| 139 |
% End: |
| 140 |
|