This site is supported by donations to The OEIS Foundation.
Template:LaTeX2e
From OeisWiki
The following documentation is located at Template:LaTeX2e/doc. [<Edit> Template:LaTeX2e/doc]
[⧼Purge⧽ Template:LaTeX2e]
[⧼Purge⧽ Template:LaTeX2e]
LaTeX2ε
The {{LaTeX2e}} graphic template is a HTML/CSS implementation of the LaTeX2ε logo. (See File:LaTeX2e logo.svg in Wikipedia.)
Contents
Usage
- {{LaTeX2e}} (to get default 100% scaling factor, i.e. text size)
or
- {{LaTeX2e|scaling percentage (without the % sign) as real number}}
where the absolute value only is considered.
Examples
Examples with valid parameters:
Code Result {{LaTeX2e|0}} LaTeX2ε {{LaTeX2e|25}} LaTeX2ε {{LaTeX2e|50}} LaTeX2ε {{LaTeX2e}} LaTeX2ε {{LaTeX2e|100}} LaTeX2ε {{LaTeX2e|200}} LaTeX2ε {{LaTeX2e|-200}} LaTeX2ε {{LaTeX2e|300}} LaTeX2ε
{{LaTeX2e|400}} LaTeX2ε
Examples with invalid parameters:
Code Result {{LaTeX2e|200%}} LaTeX2e error: Argument must be a percentage as real number (without the % sign) {{LaTeX2e|100px}} LaTeX2e error: Argument must be a percentage as real number (without the % sign) {{LaTeX2e|2.0ex}} LaTeX2e error: Argument must be a percentage as real number (without the % sign)
Code
<noinclude>{{Documentation}}</noinclude><includeonly><!-- Typeset LaTeX2e -->{{ifnum| {{{1|100}}} <!-- % --> | <span class{{=}}"texhtml" style{{=}}"font-family: cmr10, LMRoman10-Regular, Times, serif; font-size: {{#expr: abs ( {{{1|100}}} ) }}%;"><!-- -->L<span style{{=}}"text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; margin-right: -0.15em;"><!-- -->a</span><!-- -->T<span style{{=}}"text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; margin-right: -0.125em;"><!-- -->e</span><!-- -->X<span style{{=}}"margin-left: 0.15em;"><!-- -->2</span><span style{{=}}"font-style: italic; vertical-align: -0.35ex;"><!-- -->{{Greek|varepsilon}}</span><!-- --></span> | {{error| LaTeX2e error: Argument must be a percentage as real number (without the % sign)}} }}</includeonly>
TeX code
It is defined in plain TeX by
\def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@} \DeclareRobustCommand{\LaTeX}{L\kern-.36em% {\sbox\z@ T% \vbox to\ht\z@{\hbox{\check@mathfonts \fontsize\sf@size\z@ \math@fontsfalse\selectfont A}% \vss}% }% \kern-.15em% \TeX} \DeclareRobustCommand{\LaTeXe}{\mbox{\m@th \if b\expandafter\@car\f@series\@nil\boldmath\fi \LaTeX\kern.15em2$_{\textstyle\varepsilon}$}}