Template:LaTeX/doc: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === {{tl|LaTeX}} is a CSS implementation of the LaTeX logo, which...")
 
mNo edit summary
 
Line 29: Line 29:
[[Category:Typing-aid templates]]
[[Category:Typing-aid templates]]


[[ru:Шаблон:LaTeX]]
</includeonly>
</includeonly>

Latest revision as of 01:31, 13 December 2012

Usage[edit source]

{{LaTeX}} is a CSS implementation of the LaTeX logo, which 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}

Test: template (double size) LaTeX, real logo LaTeX logo.svg

See also[edit source]