Debian Codegraph @

texmf-dist/source/latex/base/ltlogos.dtx

raw
1 % \iffalse meta-comment
2 %
3 % Copyright (C) 1993-2025
4 % The LaTeX Project and any individual authors listed elsewhere
5 % in this file.
6 %
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
9 %
10 % It may be distributed and/or modified under the
11 % conditions of the LaTeX Project Public License, either version 1.3c
12 % of this license or (at your option) any later version.
13 % The latest version of this license is in
14 % https://www.latex-project.org/lppl.txt
15 % and version 1.3c or later is part of all distributions of LaTeX
16 % version 2008 or later.
17 %
18 % This file has the LPPL maintenance status "maintained".
19 %
20 % The list of all files belonging to the LaTeX base distribution is
21 % given in the file `manifest.txt'. See also `legal.txt' for additional
22 % information.
23 %
24 % The list of derived (unpacked) files belonging to the distribution
25 % and covered by LPPL is defined by the unpacking scripts (with
26 % extension .ins) which are part of the distribution.
27 %
28 % \fi
29 %
30 % \iffalse
31 %%% From File: ltlogos.dtx
32 %<*driver>
33 % \fi
34 \ProvidesFile{ltlogos.dtx}
35 [2019/08/27 v1.1j LaTeX Kernel (Logos)]
36 % \iffalse
37 \documentclass{ltxdoc}
38 \GetFileInfo{ltlogos.dtx}
39 \title{\filename}
40 \date{\filedate}
41 \author{%
42 Johannes Braams\and
43 David Carlisle\and
44 Alan Jeffrey\and
45 Leslie Lamport\and
46 Frank Mittelbach\and
47 Chris Rowley\and
48 Rainer Sch\"opf}
49 \begin{document}
50 \MaintainedByLaTeXTeam{latex}
51 \maketitle
52 \DocInput{\filename}
53 \end{document}
54 %</driver>
55 % \fi
56 %
57 %
58 % \changes{v1.1a}{1994/05/16}{(ASAJ) Split from ltinit.dtx.}
59 % \changes{v1.1b}{1994/05/18}{(ASAJ) Added the \TeX{} logo.}
60 % \changes{v1.1b}{1994/05/18}{(ASAJ) Made the \LaTeXe{} logo use the
61 % text font `2' rather than the math font `2'.}
62 % \changes{v1.1i}{1998/08/17}{(RmS) Minor documentation fixes.}
63 %
64 % \section{Logos}
65 %
66 % Various logos are defined here.
67 %
68 % \MaybeStop{}
69 %
70 % \begin{macro}{\TeX}
71 % The \TeX{} logo, adjusted so that a full stop after the logo
72 % counts as ending a sentence.
73 % \changes{v1.1j}{2019/08/27}{Make \cs{TeX} command robust}
74 % \begin{macrocode}
75 %<*2ekernel>
76 \DeclareRobustCommand\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@}
77 % \end{macrocode}
78 % \end{macro}
79 %
80 % \begin{macro}{\LaTeX}
81 % The \LaTeX{} logo.
82 % \changes{LaTeX2e}{1993/11/24}{Macro changed}
83 % \changes{v1.0o}{1994/05/11}{Use \cs{DeclareProtectedCommand}. ASAJ.}
84 % \changes{v1.1d}{1994/06/01}
85 % {Add \cs{m@th} to force math size calculations}
86 % \changes{v1.1e}{1994/07/20}{Save a few tokens}
87 %
88 % \changes{v1.1h}{1997/10/08}{Simplify macro (force loading of
89 % suitable math fonts once).}
90 % \begin{macrocode}
91 \DeclareRobustCommand{\LaTeX}{L\kern-.36em%
92 {\sbox\z@ T%
93 \vbox to\ht\z@{\hbox{\check@mathfonts
94 \fontsize\sf@size\z@
95 \math@fontsfalse\selectfont
96 A}%
97 \vss}%
98 }%
99 \kern-.15em%
100 \TeX}
101 % \end{macrocode}
102 % \end{macro}
103 %
104 % \changes{v1.1c}{1994/05/26}{Remove \cs{SLiTeX} logo}
105 %
106 % \begin{macro}{\LaTeXe}
107 % The \LaTeXe\ logo as proposed by A-W designers.
108 % \changes{LaTeX2e}{1993/11/22}{Macro added}
109 % \changes{LaTeX2e}{1993/12/16}{Extended logo by DPC}
110 % \changes{v1.0o}{1994/05/11}{Use \cs{DeclareProtectedCommand}. ASAJ.}
111 % \changes{v1.1e}{1994/07/20}{Save a few tokens}
112 % \changes{v1.1f}{1997/05/29}{Added \cs{m@th} so that the \LaTeXe{}
113 % logo works with non-zero values of \cs{mathsurround}.}
114 % \begin{macrocode}
115 \DeclareRobustCommand{\LaTeXe}{\mbox{\m@th
116 \if b\expandafter\@car\f@series\@nil\boldmath\fi
117 \LaTeX\kern.15em2$_{\textstyle\varepsilon}$}}
118 %</2ekernel>
119 % \end{macrocode}
120 % \end{macro}
121 %
122 % \Finale
123 %
124 \endinput