diff options
author | Karl Berry <karl@freefriends.org> | 2011-04-24 22:29:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-04-24 22:29:30 +0000 |
commit | 44be666bc642b9aae3ffddbc08218de133a69e73 (patch) | |
tree | 5905e1b30a828f5dacc93beb356225ea2b2c6523 /Master/texmf-dist/tex/latex/dtk/dtklogos.sty | |
parent | 089785cb4ee0c092da5eacfc340112a789098db8 (diff) |
dtk (24apr11)
git-svn-id: svn://tug.org/texlive/trunk@22190 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dtk/dtklogos.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/dtk/dtklogos.sty | 110 |
1 files changed, 17 insertions, 93 deletions
diff --git a/Master/texmf-dist/tex/latex/dtk/dtklogos.sty b/Master/texmf-dist/tex/latex/dtk/dtklogos.sty index c70889132b6..2850c73e76b 100644 --- a/Master/texmf-dist/tex/latex/dtk/dtklogos.sty +++ b/Master/texmf-dist/tex/latex/dtk/dtklogos.sty @@ -2,22 +2,11 @@ %% This is file `dtklogos.sty', %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% $Id: dtklogos.sty 14 2010-10-16 17:27:23Z herbert $ +%% $Id: dtklogos.sty 17 2011-04-23 10:42:34Z herbert $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Purpose: %% LaTeX Class and Styles for ``Die TeXnische Komoedie''. %% -%% Documentation: -%% The documentation can be generated from the original file -%% dtk.dtx with the doc style/package. LaTeX the file dtk.tex to -%% get the full documentation in DVI format. -%% -%% -%% Author: Gerd Neugebauer -%% Mainzer Str. 8 -%% 56321 Rhens (Germany) -%% Mail: gene@gerd-neugebauer.de -%% %% Copyright (C) 1995-1996 Gerd Neugebauer %% Copyright (C) 1997-2011 DANTE, Deutschsprachige %% Anwendervereinigung TeX e.V. @@ -34,32 +23,13 @@ %% a new version which provides enhanced functionality. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\def\fileversion{1.9b} -\def\filedate{2010/06/19} +\def\fileversion{2.1} +\def\filedate{2011/04/10} \let\docversion=\fileversion \let\docdate=\filedate -\ProvidesPackage{dtklogos}[\filedate\space\fileversion\space gene] -\newif\ifOldLaTeX -\@ifundefined{documentclass}{\OldLaTeXtrue}{\OldLaTeXfalse} -\ifOldLaTeX -\expandafter\ifx\csname selectfont\endcsname\relax - \newcommand{\logo@sm@ller}{\relax - \expandafter\logo@sm@ll@r\expandafter{\the\fam}} - \newcommand{\logo@sm@ll@r}[1]{% - % \ifx\@currsize\tiny \tiny\fi - \ifx\@currsize\scriptsize \tiny\fi - \ifx\@currsize\footnotesize \tiny\fi - \ifx\@currsize\small \scriptsize\fi - \ifx\@currsize\normalsize \scriptsize\fi - \ifx\@currsize\large \footnotesize\fi - \ifx\@currsize\Large \normalsize\fi - \ifx\@currsize\LARGE \large\fi - \ifx\@currsize\huge \Large\fi - \ifx\@currsize\Huge \huge\fi - \ifcase#1\relax\rm\or\mit\or\cal\or\tenex % not sure about the tenex - \or\it\or\sl\or\bf\or\tt\or\sf\or\sc\or\ly\fi} -\else - \newcommand{\logo@sm@ller}{% +\ProvidesPackage{dtklogos}[\filedate\space\fileversion\space (hv)] +% +\newcommand{\logo@sm@ller}{% \relax\@nomath\logo@smaller \ifx\f@size\@vpt \else \ifx\f@size\@vipt \fontsize\@vpt{6pt}\fi @@ -76,9 +46,7 @@ \selectfont \fi} \@ifundefined{fontsize}{\let\fontsize=\size}{} -\fi \newcommand{\logo@smaller}{\protect\logo@sm@ller} -\fi \RequirePackage{graphicx} % Tip aus OS X TeX von Peter Dyballa vom 25.9.08 fuer die @@ -108,6 +76,7 @@ \setbox0=\hbox{E}\dimen0=\ht0\advance\dimen0by\dp0\relax \reflectbox{E}% }\kern\xxt@kern@eL\LaTeX}} +% \TeX@logo@spacing{-0.15em}{-0.125em}{0.5ex}{-0.36em}{-0.12em}{-0.13em} %\providecommand{\XeTeX}{X\kern-.1em\lower.5ex\hbox{\reflectbox{E}}\kern-.15em\TeX} %\providecommand{\XeLaTeX}{X\kern-.1em\lower.5ex\hbox{\reflectbox{E}}\kern-.15em\LaTeX} @@ -122,13 +91,7 @@ \kern-.125em$\cal S$-\TeX} \providecommand\AMSTEX{\AmSTeX} \providecommand\AMSTeX{\AmSTeX} -\ifOldLaTeX - \newcommand{\BibTeX}{\protect\pBibTeX} - \newcommand{\pBibTeX}{B\kern-.05em% - \hbox{\logo@smaller I\kern-.025emB}\kern-.08em% - \-\TeX} -\else - \DeclareRobustCommand{\BibTeX}{B\kern-.05em% +\DeclareRobustCommand{\BibTeX}{B\kern-.05em% \hbox{$\m@th$% %% force math size calculations \csname S@\f@size\endcsname \fontsize\sf@size\z@ @@ -136,7 +99,6 @@ I\kern-.025emB}% \kern-.08em% \-\TeX} -\fi \providecommand\BIBTeX{\BibTeX} \providecommand\BIBTEX{\BibTeX} \providecommand\LAMSTeX{% @@ -149,10 +111,6 @@ \providecommand\LaTeX{% L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em\TeX} \providecommand\LATEX{\LaTeX} -\ifOldLaTeX - \newcommand\LaTeXTeX{(\kern-.15emL\kern-.36em\raise.3ex\hbox{\sc - a}\kern-.3em)\kern-.15em\TeX}% -\else \DeclareRobustCommand{\LaTeXTeX}{(\kern-.15emL\kern-.36em% {\sbox\z@ T% \vbox to\ht0{\hbox{$\m@th$% @@ -164,26 +122,8 @@ }\kern-.2em)% \kern-.15em% \TeX} -\fi -\ifOldLaTeX - \ifx\manfnt\@undefined - \font\manfnt=logo10 - \fi - \ifx\manfntsl\@undefined - \font\manfntsl=logosl10 - \fi - \newcommand\MF{\begingroup - \ifdim\fontdimen1\font>0pt \let\manfnt=\manfntsl \fi - {\manfnt META}\-{\manfnt FONT}\endgroup\spacefactor1000 }% - \newcommand\MFun{\begingroup - \ifdim\fontdimen1\font>0pt \let\manfnt=\manfntsl \fi - {\manfnt META}\-{\manfnt FUN}\endgroup\spacefactor1000 }% - \newcommand\MP{\begingroup - \ifdim\fontdimen1\font>0pt \let\manfnt=\manfntsl \fi - {\manfnt META}\-{\manfnt POST}\endgroup\spacefactor1000 }% -\else - \DeclareFontFamily{U}{logo}{} - \DeclareFontShape{U}{logo}{m}{n}{ +\DeclareFontFamily{U}{logo}{} +\DeclareFontShape{U}{logo}{m}{n}{ <8> <9> gen * logo <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> logo10 }{} @@ -205,17 +145,18 @@ \DeclareFontShape{U}{logo}{bx}{n}{ <-> ssub * logo/b/n }{} - \DeclareRobustCommand\logofamily{% +\DeclareRobustCommand\logofamily{% \not@math@alphabet\logofamily\relax \fontencoding{U}\fontfamily{logo}\selectfont} - \DeclareTextFontCommand{\textlogo}{\logofamily} - \newcommand\MF{\mbox{\textlogo{META}}\-\mbox{\textlogo{FONT}}\@} - \newcommand\MFun{\mbox{\textlogo{META}}\-\mbox{\textlogo{FUN}}\@} - \newcommand\MP{\mbox{\textlogo{META}}\-\mbox{\textlogo{POST}}\@} -\fi +\DeclareTextFontCommand{\textlogo}{\logofamily} +\newcommand\MF{\mbox{\textlogo{META}}\-\mbox{\textlogo{FONT}}\@} +\newcommand\MFun{\mbox{\textlogo{META}}\-\mbox{\textlogo{FUN}}\@} +\newcommand\MP{\mbox{\textlogo{META}}\-\mbox{\textlogo{POST}}\@} \providecommand\METAFONT{\MF} \providecommand\METAFUN{\MFun} \providecommand\METAPOST{\MP} +\providecommand\LuaTeX{Lua\TeX} + \providecommand\SLITEX{% S\kern-.065em L\kern-.18em\raise.32ex\hbox{i}% \kern-.03em\TeX} @@ -284,23 +225,6 @@ \TeX@logo@spacing{-0.15em}{-0.15em}{0.5ex}{-0.36em}{-0.15em}{-0.1em} -\DeclareRobustCommand\XeTeX{% - \leavevmode - \smash{% - X\lower\xxt@lower@e - \hbox{\kern\xxt@kern@eX - \setbox0=\hbox{E}\dimen0=\ht0\advance\dimen0by\dp0% - \raise\dimen0\hbox{\rotatebox{180}{\box0}}% - }\kern\xxt@kern@Te\TeX}}% - -\DeclareRobustCommand\XeLaTeX{% - \leavevmode - \smash{% - X\lower\xxt@lower@e - \hbox{\kern\xxt@kern@eX - \setbox0=\hbox{E}\dimen0=\ht0\advance\dimen0by\dp0\relax - \raise\dimen0\hbox{\rotatebox{180}{\box0}}% - }\kern\xxt@kern@eL\LaTeX}} % % \endinput |